[LYN-7529] Create unit tests for ResolveSourceFileDependencyPath (#4790)
* Add unit tests for ResolveSourceFileDependencyPath Fix crash when file is not in scan folder Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com> * Switch to using vector of AZ strings for better error output Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com> * Switch to using UnorderedElementsAre Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com> * Add some comments and fix typo Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>
This commit is contained in:
@@ -131,6 +131,14 @@ struct MultiplatformPathDependencyTest
|
||||
void SetUp() override;
|
||||
};
|
||||
|
||||
struct WildcardSourceDependencyTest
|
||||
: AssetProcessorManagerTest
|
||||
{
|
||||
bool Test(const AZStd::string& dependencyPath, AZStd::vector<AZStd::string>& resolvedPaths);
|
||||
|
||||
void SetUp() override;
|
||||
};
|
||||
|
||||
struct MockBuilderInfoHandler
|
||||
: public AssetProcessor::AssetBuilderInfoBus::Handler
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user