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

Go to the source code of this file.

Functions

 TEST (HelpFlagTest, ShouldNotBeRun)
 

Function Documentation

TEST ( HelpFlagTest  ,
ShouldNotBeRun   
)

Definition at line 40 of file gtest_help_test_.cc.

References ASSERT_TRUE, and TEST().

40  {
41  ASSERT_TRUE(false) << "Tests shouldn't be run when --help is specified.";
42 }
#define ASSERT_TRUE(condition)
Definition: gtest.h:1865