Преглед изворни кода

Revert "Update unit tests"

This reverts commit 3a0109f14b638b72d897d912b241a766ee5763a9.

Signed-off-by: amzn-mike <[email protected]>
amzn-mike пре 2 година
родитељ
комит
51a380d80f

+ 0 - 8
Code/Tools/AssetProcessor/native/tests/assetmanager/AssetManagerTestingBase.cpp

@@ -101,7 +101,6 @@ namespace UnitTests
 
 
         // Set up the Job Context, required for the PathDependencyManager to do its work
         // Set up the Job Context, required for the PathDependencyManager to do its work
         // Set up serialize and json context
         // Set up serialize and json context
-        // Set up serialize and json context
         m_serializeContext = AZStd::make_unique<AZ::SerializeContext>();
         m_serializeContext = AZStd::make_unique<AZ::SerializeContext>();
         m_jsonRegistrationContext = AZStd::make_unique<AZ::JsonRegistrationContext>();
         m_jsonRegistrationContext = AZStd::make_unique<AZ::JsonRegistrationContext>();
         m_componentApplication = AZStd::make_unique<testing::NiceMock<MockComponentApplication>>();
         m_componentApplication = AZStd::make_unique<testing::NiceMock<MockComponentApplication>>();
@@ -182,13 +181,6 @@ namespace UnitTests
         m_jsonRegistrationContext.reset();
         m_jsonRegistrationContext.reset();
         m_serializeContext.reset();
         m_serializeContext.reset();
 
 
-        m_jsonRegistrationContext->EnableRemoveReflection();
-        AZ::JsonSystemComponent::Reflect(m_jsonRegistrationContext.get());
-        m_jsonRegistrationContext->DisableRemoveReflection();
-
-        m_jsonRegistrationContext.reset();
-        m_serializeContext.reset();
-
         if (m_localFileIo)
         if (m_localFileIo)
         {
         {
             delete m_localFileIo;
             delete m_localFileIo;