Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
gmock_stress_test.cc File Reference
#include "gmock/gmock.h"
#include "gtest/gtest.h"
Include dependency graph for gmock_stress_test.cc:

Go to the source code of this file.

Namespaces

namespace  testing
 

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 315 of file gmock_stress_test.cc.

315 {
317
318 const int exit_code = RUN_ALL_TESTS(); // Expected to fail.
319 GTEST_CHECK_(exit_code != 0) << "RUN_ALL_TESTS() did not fail as expected";
320
321 printf("\nPASS\n");
322 return 0;
323}
#define GTEST_CHECK_(condition)
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition gtest.h:2328
char ** argv
LOGGING_API void printf(Category category, const char *format,...)
Definition Logging.cpp:30
GTEST_API_ void InitGoogleMock(int *argc, char **argv)
Definition gmock.cc:195
Here is the call graph for this function:

Variable Documentation

◆ count

int* count

Definition at line 177 of file gmock_stress_test.cc.

◆ mock_foo

MockFoo* mock_foo

Definition at line 176 of file gmock_stress_test.cc.