Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gtest_xml_output_unittest_.cc File Reference
#include "gtest/gtest.h"
+ Include dependency graph for gtest_xml_output_unittest_.cc:

Go to the source code of this file.

Classes

class  SuccessfulTest
 
class  FailedTest
 
class  DisabledTest
 
class  PropertyRecordingTest
 
class  ValueParamTest
 

Functions

 TEST_F (SuccessfulTest, Succeeds)
 
 TEST_F (FailedTest, Fails)
 
 TEST_F (DisabledTest, DISABLED_test_not_run)
 
 TEST (MixedResultTest, Succeeds)
 
 TEST (MixedResultTest, Fails)
 
 TEST (MixedResultTest, DISABLED_test)
 
 TEST (XmlQuotingTest, OutputsCData)
 
 TEST (InvalidCharactersTest, InvalidCharactersInMessage)
 
 TEST_F (PropertyRecordingTest, OneProperty)
 
 TEST_F (PropertyRecordingTest, IntValuedProperty)
 
 TEST_F (PropertyRecordingTest, ThreeProperties)
 
 TEST_F (PropertyRecordingTest, TwoValuesForOneKeyUsesLastValue)
 
 TEST (NoFixtureTest, RecordProperty)
 
void ExternalUtilityThatCallsRecordProperty (const std::string &key, int value)
 
void ExternalUtilityThatCallsRecordProperty (const std::string &key, const std::string &value)
 
 TEST (NoFixtureTest, ExternalUtilityThatCallsRecordIntValuedProperty)
 
 TEST (NoFixtureTest, ExternalUtilityThatCallsRecordStringValuedProperty)
 
 TEST_P (ValueParamTest, HasValueParamAttribute)
 
 TEST_P (ValueParamTest, AnotherTestThatHasValueParamAttribute)
 
 INSTANTIATE_TEST_CASE_P (Single, ValueParamTest, Values(33, 42))
 
int main (int argc, char **argv)
 

Function Documentation

void ExternalUtilityThatCallsRecordProperty ( const std::string &  key,
int  value 
)

Definition at line 126 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 126 of file gtest_xml_output_unittest_.cc

References testing::Test::RecordProperty().

Referenced by TEST().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExternalUtilityThatCallsRecordProperty ( const std::string &  key,
const std::string &  value 
)

Definition at line 130 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 130 of file gtest_xml_output_unittest_.cc

References testing::Test::RecordProperty().

+ Here is the call graph for this function:

INSTANTIATE_TEST_CASE_P ( Single  ,
ValueParamTest  ,
Values(33, 42)   
)
int main ( int  argc,
char **  argv 
)

Definition at line 172 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 172 of file gtest_xml_output_unittest_.cc

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

+ Here is the call graph for this function:

TEST ( MixedResultTest  ,
Succeeds   
)

Definition at line 72 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 72 of file gtest_xml_output_unittest_.cc

References ASSERT_EQ, and EXPECT_EQ.

TEST ( MixedResultTest  ,
Fails   
)

Definition at line 77 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 77 of file gtest_xml_output_unittest_.cc

References ASSERT_EQ, and EXPECT_EQ.

TEST ( MixedResultTest  ,
DISABLED_test   
)

Definition at line 82 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 82 of file gtest_xml_output_unittest_.cc

References FAIL.

TEST ( XmlQuotingTest  ,
OutputsCData   
)

Definition at line 86 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 86 of file gtest_xml_output_unittest_.cc

References FAIL.

TEST ( InvalidCharactersTest  ,
InvalidCharactersInMessage   
)

Definition at line 93 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 93 of file gtest_xml_output_unittest_.cc

References FAIL.

TEST ( NoFixtureTest  ,
RecordProperty   
)

Definition at line 122 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 122 of file gtest_xml_output_unittest_.cc

TEST ( NoFixtureTest  ,
ExternalUtilityThatCallsRecordIntValuedProperty   
)

Definition at line 135 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 135 of file gtest_xml_output_unittest_.cc

References ExternalUtilityThatCallsRecordProperty().

+ Here is the call graph for this function:

TEST ( NoFixtureTest  ,
ExternalUtilityThatCallsRecordStringValuedProperty   
)

Definition at line 139 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 139 of file gtest_xml_output_unittest_.cc

References ExternalUtilityThatCallsRecordProperty().

+ Here is the call graph for this function:

TEST_F ( SuccessfulTest  ,
Succeeds   
)

Definition at line 53 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 53 of file gtest_xml_output_unittest_.cc

References ASSERT_EQ, and SUCCEED.

TEST_F ( FailedTest  ,
Fails   
)

Definition at line 61 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 61 of file gtest_xml_output_unittest_.cc

References ASSERT_EQ.

TEST_F ( DisabledTest  ,
DISABLED_test_not_run   
)

Definition at line 68 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 68 of file gtest_xml_output_unittest_.cc

References FAIL.

TEST_F ( PropertyRecordingTest  ,
OneProperty   
)

Definition at line 103 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 103 of file gtest_xml_output_unittest_.cc

TEST_F ( PropertyRecordingTest  ,
IntValuedProperty   
)

Definition at line 107 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 107 of file gtest_xml_output_unittest_.cc

TEST_F ( PropertyRecordingTest  ,
ThreeProperties   
)

Definition at line 111 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 111 of file gtest_xml_output_unittest_.cc

TEST_F ( PropertyRecordingTest  ,
TwoValuesForOneKeyUsesLastValue   
)

Definition at line 117 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 117 of file gtest_xml_output_unittest_.cc

TEST_P ( ValueParamTest  ,
HasValueParamAttribute   
)

Definition at line 146 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 146 of file gtest_xml_output_unittest_.cc

TEST_P ( ValueParamTest  ,
AnotherTestThatHasValueParamAttribute   
)

Definition at line 147 of file gtest_xml_output_unittest_.cc.

View newest version in sPHENIX GitHub at line 147 of file gtest_xml_output_unittest_.cc