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/Prefab
Danilo Aimini daeab4bbb1
Focus Mode | Switch instance referencing in Prefab Focus Handler to use more reliable Instance handles (#7304)
* Add function to Prefab Instances allowing to get a reference to a nested instance by alias.

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>

* Refactor the Prefab Focus Handler to use RootAliasPaths to store the reference to the currently focused prefab instance instead of the previous method (entityId of the prefab container).

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>

* Use existing FindNestedInstance method instead of adding new one.

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>

* Minor fixes to style and comments

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>

* Removing indexing in GetInstanceReferenceFromRootAliasPath, turn variables into constants where possible.

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>

* Modified the Prefab Focus test fixture to ensure the entity hierarchy is generated under the Prefab EOS, allowing tests to work with the new implementation of the focus mode handler.

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>

* Ensure RootAliasPath is iterated by reference in GetInstanceReferenceFromRootAliasPath

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
4 years ago
..
Benchmark Addressed issues found in/by the Spawnables benchmarks and unit tests. 4 years ago
PrefabFocus Focus Mode | Switch instance referencing in Prefab Focus Handler to use more reliable Instance handles (#7304) 4 years ago
Spawnable Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MockPrefabFileIOActionValidator.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MockPrefabFileIOActionValidator.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
PrefabAssetFixupTests.cpp Removing unused variable and fix typo (#6265) 4 years ago
PrefabDeleteTests.cpp Prefab/unit tests for deletion (#6034) 4 years ago
PrefabDuplicateTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
PrefabEntityAliasTests.cpp Code/Framework/AzToolsFramework 4 years ago
PrefabInstanceToTemplatePropagatorTests.cpp Fix Entity id consistency issue & refactor prefab workflows/tests (#4373) 4 years ago
PrefabInstantiateTests.cpp Fix Entity id consistency issue & refactor prefab workflows/tests (#4373) 4 years ago
PrefabLoadTemplateTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
PrefabScriptingTests.cpp Procedural Prefabs: Stable transform component ID (#6227) 4 years ago
PrefabTestComponent.cpp Update storage of Prefab Dom info to be best effort (#2862) 4 years ago
PrefabTestComponent.h Update storage of Prefab Dom info to be best effort (#2862) 4 years ago
PrefabTestData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
PrefabTestData.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
PrefabTestDataUtils.cpp Fix Entity id consistency issue & refactor prefab workflows/tests (#4373) 4 years ago
PrefabTestDataUtils.h Fix Entity id consistency issue & refactor prefab workflows/tests (#4373) 4 years ago
PrefabTestDomUtils.cpp Fix Entity id consistency issue & refactor prefab workflows/tests (#4373) 4 years ago
PrefabTestDomUtils.h Fix Entity id consistency issue & refactor prefab workflows/tests (#4373) 4 years ago
PrefabTestFixture.cpp Merge commit 'c5615f812ccc9d235747a1c5ba396ac2e9a23690' into daimini/gitflow_211206_o3de 4 years ago
PrefabTestFixture.h Merge commit 'c5615f812ccc9d235747a1c5ba396ac2e9a23690' into daimini/gitflow_211206_o3de 4 years ago
PrefabTestUndoFixture.cpp Fix Entity id consistency issue & refactor prefab workflows/tests (#4373) 4 years ago
PrefabTestUndoFixture.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
PrefabTestUtils.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
PrefabUndoLinkTests.cpp Split editor entity activation from PrefabSystemComponent (#6787) 4 years ago
PrefabUndoTests.cpp Split editor entity activation from PrefabSystemComponent (#6787) 4 years ago
PrefabUpdateInstancesTests.cpp Fix Entity id consistency issue & refactor prefab workflows/tests (#4373) 4 years ago
PrefabUpdateTemplateTests.cpp Fix Entity id consistency issue & refactor prefab workflows/tests (#4373) 4 years ago
PrefabUpdateWithPatchesTests.cpp Fix Entity id consistency issue & refactor prefab workflows/tests (#4373) 4 years ago
ProceduralPrefabAssetTests.cpp {lyn7065} adding ProcPrefab Prefab::Tempate flag method (#4765) 4 years ago
ProceduralPrefabSystemComponentTests.cpp [LYN-7064] Hot Loading of Procedural Prefabs (#4923) 4 years ago
SpawnableCreateTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SpawnableRemoveEditorInfoTestFixture.cpp Fixed existing tests for Prefab processing. 4 years ago
SpawnableRemoveEditorInfoTestFixture.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SpawnableRemoveEditorInfoTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SpawnableSortEntitiesTestFixture.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SpawnableSortEntitiesTestFixture.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SpawnableSortEntitiesTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago