Additional unit tests for the Json Serialization
To cover the recent changes to the return code from containers and the initialization fixes additional unit tests were added. Almost all new tests are part of the conformity test suite so that they test any custom json serializers outside of AzCore that might need to be updated due to the fixes.
This commit is contained in:
@@ -168,6 +168,10 @@ namespace JsonSerializationTests
|
||||
{
|
||||
features.EnableJsonType(rapidjson::kObjectType);
|
||||
features.m_typeToInject = rapidjson::kNullType;
|
||||
// The type information in the Serialize Context is incomplete so this test will fail.
|
||||
// This is because assets have traditionally been treated as a special case, so there's
|
||||
// information missing in the Json Serialization to deal with these.
|
||||
features.m_enableNewInstanceTests = false;
|
||||
}
|
||||
|
||||
bool AreEqual(const Asset& lhs, const Asset& rhs) override
|
||||
|
||||
Reference in New Issue
Block a user