Fixes test in AzFramework

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-12-03 09:53:17 -08:00
parent 2dd2e53a29
commit c580a0308a
@@ -34,23 +34,20 @@ namespace UnitTest
AllocatorInstance<ThreadPoolAllocator>::Create();
ComponentApplication::Descriptor desc;
desc.m_useExistingAllocator = true;
m_app.Create(desc);
m_app.reset(aznew ComponentApplication);
m_app->Create(desc);
}
void TearDown() override
{
m_app.Destroy();
m_app->Destroy();
m_app.reset();
AllocatorInstance<PoolAllocator>::Destroy();
AllocatorInstance<ThreadPoolAllocator>::Destroy();
AllocatorsFixture::TearDown();
}
~Base64Test() override
{
}
ComponentApplication m_app;
AZStd::unique_ptr<ComponentApplication> m_app;
};
TEST_F(Base64Test, EmptyStringEncodeTest)