Cdroid/tests/gui/testmain.cc
2024-05-31 23:12:18 +08:00

22 lines
440 B
C++
Executable File

#include <gtest/gtest.h>
#include <cdroid.h>
#include <signal.h>
#include <cdlog.h>
class GUIEnvironment: public testing::Environment{
public:
void SetUp(){
printf("GUIEnvironment Setup\r\n");
}
void TearDown(){
printf("GUIEnvironment TearDown\r\n");
}
};
int main(int argc,char*argv[])
{
LogParseModules(argc,(const char**)argv);
testing::InitGoogleTest(&argc,argv);
return RUN_ALL_TESTS();
}