Browse Source
It was implemented in such a way that gtest is required only if the user wants to build and run tests. Initially we're considering all tests should be gtests. We can change that assumption in the future if necessary.mission-4.1.18
3 changed files with 31 additions and 1 deletions
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
* Utility header for unit tests with gtest. |
||||
*/ |
||||
#include <gtest/gtest.h> |
||||
|
||||
#define AP_GTEST_MAIN() \ |
||||
int main(int argc, char *argv[]) \
|
||||
{ \
|
||||
::testing::InitGoogleTest(&argc, argv); \
|
||||
return RUN_ALL_TESTS(); \
|
||||
} |
Loading…
Reference in new issue