Fixes test in AzFramework
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user