Remove MockComponentApplication reimplementation from Blast.Editor tests

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-11-10 14:08:21 -08:00
parent db68078639
commit f2ec19b5e7
2 changed files with 1 additions and 12 deletions
+1
View File
@@ -162,6 +162,7 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
3rdParty::Qt::Test
AZ::AzTestShared
AZ::AzTest
AZ::AzCoreTestCommon
AZ::AzToolsFrameworkTestCommon
Gem::Blast.Editor.Static
)
@@ -16,18 +16,6 @@
namespace UnitTest
{
MockComponentApplication::MockComponentApplication()
{
AZ::ComponentApplicationBus::Handler::BusConnect();
AZ::Interface<AZ::ComponentApplicationRequests>::Register(this);
}
MockComponentApplication::~MockComponentApplication()
{
AZ::Interface<AZ::ComponentApplicationRequests>::Unregister(this);
AZ::ComponentApplicationBus::Handler::BusDisconnect();
}
class MockAssetCatalogRequestBusHandler final
: public AZ::Data::AssetCatalogRequestBus::Handler
{