cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
gtest_xml_output_unittest_.cc File Reference
#include <string>
#include "gtest/gtest.h"

Classes

class  SuccessfulTest
 
class  FailedTest
 
class  DisabledTest
 
class  SkippedTest
 
class  PropertyRecordingTest
 
class  ValueParamTest
 
class  TypedTest< T >
 
class  TypeParameterizedTestSuite< T >
 

Typedefs

typedef testing::Types< int, long > TypedTestTypes
 
typedef testing::Types< int, long > TypeParameterizedTestSuiteTypes
 

Functions

 TEST_F (SuccessfulTest, Succeeds)
 
 TEST_F (FailedTest, Fails)
 
 TEST_F (DisabledTest, DISABLED_test_not_run)
 
 TEST_F (SkippedTest, Skipped)
 
 TEST_F (SkippedTest, SkippedWithMessage)
 
 TEST_F (SkippedTest, SkippedAfterFailure)
 
 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_SUITE_P (Single, ValueParamTest, Values(33, 42))
 
 TYPED_TEST_SUITE (TypedTest, TypedTestTypes)
 
 TYPED_TEST (TypedTest, HasTypeParamAttribute)
 
 TYPED_TEST_SUITE_P (TypeParameterizedTestSuite)
 
 TYPED_TEST_P (TypeParameterizedTestSuite, HasTypeParamAttribute)
 
 REGISTER_TYPED_TEST_SUITE_P (TypeParameterizedTestSuite, HasTypeParamAttribute)
 
 INSTANTIATE_TYPED_TEST_SUITE_P (Single, TypeParameterizedTestSuite, TypeParameterizedTestSuiteTypes)
 
int main (int argc, char **argv)
 

Typedef Documentation

◆ TypedTestTypes

typedef testing::Types<int, long> TypedTestTypes

◆ TypeParameterizedTestSuiteTypes

Function Documentation

◆ ExternalUtilityThatCallsRecordProperty() [1/2]

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

◆ ExternalUtilityThatCallsRecordProperty() [2/2]

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

◆ INSTANTIATE_TEST_SUITE_P()

INSTANTIATE_TEST_SUITE_P ( Single ,
ValueParamTest ,
Values(33, 42)  )

◆ INSTANTIATE_TYPED_TEST_SUITE_P()

INSTANTIATE_TYPED_TEST_SUITE_P ( Single ,
TypeParameterizedTestSuite ,
TypeParameterizedTestSuiteTypes  )

◆ main()

int main ( int argc,
char ** argv )

◆ REGISTER_TYPED_TEST_SUITE_P()

REGISTER_TYPED_TEST_SUITE_P ( TypeParameterizedTestSuite ,
HasTypeParamAttribute  )

◆ TEST() [1/8]

TEST ( InvalidCharactersTest ,
InvalidCharactersInMessage  )

◆ TEST() [2/8]

TEST ( MixedResultTest ,
DISABLED_test  )

◆ TEST() [3/8]

TEST ( MixedResultTest ,
Fails  )

◆ TEST() [4/8]

TEST ( MixedResultTest ,
Succeeds  )

◆ TEST() [5/8]

TEST ( NoFixtureTest ,
ExternalUtilityThatCallsRecordIntValuedProperty  )

◆ TEST() [6/8]

TEST ( NoFixtureTest ,
ExternalUtilityThatCallsRecordStringValuedProperty  )

◆ TEST() [7/8]

TEST ( NoFixtureTest ,
RecordProperty  )

◆ TEST() [8/8]

TEST ( XmlQuotingTest ,
OutputsCData  )

◆ TEST_F() [1/10]

TEST_F ( DisabledTest ,
DISABLED_test_not_run  )

◆ TEST_F() [2/10]

TEST_F ( FailedTest ,
Fails  )

◆ TEST_F() [3/10]

TEST_F ( PropertyRecordingTest ,
IntValuedProperty  )

◆ TEST_F() [4/10]

TEST_F ( PropertyRecordingTest ,
OneProperty  )

◆ TEST_F() [5/10]

TEST_F ( PropertyRecordingTest ,
ThreeProperties  )

◆ TEST_F() [6/10]

TEST_F ( PropertyRecordingTest ,
TwoValuesForOneKeyUsesLastValue  )

◆ TEST_F() [7/10]

TEST_F ( SkippedTest ,
Skipped  )

◆ TEST_F() [8/10]

TEST_F ( SkippedTest ,
SkippedAfterFailure  )

◆ TEST_F() [9/10]

TEST_F ( SkippedTest ,
SkippedWithMessage  )

◆ TEST_F() [10/10]

TEST_F ( SuccessfulTest ,
Succeeds  )

◆ TEST_P() [1/2]

TEST_P ( ValueParamTest ,
AnotherTestThatHasValueParamAttribute  )

◆ TEST_P() [2/2]

TEST_P ( ValueParamTest ,
HasValueParamAttribute  )

◆ TYPED_TEST()

TYPED_TEST ( TypedTest ,
HasTypeParamAttribute  )

◆ TYPED_TEST_P()

TYPED_TEST_P ( TypeParameterizedTestSuite ,
HasTypeParamAttribute  )

◆ TYPED_TEST_SUITE()

TYPED_TEST_SUITE ( TypedTest ,
TypedTestTypes  )

◆ TYPED_TEST_SUITE_P()

TYPED_TEST_SUITE_P ( TypeParameterizedTestSuite )