proxygen
gtest_shuffle_test_.cc File Reference
#include "gtest/gtest.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 93 of file gtest_shuffle_test_.cc.

References testing::InitGoogleTest(), and RUN_ALL_TESTS().

93  {
94  InitGoogleTest(&argc, argv);
95 
96  // Replaces the default printer with TestNamePrinter, which prints
97  // the test name only.
98  TestEventListeners& listeners = UnitTest::GetInstance()->listeners();
99  delete listeners.Release(listeners.default_result_printer());
100  listeners.Append(new TestNamePrinter);
101 
102  return RUN_ALL_TESTS();
103 }
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition: gtest.h:2232
char ** argv
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
Definition: gtest.cc:5370