Statistics
| Revision:

root / trunk / tests / gtests / main.cpp @ 1659

History | View | Annotate | Download (216 Bytes)

1
#include <gtest/gtest.h>
2

    
3
extern "C"
4
{
5
  void test_ad_exit(const int exit_code)
6
  {
7
    throw exit_code;
8
  }
9
}
10

    
11
int main(int argc, char** argv)
12
{
13
  ::testing::InitGoogleTest(&argc, argv);
14
  return RUN_ALL_TESTS();
15
}