Files
o3de/Code/Tools/AssetProcessor/assetprocessor_test_files.cmake
T
amzn-mike fed1278fe6 AP: product dependency optimization (#6619)
* Initial pass at optimizing product path dependency resolution

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add version of StripAssetPlatform that doesn't allocate or copy strings.  Re-add missing test and fix up compile errors.  Add benchmark test

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Change UpdateProductDependencies to directly call s_InsertProductDependencyQuery.BindAndStep

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add test for same filename on multiple platforms

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Rework search logic to keep track of the source of a search path (source vs product) and keep track of which search matches which dependency to avoid doing another search through every product later on

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Clean up code, expand test

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix paths not being lowercased by SanitizeForDatabase.  Fix UpdateProductDependencies not updating existing dependencies

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add test for duplicate dependency matches.  Fix saving duplicates

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Clean up code

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Separate test into test and benchmark versions

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Cleanup include

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix includes, switch hardcoded job manager setup to use JobManagerComponent instead

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Replaced wildcard_match with PathView::Match.  Changed StripAssetPlatformNoCopy to use TokenizeNext.  Removed Environment Create/Destroy calls.  Made ScopedAllocatorFixture a base class of ScopedAllocatorSetupFixture

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add AZ Environment create/destroy on AP test environment

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add missing asserts on database functions

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix incorrect usage of StripAssetPlatformNoCopy

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix source/product dependency type being ignored.  Removed need for unordered_set for list of resolved dependencies.  Updated unit tests

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Better variable names

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Remove testing code

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix missing includes and namespaces

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>
2022-01-13 06:56:24 -08:00

89 lines
4.2 KiB
CMake

#
# Copyright (c) Contributors to the Open 3D Engine Project.
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
#
set(FILES
testdata/config_broken_badplatform/AssetProcessorPlatformConfig.setreg
testdata/config_broken_noplatform/AssetProcessorPlatformConfig.setreg
testdata/config_broken_noscans/AssetProcessorPlatformConfig.setreg
testdata/config_broken_recognizers/AssetProcessorPlatformConfig.setreg
testdata/config_regular/AssetProcessorPlatformConfig.setreg
testdata/config_metadata/AssetProcessorPlatformConfig.setreg
testdata/config_regular_platform_scanfolder/AssetProcessorPlatformConfig.setreg
testdata/EmptyDummyProject/AssetProcessorGamePlatformConfig.setreg
testdata/DummyProject/AssetProcessorGamePlatformConfig.setreg
native/tests/AssetProcessorTest.h
native/tests/AssetProcessorTest.cpp
native/tests/BaseAssetProcessorTest.h
native/tests/assetdatabase/AssetDatabaseTest.cpp
native/tests/resourcecompiler/RCBuilderTest.cpp
native/tests/resourcecompiler/RCBuilderTest.h
native/tests/resourcecompiler/RCControllerTest.cpp
native/tests/resourcecompiler/RCControllerTest.h
native/tests/resourcecompiler/RCJobTest.cpp
native/tests/resourcecompiler/RCJobTest.h
native/tests/assetBuilderSDK/assetBuilderSDKTest.h
native/tests/assetBuilderSDK/assetBuilderSDKTest.cpp
native/tests/assetBuilderSDK/SerializationDependenciesTests.cpp
native/tests/assetmanager/AssetProcessorManagerTest.cpp
native/tests/assetmanager/AssetProcessorManagerTest.h
native/tests/utilities/assetUtilsTest.cpp
native/tests/platformconfiguration/platformconfigurationtests.cpp
native/tests/platformconfiguration/platformconfigurationtests.h
native/tests/utilities/JobModelTest.cpp
native/tests/utilities/JobModelTest.h
native/tests/utilities/StatsCaptureTest.cpp
native/tests/AssetCatalog/AssetCatalogUnitTests.cpp
native/tests/assetscanner/AssetScannerTests.h
native/tests/assetscanner/AssetScannerTests.cpp
native/tests/BuilderConfiguration/BuilderConfigurationTests.cpp
native/tests/FileProcessor/FileProcessorTests.h
native/tests/FileProcessor/FileProcessorTests.cpp
native/tests/FileStateCache/FileStateCacheTests.h
native/tests/FileStateCache/FileStateCacheTests.cpp
native/tests/InternalBuilders/SettingsRegistryBuilderTests.cpp
native/tests/MissingDependencyScannerTests.cpp
native/tests/SourceFileRelocatorTests.cpp
native/tests/PathDependencyManagerTests.cpp
native/tests/AssetProcessorMessagesTests.cpp
native/unittests/AssetProcessingStateDataUnitTests.cpp
native/unittests/AssetProcessingStateDataUnitTests.h
native/unittests/AssetProcessorManagerUnitTests.cpp
native/unittests/AssetProcessorManagerUnitTests.h
native/unittests/AssetProcessorServerUnitTests.cpp
native/unittests/AssetProcessorServerUnitTests.h
native/unittests/AssetScannerUnitTests.cpp
native/unittests/AssetScannerUnitTests.h
native/unittests/ConnectionUnitTests.cpp
native/unittests/ConnectionUnitTests.h
native/unittests/ConnectionManagerUnitTests.cpp
native/unittests/ConnectionManagerUnitTests.h
native/unittests/FileWatcherUnitTests.cpp
native/unittests/FileWatcherUnitTests.h
native/unittests/PlatformConfigurationUnitTests.cpp
native/unittests/PlatformConfigurationUnitTests.h
native/unittests/RCcontrollerUnitTests.cpp
native/unittests/RCcontrollerUnitTests.h
native/unittests/UnitTestRunner.cpp
native/unittests/UnitTestRunner.h
native/unittests/UtilitiesUnitTests.cpp
native/unittests/UtilitiesUnitTests.h
native/unittests/AssetRequestHandlerUnitTests.cpp
native/unittests/AssetRequestHandlerUnitTests.h
native/unittests/MockConnectionHandler.h
native/unittests/MockApplicationManager.cpp
native/unittests/MockApplicationManager.h
native/unittests/BuilderSDKUnitTests.cpp
native/utilities/UnitTestShaderCompilerServer.cpp
native/utilities/UnitTestShaderCompilerServer.h
native/tests/test_main.cpp
)
set(SKIP_UNITY_BUILD_INCLUSION_FILES
native/tests/utilities/JobModelTest.cpp
)