Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
930 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Unit test program for testing of tier0 libraries
//
// $NoKeywords: $
//=============================================================================//
#include "unitlib/unitlib.h"
#include "appframework/IAppSystem.h"
//-----------------------------------------------------------------------------
// Used to connect/disconnect the DLL
//-----------------------------------------------------------------------------
class CTier0TestAppSystem : public CTier0AppSystem< IAppSystem >
{
typedef CTier0AppSystem< IAppSystem > BaseClass;
public:
virtual bool Connect( CreateInterfaceFn factory )
{
if ( !BaseClass::Connect( factory ) )
return false;
return true;
}
virtual InitReturnVal_t Init()
{
return INIT_OK;
}
virtual void Shutdown()
{
BaseClass::Shutdown();
}
};
USE_UNITTEST_APPSYSTEM( CTier0TestAppSystem )