You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Framework/AzToolsFramework/Tests
Danilo Aimini 80f62d0523
LYN-3708 | Optimize Prefab instance propagation to stabilize UX (#700)
* Add instanceToIgnore to calls leading to instances being added to the queue for propagation.

* Change PrefabUndoEntityUpdate to make it so that the instance triggering the prefab template change is not reloaded on propagation, since it will already be up to date due to the way we generated the patch to begin with.

* Add FindPrefabDomValue utility function for paths

* Expose the level root prefab template id in the Prefab EOS Interface

* Fix Instance Alias Path generation to work with the new FindValueInPrefabDom function

* Stop reloading ancestors on propagation, and fix instance reloading so that the level dom is used (and overrides are preserved)

* Remove commented out code, refactor FindPrefabDomValue for paths (was handling an edge case incorrectly, and it's not even triggered)

* Fix issue with PathView reference - with PathView already being a reference, this resulted in a copy and triggered a warning during automated review builds.

* Additional fix to the build warning, remove redundant error message

* Revert changes to Instance::GetAbsoluteInstanceAliasPath(), as they were impacting serialization.

* Remove the dependency to the level root prefab template in the propagation code, climb up the hierarchy instead. This allows tests to work despite not using the EOS properly.
Also use PrefabDomPaths to retrieve the instance dom from the root dom instead of iterating.

* Remove now unused PrefabDomUtils function, extend optimization to link updates.

* Trigger a full instance propagation to correctly refresh alias references.
This is an issue in the test because some operations are called from the backend API and will not trigger propagation properly. Tests will soon be rewritten to more properly represent frontend workflows.

* Fixes lingering issues with propagation:
- Restores code that fixes the selection if entityIds have changed;
- Fixes Do() function on link update. Prefab containers will propagate correctly while still being stable during editing.

* Remove GetRootPrefabInstanceTemplateId (no longer necessary after the code has been rewritten)

* Fix optimization code to account for instances being removed and propagation being run out of order in Create Prefab undo.

* Renamed variable, added comments for clarity.

* Restore asserts on instance not being found; Rename Do to Redo for clarity; Add comments.

* Fixed incomplete comment.
5 years ago
..
Entity LYN-2537 engine assets (#254) 5 years ago
Prefab LYN-3708 | Optimize Prefab instance propagation to stabilize UX (#700) 5 years ago
SliceStabilityTests remove most vector scale functions from transform bus 5 years ago
ToolsComponents fix aztoolsframework tests 5 years ago
UI fixing unit test 5 years ago
Viewport Add unit tests for the ViewportScreen ndc <-> worldspace utility functions (#1149) 5 years ago
Visibility Cleans up some debug code 5 years ago
ArchiveTests.cpp Integrating up through commit 90f050496 5 years ago
AssetFileInfoListComparison.cpp Integrating up through commit 90f050496 5 years ago
AssetSeedManager.cpp Renamed osx_gl to mac and es3 to android for cache folders (#949) 5 years ago
AssetSystemMocks.h Add new API to convert absolute source paths to relative paths. (#930) 5 years ago
AssetUtils.cpp Integrating latest 47acbe8 5 years ago
ComponentModeTestDoubles.cpp Initial commit 5 years ago
ComponentModeTestDoubles.h Initial commit 5 years ago
ComponentModeTestFixture.cpp Initial commit 5 years ago
ComponentModeTestFixture.h Initial commit 5 years ago
ComponentModeTests.cpp Formatting-only change - Update Manipulator and Viewport AzToolsFramework files (#1143) 5 years ago
EditorTransformComponentSelectionTests.cpp Integrating up through commit 90f050496 5 years ago
EditorVertexSelectionTests.cpp Initial commit 5 years ago
EntityIdQLabelTests.cpp Integrating up through commit 90f050496 5 years ago
EntityInspectorTests.cpp LYN-2537 engine assets (#254) 5 years ago
FingerprintingTests.cpp Add newlines to the end of all files 5 years ago
IntegerPrimtitiveTestConfig.h Initial commit 5 years ago
LogLines.cpp Initial commit 5 years ago
Main.cpp Integrating latest from github/staging 5 years ago
ManipulatorBoundsTests.cpp Initial commit 5 years ago
ManipulatorCoreTests.cpp Initial commit 5 years ago
ManipulatorViewTests.cpp Integrating up through commit 90f050496 5 years ago
PerforceComponentTests.cpp Initial commit 5 years ago
PlatformAddressedAssetCatalogTests.cpp Renamed osx_gl to mac and es3 to android for cache folders (#949) 5 years ago
PropertyIntCtrlCommonTests.cpp Initial commit 5 years ago
PropertyIntCtrlCommonTests.h Initial commit 5 years ago
PropertyIntSliderCtrlTests.cpp Initial commit 5 years ago
PropertyIntSpinCtrlTests.cpp Initial commit 5 years ago
PropertyTreeEditorTests.cpp Integrating up through commit 90f050496 5 years ago
PythonBindingTests.cpp Initial commit 5 years ago
QtWidgetLimitsTests.cpp Initial commit 5 years ago
Slice.cpp fix aztoolsframework tests 5 years ago
SliceUpgradeTests.cpp Integrating github/staging through commit ab87ed9 5 years ago
SliceUpgradeTestsData.h Initial commit 5 years ago
SpinBoxTests.cpp Initial commit 5 years ago
ThumbnailerTests.cpp ATOM-15370 Fix thumbnail scaling and sizing issues 5 years ago
UndoStack.cpp Add newlines to the end of all files 5 years ago
aztoolsframeworktests_files.cmake [LYN-2255] Updated Prefab Duplicate to select the newly duplicated entities. Also addressed some other PR feedback. 5 years ago