#include <stdlib.h>
#include <iostream>
#include "gtest/gtest.h"
#include "src/gtest-internal-inl.h"
Go to the source code of this file.
Namespaces | |
namespace | testing |
Defines | |
#define | GTEST_CHECK_INT_EQ_(expected, actual) |
#define | GTEST_IMPLEMENTATION_ 1 |
Functions | |
testing::GTEST_DECLARE_int32_ (repeat) | |
testing::GTEST_DECLARE_string_ (death_test_style) | |
testing::GTEST_DECLARE_string_ (filter) | |
int | main (int argc, char **argv) |
#define GTEST_CHECK_INT_EQ_ | ( | expected, | |
actual | |||
) |
do {\ const int expected_val = (expected);\ const int actual_val = (actual);\ if (::testing::internal::IsTrue(expected_val != actual_val)) {\ ::std::cout << "Value of: " #actual "\n"\ << " Actual: " << actual_val << "\n"\ << "Expected: " #expected "\n"\ << "Which is: " << expected_val << "\n";\ ::testing::internal::posix::Abort();\ }\ } while (::testing::internal::AlwaysFalse())
Definition at line 63 of file gtest/test/gtest_repeat_test.cc.
#define GTEST_IMPLEMENTATION_ 1 |
Definition at line 43 of file gtest/test/gtest_repeat_test.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 229 of file gtest/test/gtest_repeat_test.cc.