Namespaces | Macros | Functions
gtest_repeat_test.cc File Reference
#include <stdlib.h>
#include <iostream>
#include "gtest/gtest.h"
#include "src/gtest-internal-inl.h"
Include dependency graph for gtest_repeat_test.cc:

Go to the source code of this file.

Namespaces

 testing
 

Macros

#define GTEST_CHECK_INT_EQ_(expected, actual)
 

Functions

 testing::GTEST_DECLARE_int32_ (repeat)
 
 testing::GTEST_DECLARE_string_ (death_test_style)
 
 testing::GTEST_DECLARE_string_ (filter)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ GTEST_CHECK_INT_EQ_

#define GTEST_CHECK_INT_EQ_ (   expected,
  actual 
)
Value:
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";\
}\

Definition at line 54 of file gtest_repeat_test.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 208 of file gtest_repeat_test.cc.

testing::internal::IsTrue
GTEST_API_ bool IsTrue(bool condition)
Definition: gtest.cc:5609
testing::internal::posix::Abort
void Abort()
Definition: gtest-port.h:2158
testing::internal::AlwaysFalse
bool AlwaysFalse()
Definition: gtest-internal.h:843


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:03