DragonNest/Client/DnTableVerifier/costume_mix_test.cpp
2024-12-20 16:56:44 +08:00

51 lines
No EOL
2.4 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "StdAfx.h"
#include "costume_mix_test.h"
#include "DnCommonDef.h"
DNTableFileFormat* costume_mix_test::s_pCostumeMixTable = NULL;
DNTableFileFormat* costume_mix_test::s_pItemDropTable = NULL;
DNTableFileFormat* costume_mix_test::s_pCostumeMixAbilityTable = NULL;
DNTableFileFormat* costume_mix_test::s_pPotentialTable = NULL;
costume_mix_test::costume_mix_test(void)
{
}
costume_mix_test::~costume_mix_test(void)
{
}
void costume_mix_test::SetUpTestCase( void )
{
s_pItemDropTable = LoadExtFile( "ItemDropTable.dnt" );
s_pCostumeMixTable = LoadExtFile( "cashitemcompoundtable.dnt" );
s_pCostumeMixAbilityTable = LoadExtFile( "cashcompoundinfotable.dnt" );
s_pPotentialTable = LoadExtFile( "PotentialTable.dnt" );
}
void costume_mix_test::TearDownTestCase( void )
{
SAFE_DELETE( s_pItemDropTable );
SAFE_DELETE( s_pCostumeMixTable );
SAFE_DELETE( s_pCostumeMixAbilityTable );
SAFE_DELETE( s_pPotentialTable );
}
void costume_mix_test::SetUp( void )
{
}
void costume_mix_test::TearDown( void )
{
}
TEST_F( costume_mix_test, COSTUME_MIX_DATA_TEST )
{
if( false == ( g_strNation == _T("JPN") || g_strNation == _T("TWN") || g_strNation == _T("MAIN") ) )
return;
}