proxygen
my_namespace::testing Namespace Reference

Classes

class  AssertionResult
 
class  Message
 
class  Test
 

Functions

 TEST (NestedTestingNamespaceTest, Success)
 
 TEST (NestedTestingNamespaceTest, Failure)
 

Function Documentation

my_namespace::testing::TEST ( NestedTestingNamespaceTest  ,
Success   
)

Definition at line 6580 of file gtest_unittest.cc.

References EXPECT_EQ.

6580  {
6581  EXPECT_EQ(1, 1) << "This shouldn't fail.";
6582 }
#define EXPECT_EQ(val1, val2)
Definition: gtest.h:1922
my_namespace::testing::TEST ( NestedTestingNamespaceTest  ,
Failure   
)

Definition at line 6585 of file gtest_unittest.cc.

References EXPECT_FATAL_FAILURE, and FAIL.

6585  {
6586  EXPECT_FATAL_FAILURE(FAIL() << "This failure is expected.",
6587  "This failure is expected.");
6588 }
#define FAIL()
Definition: gtest.h:1822
#define EXPECT_FATAL_FAILURE(statement, substr)
Definition: gtest-spi.h:138