1 #include "tests_main.h"
4 const char * Version = "stub unit test Version string";
7 int main(int argc, char **argv) {
8 ::testing::InitGoogleTest(&argc, argv);
13 // Some tests makes use of extra parameters passed to the tests
14 // executable. Save these params as static members of the base class.
16 ntptest::SetExtraParams(1, argc-1, argv);
19 return RUN_ALL_TESTS();
22 std::vector<std::string> ntptest::m_params;
24 void ntptest::SetExtraParams(int start, int count, char** argv)
26 for (int i=0; i<count; i++) {
27 m_params.push_back(argv[i+start]);