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/Tools/AssetProcessor/native/tests
lumberyard-employee-dm 627012840d
Update how Project Filepaths are calculated when not supplied via command line (#5194)
* Fixed the return value of the ConvertToAbsolutePath function

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

* Added the generated cmake_dependencies.*.setreg files to engine.pak (#5073)

* Copied the generated cmake_dependencies.*.setreg file to the Cache
directory

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

* Removed the platform name from the bootstrap.game.*.setreg

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

* Update how the project related file paths are determined when not
supplied.

The project-path determination now goes back to only detecting a "project.json" file.
It no longer attempts to detect a "Cache" directory

The project-cache-path determination now in addition to checking the
project_cache_path key searches for a "Cache" directory.

The project-path defaults to executable folder if it cannot be detected.

The copying of generated executable folder Registry directory contents
to the product cache is now removed after the archive step.

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

* Updated the invocation of the AssetProcessor in Jenkins to supply an
absolute path to the project.

The project-path is no longer treated as relative to the engine root,
but instead relative to the current working directory at application
startup.

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

* Added constant for the storing the name of Cache directory

Fixed typos and grammatical errors in the SettingsRegistryMergeUtils.cpp

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

* Updated UnitTest prepend the EngineRoot path to "AutomatedTesting" when
setting the project path.

This is needed now that the project-path isn't treated relative to the
EngineRoot if it is not absolute.

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

* Fix AssetSeedManagerTest and PlatformAddressedAssetCatalogManagerTest

Instead of trying to used the AutomatedTesting directory as the project root, the temp directory created during the test is used as the project root.

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

* Moved the setting of the project cache root folder and project
asset platform root folder into the `if (!projectCachePath.empty())`
block

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

* Removing the scan up logic for the "Cache" directory.

This is no longer needed to locate the project cache path in a Project Game Release Layout.

Because the project path defaults to the executable directory if, it is not found, the Cache directory will be set to the "Cache" directory within the executable directory.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
AssetCatalog Update how Project Filepaths are calculated when not supplied via command line (#5194) 4 years ago
BuilderConfiguration Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
FileProcessor Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
FileStateCache Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
InternalBuilders Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
assetBuilderSDK Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
assetdatabase Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
assetmanager Update how Project Filepaths are calculated when not supplied via command line (#5194) 4 years ago
assetscanner Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
platformconfiguration Add "Registry" folders as scan folders (#4583) 4 years ago
resourcecompiler Final fixes for MSVC 4 years ago
utilities Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AssetProcessorMessagesTests.cpp Update how Project Filepaths are calculated when not supplied via command line (#5194) 4 years ago
AssetProcessorTest.cpp Update how Project Filepaths are calculated when not supplied via command line (#5194) 4 years ago
AssetProcessorTest.h Update how Project Filepaths are calculated when not supplied via command line (#5194) 4 years ago
BaseAssetProcessorTest.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
MissingDependencyScannerTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PathDependencyManagerTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SourceFileRelocatorTests.cpp adding exception handling for tests that are not going through AzTestRunner 4 years ago
test_main.cpp adding exception handling for tests that are not going through AzTestRunner 4 years ago