more fixes for Code

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 14:48:42 -07:00
parent a35464ca08
commit 9245a31196
54 changed files with 97 additions and 121 deletions
+2 -3
View File
@@ -171,7 +171,6 @@ namespace UnitTest
AZ_TEST_ASSERT(AzGenericTypeInfo::Uuid<MyClassTemplateType>() == templateUuid);
// Check all combinations return a valid id.
Uuid nullId = Uuid::CreateNull();
AZ_TEST_ASSERT(AzGenericTypeInfo::Uuid<AZStd::array>() == AZ::Uuid("{911B2EA8-CCB1-4F0C-A535-540AD00173AE}"));
AZ_TEST_ASSERT(AzGenericTypeInfo::Uuid<AZStd::bitset>() == AZ::Uuid("{6BAE9836-EC49-466A-85F2-F4B1B70839FB}"));
AZ_TEST_ASSERT(AzGenericTypeInfo::Uuid<AZStd::function>() == AZ::Uuid("{C9F9C644-CCC3-4F77-A792-F5B5DBCA746E}"));
@@ -460,8 +459,8 @@ namespace UnitTest
TEST_F(Rtti, IsAbstract)
{
// compile time proof that the two non-abstract classes are not abstract at compile time:
ExampleFullImplementationClass one;
ExampleCombined two;
[[maybe_unused]] ExampleFullImplementationClass one;
[[maybe_unused]] ExampleCombined two;
ASSERT_NE(GetRttiHelper<ExampleAbstractClass>(), nullptr);
ASSERT_NE(GetRttiHelper<ExampleFullImplementationClass>(), nullptr);