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
moraaar 9e0b8c564d
Fixed AzToolsFramework tests (#2887)
* Fixed AzToolsFramework unit tests.

Signed-off-by: moraaar <moraaar@amazon.com>

* Include missing header.

Signed-off-by: moraaar <moraaar@amazon.com>

* Using util's class to generate temp directory, instead of qt.

Signed-off-by: moraaar <moraaar@amazon.com>

* Added empty line

Signed-off-by: moraaar <moraaar@amazon.com>

* Fixed warning in MessageTest fixture that CacheProjectRootFolder was not set

Signed-off-by: moraaar <moraaar@amazon.com>

* Additional checks in CreateDefaultEditorEntity helper function.

Signed-off-by: moraaar <moraaar@amazon.com>

* Updated the AzToolsFrameworkTest logic to set the project cache path

The Project Cache Path and Project Path is set through the CommandLine functionality of the ComponentApplication.
This allows those Project Cache Path and Project Path to be set within the Settings Registry during the ComponentApplication constructor

Removed the explicitly calls to delete the temporary directory and fixed the ScopedTemporaryDirectory class to recursively delete the temporary directory

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Setup correctly @assets@ alias for PlatformAddressedAssetCatalogManagerTest and AssetSeedManagerTest fixtures.

- These 2 test fixtures need to manually set the @asset@ alias to not include the platform at the end (which it does by default), because they are looping over platforms in their setup.
- Also initializing pointers to nullptr, so if setup fail in the future the teardown doesn't crash trying to delete garbage.

Signed-off-by: moraaar <moraaar@amazon.com>

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
5 years ago
..
Entity Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
EntityOwnershipService Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Prefab Merge branch 'development' into cmake/SPEC-2513_w4267 5 years ago
Script Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SliceStabilityTests Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ToolsComponents Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
UI Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Viewport Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Visibility Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ArchiveTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AssetFileInfoListComparison.cpp Fixed AzToolsFramework tests (#2887) 5 years ago
AssetSeedManager.cpp Fixed AzToolsFramework tests (#2887) 5 years ago
AssetSystemMocks.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AssetUtils.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ComponentAdapterTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ComponentAddRemove.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ComponentModeTestDoubles.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ComponentModeTestDoubles.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ComponentModeTestFixture.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ComponentModeTestFixture.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ComponentModeTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
EditorTransformComponentSelectionTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
EditorVertexSelectionTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
EntityIdQLabelTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
EntityInspectorTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
EntityTestbed.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
FileFunc.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
FingerprintingTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
GenericComponentWrapperTest.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
InstanceDataHierarchy.cpp Fixed AzToolsFramework tests (#2887) 5 years ago
IntegerPrimtitiveTestConfig.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
LogLines.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Main.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ManipulatorBoundsTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ManipulatorCoreTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ManipulatorViewTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PerforceComponentTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PlatformAddressedAssetCatalogTests.cpp Fixed AzToolsFramework tests (#2887) 5 years ago
PropertyIntCtrlCommonTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PropertyIntCtrlCommonTests.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PropertyIntSliderCtrlTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PropertyIntSpinCtrlTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PropertyTreeEditorTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PythonBindingTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
QtWidgetLimitsTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SQLiteConnectionTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Slice.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SliceUpgradeTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SliceUpgradeTestsData.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Slices.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SpinBoxTests.cpp Added Tests to check code is correct 5 years ago
ThumbnailerTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
TransformComponent.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
UndoStack.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
aztoolsframeworktests_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago