2014-03-14 14:13:41 -04:00
|
|
|
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "IFuncTestManager.h"
|
|
|
|
|
|
|
|
|
|
class FFunctionalTestingModule : public IModuleInterface
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual void StartupModule() override;
|
|
|
|
|
virtual void ShutdownModule() override;
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
/** Gets the debugger singleton or returns NULL */
|
|
|
|
|
static class IFuncTestManager* Get()
|
|
|
|
|
{
|
|
|
|
|
FFunctionalTestingModule& Module = FModuleManager::Get().LoadModuleChecked<FFunctionalTestingModule>("FunctionalTesting");
|
|
|
|
|
return Module.GetSingleton();
|
|
|
|
|
}
|
|
|
|
|
private:
|
|
|
|
|
class IFuncTestManager* GetSingleton() const
|
|
|
|
|
{
|
|
|
|
|
return Manager.Get();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
TSharedPtr<class IFuncTestManager> Manager;
|
|
|
|
|
};
|