19 lines
489 B
C++
19 lines
489 B
C++
#include "testing/testing.hpp"
|
|
|
|
#ifndef GEOCORE_UNIT_TEST_DISABLE_PLATFORM_INIT
|
|
#include "testing/path.hpp"
|
|
#include "platform/platform.hpp"
|
|
#endif
|
|
|
|
int main(int argc, char * argv[])
|
|
{
|
|
#ifndef GEOCORE_UNIT_TEST_DISABLE_PLATFORM_INIT
|
|
// Setting stored paths from testingmain.cpp
|
|
Platform & pl = GetPlatform();
|
|
pl.SetWritableDir(TestindDataPath::kDataPath);
|
|
pl.SetResourceDir(TestindDataPath::kDataPath);
|
|
#endif
|
|
|
|
::testing::InitGoogleTest(&argc, argv);
|
|
return RUN_ALL_TESTS();
|
|
}
|