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/AzCore/Tests
lumberyard-employee-dm 090aa8f053
Removed ununeeded includes from EBus EBus.h and Policies.h (#4256)
* Removed ununeeded includes from EBus EBus.h and Policies.h

Updated the locations which needed those includes

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

* Adding missing include for <memory> to AWsClientAuthBus.h

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

* Remove the while true loop in the EBusQueuePolicy Execute() function

The while true loop in Execute was for allowing additional functions to be queued in the middle of execution of current list of functions.
That functionality was dangerous, because if a queued function added itself during execution unconditionally, then it would result in an infinite loop

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

* Updated the AssetManager::DispatchEvents function to pump the AssetBus event queue until empty

Queued Events on the AssetBus is able to queue additional events on that Bus during execution of those events.

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

* Changed the AssetManager::DispatchEvents function to only execute the
AssetBus queued events once

Changed the AssetJobsFloodTest.AssetWithNoLoadReference_LoadDependencies_BehaviorObeyed test to dispatch events until the OnAssetContainerReady callback is signaled.

This happens after every asset load to make sure that the
expiring AssetContainer instances are removed from `AssetManager::m_ownedAssetContainer` container before retrying to load the same asset.

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

* Added a MaxTimeoutSeconds constant for the maximum amount of the time to run a single DispatchEvents loop

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
AZStd Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
AZTestShared Code/Framework fixes 4 years ago
Asset Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
Console Added a deferred queue to the AZ Console class (#3298) 4 years ago
Debug more fixes for Code 4 years ago
EBus Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
IO Moved the SettingsRegistryFileReader class to more general IO Reader (#4189) 4 years ago
Math Merge branch 'development' into cmake/warn_virtual 4 years ago
Memory Fixes AzCore for MSVC 4 years ago
Name Implemented C++23 deleted nullptr_t constructor/assignment for AZStd string classes (#4158) 4 years ago
Platform PR comments 4 years ago
RTTI Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Serialization/Json Fixes AzCore for MSVC 4 years ago
Settings Build time reduction: AzStdOnDemandReflection (#3111) 4 years ago
Streamer Modernization + AZStd::function compare fix. (#3680) 4 years ago
AssetJsonSerializerTests.cpp Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
AssetManager.cpp Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
AssetSerializerTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
AzEnumTest.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
BehaviorContext.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
BehaviorContextFixture.h Add preliminary budget tracking system and remove driller integration 4 years ago
Components.cpp Add AZ_BUDGET_DEFINE/AZ_BUDGET_DECLARE and remove driller 4 years ago
DLL.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
DLLMainTest.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Debug.cpp Deprecate profiler categories based on global enum 4 years ago
EBus.cpp more fixes for Code 4 years ago
EntityIdTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
EntityTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
EnumTests.cpp more fixes for Code 4 years ago
EventTests.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
FileIOBaseTestTypes.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FixedWidthIntegers.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
GenericStreamMock.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
GenericStreamTests.cpp more fixes for Code 4 years ago
Geometry2DUtils.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
IPC.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Interface.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
IntersectPoint.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
JSON.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Jobs.cpp Fixes AzCore for MSVC 4 years ago
Main.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Memory.cpp Added a max_size function to all AZStd container style allocator functions (#4106) 4 years ago
Module.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ModuleTestBus.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
OrderedEventBenchmarks.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
OrderedEventTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Outcome.cpp remove unnecessary ALIGN macros 4 years ago
Patching.cpp More fixes 4 years ago
RemappableId.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Rtti.cpp more fixes for Code 4 years ago
Script.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
ScriptMath.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ScriptProperty.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Serialization.cpp Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
SerializeContextFixture.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SettingsRegistryMergeUtilsTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SettingsRegistryTests.cpp Implemented C++23 deleted nullptr_t constructor/assignment for AZStd string classes (#4158) 4 years ago
Slice.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
State.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
StatisticalProfiler.cpp Reintroduce StatisticalProfiler and associated classes in deactivated 4 years ago
Statistics.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
StreamerTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
StringFunc.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
SystemFile.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
TaskTests.cpp Fixes AzCore for MSVC 4 years ago
TestCatalog.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
TestCatalog.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
TickBusTest.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
UUIDTests.cpp Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
XML.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
azcoretestdll_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
azcoretests_files.cmake Moved the SettingsRegistryFileReader class to more general IO Reader (#4189) 4 years ago
aztestshared_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago