turning off editor.blast.tests due to AR failures on suite shutdown (#2837)

removed unused code

Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>
This commit is contained in:
jackalbe
2021-08-04 14:11:10 -05:00
committed by GitHub
parent 21ca3a4aea
commit b7e69a1d1d
2 changed files with 1 additions and 24 deletions
@@ -88,20 +88,6 @@ namespace UnitTest
AZStd::unique_ptr<UnitTest::MockComponentApplication> m_mockComponentApplicationBusHandler;
AZStd::unique_ptr<MockAssetCatalogRequestBusHandler> m_mockAssetCatalogRequestBusHandler;
AZStd::unique_ptr<MockAssetManager> m_mockAssetManager;
AZStd::unique_ptr<AZ::SerializeContext> m_serializeContext;
void SetUpChunkComponents()
{
m_serializeContext = AZStd::make_unique<AZ::SerializeContext>();
AZ::Entity::Reflect(m_serializeContext.get());
AzToolsFramework::Components::EditorComponentBase::Reflect(m_serializeContext.get());
}
void TearDownChunkComponents()
{
m_serializeContext.reset();
}
void SetUp() override final
{
@@ -128,15 +114,6 @@ namespace UnitTest
AZ::AllocatorInstance<AZ::PoolAllocator>::Destroy();
AllocatorsTestFixture::TearDown();
}
void SaveChunkAssetToStream(AZ::Entity* chunkAssetEntity, AZStd::vector<char>& buffer)
{
buffer.clear();
AZ::IO::ByteContainerStream<AZStd::vector<char>> stream(&buffer);
AZ::ObjectStream* objStream = AZ::ObjectStream::Create(&stream, *m_serializeContext.get(), AZ::ObjectStream::ST_XML);
objStream->WriteClass(chunkAssetEntity);
EXPECT_TRUE(objStream->Finalize());
}
};
TEST_F(EditorBlastChunkAssetHandlerTestFixture, EditorBlastChunkAssetHandler_AssetManager_Registered)
@@ -7,6 +7,6 @@
#
set(FILES
Tests/Editor/EditorBlastChunksAssetHandlerTest.cpp
# Disabled until SPEC-7904 is fixed Tests/Editor/EditorBlastChunksAssetHandlerTest.cpp
Tests/Editor/EditorTestMain.cpp
)