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/AzFramework/Tests
Mike Balfour 145e3646a4
Asset catalog lock inversion fix. (#7045)
* Fix lock inversion.
This method was calling AssetCatalog->AssetManager at the same time that loading threads are calling AssetManager->AssetCatalog, causing a deadlock due to lock inversion. The fix is to make this method call AssetManager *outside* of the AssetCatalog call.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>

* Fixing the root cause in EnumerateAssets.
Also added a unit test that failed with the previous EnumerateAssets logic, and succeeds with the new logic.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>

* Make sure not to hold the secondary mutex lock either.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>

* Remove unused alias.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>
4 years ago
..
Mocks Add a GetNumSamplesFromRegion function which returns the number of samples given a region and step size. Update Terrain Feature Processor to use this function to get the number of samples instead of computing num samples independently. 4 years ago
Platform Removes some leftover log 4 years ago
Spawnable Minor updates to the Spawnable Entity Aliases in response to PR feedback. 4 years ago
Utils Fixes for viewport selection issues (#5494) 4 years ago
Application.cpp Update the FileIO Aliases (#4186) 4 years ago
ArchiveCompressionTests.cpp Update how Project Filepaths are calculated when not supplied via command line (#5194) 4 years ago
ArchiveTests.cpp Add support for configuring default Archive File Search Mode through a Cache Var (#5668) 4 years ago
AssetCatalog.cpp Asset catalog lock inversion fix. (#7045) 4 years ago
AssetProcessorConnection.cpp Remove unused traits that disabled certain failed unit tests 4 years ago
BehaviorEntityTests.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
BinToTextEncode.cpp Fixes test in AzFramework 4 years ago
CameraInputTests.cpp Fixes for `CameraInput` handling (#6425) 4 years ago
CameraState.cpp Fixes for viewport selection issues (#5494) 4 years ago
ClickDetectorTests.cpp Improvement for click detection when clicking quickly between mouse moves (#5786) 4 years ago
CursorStateTests.cpp Fixes for viewport selection issues (#5494) 4 years ago
EntityContext.cpp Removes m_enableDrilling 4 years ago
FileIO.cpp Update the FileIO Aliases (#4186) 4 years ago
FileTagTests.cpp Removes m_enableDrilling 4 years ago
FrameworkApplicationFixture.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
GenAppDescriptors.cpp Update the FileIO Aliases (#4186) 4 years ago
InputTests.cpp Removed trait AZ_TRAIT_DISABLE_FAILED_INPUT_TESTS 4 years ago
Main.cpp Add a unit test for `XcbInputDeviceKeyboard` (#4393) 4 years ago
NativeWindow.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
OctreePerformanceTests.cpp fixes AzFramework 4 years ago
OctreeTests.cpp Code/Framework compiling 4 years ago
PlatformHelper.cpp Add linux equivalents for all the places that enumerate platforms (#3325) 4 years ago
ProcessLaunchMain.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ProcessLaunchParseTests.cpp Process launcher updates (#6183) 4 years ago
Scene.cpp Removes m_enableDrilling 4 years ago
framework_shared_tests_files.cmake Fixes for viewport selection issues (#5494) 4 years ago
frameworktests_files.cmake Added unit tests for spawnable entity aliases. 4 years ago
process_launch_test_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
terrain_mock_files.cmake Moved TerrainDataRquestBus to AzFrameworkTestShared (#5835) 4 years ago