mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-02 04:07:42 +08:00
24 lines
471 B
C++
24 lines
471 B
C++
|
#include <gtest/gtest.h>
|
||
|
#include <cdtypes.h>
|
||
|
#include <cdlog.h>
|
||
|
#include <cdgraph.h>
|
||
|
#include <math.h>
|
||
|
|
||
|
class HALEnvironment: public testing::Environment{
|
||
|
public:
|
||
|
void SetUp(){
|
||
|
GFXInit();
|
||
|
};
|
||
|
void TearDown(){
|
||
|
//sleep(5);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
int main(int argc, char*argv[])
|
||
|
{
|
||
|
LogParseModules(argc,(const char**)argv);
|
||
|
testing::AddGlobalTestEnvironment(new HALEnvironment);
|
||
|
testing::InitGoogleTest(&argc,argv);
|
||
|
return RUN_ALL_TESTS();
|
||
|
}
|