Integrating github/staging through commit ab87ed9
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
|
||||
#include <AzCore/UnitTest/TestTypes.h>
|
||||
#include <AzCore/UnitTest/UnitTest.h>
|
||||
#include <AzCore/Name/NameDictionary.h>
|
||||
#include <AzCore/Name/Name.h>
|
||||
#include <AzTest/AzTest.h>
|
||||
#include <MultiplayerSystemComponent.h>
|
||||
#include <IMultiplayerConnectionMock.h>
|
||||
@@ -25,6 +27,7 @@ namespace UnitTest
|
||||
void SetUp() override
|
||||
{
|
||||
SetupAllocator();
|
||||
AZ::NameDictionary::Create();
|
||||
m_mpComponent = new Multiplayer::MultiplayerSystemComponent();
|
||||
|
||||
m_initHandler = Multiplayer::SessionInitEvent::Handler([this](AzNetworking::INetworkInterface* value) { TestInitEvent(value); });
|
||||
@@ -38,6 +41,7 @@ namespace UnitTest
|
||||
void TearDown() override
|
||||
{
|
||||
delete m_mpComponent;
|
||||
AZ::NameDictionary::Destroy();
|
||||
TeardownAllocator();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user