#include <stdlib.h>
#include <iostream>
#include "gtest/gtest.h"
#include "src/gtest-internal-inl.h"
Go to the source code of this file.
◆ GTEST_CHECK_INT_EQ_
#define GTEST_CHECK_INT_EQ_ |
( |
|
expected, |
|
|
|
actual |
|
) |
| |
Value: do {\
const int expected_val = (expected);\
const int actual_val = (actual);\
::std::cout << "Value of: " #actual "\n"\
<< " Actual: " << actual_val << "\n"\
<< "Expected: " #expected "\n"\
<<
"Which is: " << expected_val <<
"\n";
\
}\
GTEST_API_ bool IsTrue(bool condition)
Definition at line 54 of file gtest_repeat_test.cc.
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 208 of file gtest_repeat_test.cc.
208 {
210
212
213 TestRepeatUnspecified();
214 TestRepeat(0);
215 TestRepeat(1);
216 TestRepeat(5);
217
218 TestRepeatWithEmptyFilter(2);
219 TestRepeatWithEmptyFilter(3);
220
221 TestRepeatWithFilterForSuccessfulTests(3);
222
223 TestRepeatWithFilterForFailedTests(4);
224
225
226
227
228
229
230
231 printf("PASS\n");
232 return 0;
233}
Environment * AddGlobalTestEnvironment(Environment *env)
GTEST_API_ void InitGoogleTest(int *argc, char **argv)