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:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user