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 0b35d27833
Added support to the AZ Console to be notified when the Settings Registry modifies a particular path (#691)
* Updated the SettingsRegistry CommandLineArgumentSettings delimiter function to no longer work on a character basis, but on a line basis.
This provides more control by the user to determine how to the argument into the JSON pointer and JSON value parts

Added function o the Settings Registry to specify the JSON Apply Patch settings to use when performing a JSON Patch/Merge Patch operation

Fixed the SettingsRegistryImpl::CommandLineArgument function to properly set unsigned 64-bit values into the SettingsRegistry by checking the ERRNO of strtoll and strtoull

* Updated the reporting of the JSON Patching operations to supply a JSON pointer of the patched element to the Issue Reporting callback when the patch operation is successful. This allows using the Issue Reporting callback as a notification system when field is updated during a patch operation

* Added support to the AZ Console to be able to run Console Commands based
on notifications from the Settings Registry when a field underneath the
"/Amazon/AzCore/Runtime/ConsoleCommands" object is modified.

This takes advantage of the Settings Registry RegisterNotifier API to
determine when a field is modified as well as the JSON Merger
JsonApplyPatchSettings Issue Reporting Callback to determine when a
field is modified or updated.

As a Side Note also fixed an issue with the AZ Console incorrectly
converting unsigned 64-bit types using strtoll

* Making the Console constructor which accepts an AZ::SettingsRegistryInterface explicit

* Updating string format calls which use *.s for formatting string_views, to use the AZ_STRING_ARG macro

* Addressed typos in comments around the SettingsRegistry AZ Console functions

* Fixed the SettingsRegistryTest that look for an empty value

* clang 6.0.0 constexpr build fix. For some reason clang cannot make a constexpr AZStd::string_view out of a constexpr AZStd::fixed_string despite there being a valid constexpr operator AZStd::string_view

* Mac build fix

* SettingsRegistryTest.MergeSettingsFolder_ConflictingSpecializations_ReportsErrorAndReturnsFalse test fix on Mac

* Updated the LoadSettingsFile test to validate running a console with 0 arguments

Replace the static_cast in the ConsoleTypeHelpers.inl code to convert a str to long long with an aznumeric_cast

* Added printf logging to the ConsoleCommandKeyNotificationHandler to determine if the console commands are being performed on the Jenkins Linux node

* Fixed Dangling string_view reference in the ConsoleCommandKeyNotificationHandler that was causing command execution from a file to fail.

Renamed the second TestFreeFunc function in the ConsoleTests.cpp to validate thath the first TestFreeFunc function is being tested

* Updated the Component Application AZ Console to use the SettingsRegistry as the backend when loading config and Settings Rgistry json files
5 years ago
..
AZStd Integrating github/staging through commit 5f214be 5 years ago
AZTestShared Initial commit 5 years ago
Asset Fix AssetContainer behavior with immediate load errors 5 years ago
Console Added support to the AZ Console to be notified when the Settings Registry modifies a particular path (#691) 5 years ago
Debug Renamed several non-inclusive terms (#236) 5 years ago
EBus Initial commit 5 years ago
IO/Path Integrating github/staging through commit 5f214be 5 years ago
Math Unifying operators in Matrix3x3, Matrix3x4 and Matrix4x4 5 years ago
Memory Initial commit 5 years ago
Name Initial commit 5 years ago
Platform Integrating github/staging through commit ab87ed9 5 years ago
RTTI Initial commit 5 years ago
Serialization/Json {LYN-2257} Helios - Add Matrix math type for JSON Serialization system (#561) 5 years ago
Settings Added support to the AZ Console to be notified when the Settings Registry modifies a particular path (#691) 5 years ago
Streamer Initial commit 5 years ago
AssetJsonSerializerTests.cpp Merge pull request #671 from aws-lumberyard-dev/Prefabs/AssetPreload 5 years ago
AssetManager.cpp Integrating github/staging through commit ab87ed9 5 years ago
AssetSerializerTests.cpp Initial commit 5 years ago
AzEnumTest.cpp Initial commit 5 years ago
BehaviorContext.cpp Integrating latest 47acbe8 5 years ago
BehaviorContextFixture.h Fix several build failures 5 years ago
Components.cpp Integrating github/staging through commit 5f214be 5 years ago
DLL.cpp Initial commit 5 years ago
DLLMainTest.cpp Initial commit 5 years ago
Debug.cpp Initial commit 5 years ago
Driller.cpp Initial commit 5 years ago
EBus.cpp Initial commit 5 years ago
EntityIdTests.cpp Add newlines to the end of all files 5 years ago
EntityTests.cpp Initial commit 5 years ago
EnumTests.cpp Initial commit 5 years ago
EventTests.cpp Initial commit 5 years ago
FileIOBaseTestTypes.h Integrating latest from github/staging 5 years ago
FixedWidthIntegers.cpp Integrating github/staging through commit ab87ed9 5 years ago
GenericStreamMock.h Initial commit 5 years ago
GenericStreamTests.cpp Initial commit 5 years ago
Geometry2DUtils.cpp Initial commit 5 years ago
IPC.cpp Initial commit 5 years ago
Interface.cpp Add newlines to the end of all files 5 years ago
IntersectPoint.cpp Initial commit 5 years ago
JSON.cpp Initial commit 5 years ago
Jobs.cpp Initial commit 5 years ago
Main.cpp Initial commit 5 years ago
Memory.cpp Initial commit 5 years ago
Module.cpp Initial commit 5 years ago
ModuleTestBus.h Add newlines to the end of all files 5 years ago
OrderedEventBenchmarks.cpp Initial commit 5 years ago
OrderedEventTests.cpp Initial commit 5 years ago
Outcome.cpp Initial commit 5 years ago
Patching.cpp Initial commit 5 years ago
RemappableId.cpp Initial commit 5 years ago
Rtti.cpp Initial commit 5 years ago
Script.cpp Initial commit 5 years ago
ScriptMath.cpp Initial commit 5 years ago
ScriptProperty.cpp Add newlines to the end of all files 5 years ago
Serialization.cpp Fix several build failures 5 years ago
SerializeContextFixture.h Initial commit 5 years ago
SettingsRegistryMergeUtilsTests.cpp Integrating github/staging through commit 5f214be 5 years ago
SettingsRegistryTests.cpp Added support to the AZ Console to be notified when the Settings Registry modifies a particular path (#691) 5 years ago
Slice.cpp Initial commit 5 years ago
State.cpp Initial commit 5 years ago
StatisticalProfiler.cpp Initial commit 5 years ago
Statistics.cpp Initial commit 5 years ago
StreamerTests.cpp Initial commit 5 years ago
StringFunc.cpp Integrating latest from github/staging 5 years ago
SystemFile.cpp Initial commit 5 years ago
TestCatalog.cpp Initial commit 5 years ago
TestCatalog.h Initial commit 5 years ago
TickBusTest.cpp Initial commit 5 years ago
TimeDataStatistics.cpp Initial commit 5 years ago
UUIDTests.cpp Initial commit 5 years ago
XML.cpp Initial commit 5 years ago
azcoretestdll_files.cmake Initial commit 5 years ago
azcoretests_files.cmake {LYN-2257} Helios - Add Matrix math type for JSON Serialization system (#561) 5 years ago
aztestshared_files.cmake Initial commit 5 years ago