Suppress resolve path failed error in Atom_RHI UtilsTests now that the @assets@ alias isn't set during these test
This commit is contained in:
@@ -60,7 +60,9 @@ namespace UnitTest
|
||||
|
||||
TEST_F(UtilsTests, LoadFileString_Error_DoesNotExist)
|
||||
{
|
||||
AZ_TEST_START_TRACE_SUPPRESSION;
|
||||
auto outcome = AZ::RHI::LoadFileString("FileDoesNotExist");
|
||||
AZ_TEST_STOP_TRACE_SUPPRESSION_NO_COUNT;
|
||||
EXPECT_FALSE(outcome.IsSuccess());
|
||||
EXPECT_TRUE(outcome.GetError().find("Could not open file") != AZStd::string::npos);
|
||||
EXPECT_TRUE(outcome.GetError().find("FileDoesNotExist") != AZStd::string::npos);
|
||||
@@ -68,7 +70,9 @@ namespace UnitTest
|
||||
|
||||
TEST_F(UtilsTests, LoadFileBytes_Error_DoesNotExist)
|
||||
{
|
||||
AZ_TEST_START_TRACE_SUPPRESSION;
|
||||
auto outcome = AZ::RHI::LoadFileBytes("FileDoesNotExist");
|
||||
AZ_TEST_STOP_TRACE_SUPPRESSION_NO_COUNT;
|
||||
EXPECT_FALSE(outcome.IsSuccess());
|
||||
EXPECT_TRUE(outcome.GetError().find("Could not open file") != AZStd::string::npos);
|
||||
EXPECT_TRUE(outcome.GetError().find("FileDoesNotExist") != AZStd::string::npos);
|
||||
|
||||
Reference in New Issue
Block a user