Namespaces | Classes | Typedefs | Functions | Variables
testing Namespace Reference

Namespaces

 gtest_printers_test
 
 internal
 
 internal2
 

Classes

class  AssertionResult
 
class  CurrentTestInfoTest
 
class  EmptyTestEventListener
 
class  Environment
 
struct  Flags
 
class  InitGoogleTestTest
 
class  Message
 
class  ScopedFakeTestPartResultReporter
 
class  SetUpTestCaseTest
 
class  Test
 
class  TestCase
 
class  TestEventListener
 
class  TestEventListeners
 
class  TestInfo
 
class  TestInfoTest
 
class  TestPartResult
 
class  TestPartResultArray
 
class  TestPartResultReporterInterface
 
class  TestProperty
 
class  TestResult
 
class  UnitTest
 

Typedefs

typedef internal::TimeInMillis TimeInMillis
 

Functions

EnvironmentAddGlobalTestEnvironment (Environment *env)
 
template<int kSize>
std::vector< std::string > ArrayAsVector (const char *const (&array)[kSize])
 
GTEST_API_ AssertionResult AssertionFailure ()
 
GTEST_API_ AssertionResult AssertionFailure (const Message &msg)
 
GTEST_API_ AssertionResult AssertionSuccess ()
 
GTEST_API_ AssertionResult DoubleLE (const char *expr1, const char *expr2, double val1, double val2)
 
GTEST_API_ AssertionResult FloatLE (const char *expr1, const char *expr2, float val1, float val2)
 
static std::string FormatCountableNoun (int count, const char *singular_form, const char *plural_form)
 
static std::string FormatTestCaseCount (int test_case_count)
 
static std::string FormatTestCount (int test_count)
 
static std::string FormatWordList (const std::vector< std::string > &words)
 
static const char * GetDefaultFilter ()
 
static std::vector< std::string > GetReservedAttributesForElement (const std::string &xml_element)
 
 GTEST_DECLARE_bool_ (death_test_use_fork)
 
 GTEST_DECLARE_bool_ (also_run_disabled_tests)
 
 GTEST_DECLARE_bool_ (break_on_failure)
 
 GTEST_DECLARE_bool_ (catch_exceptions)
 
 GTEST_DECLARE_bool_ (list_tests)
 
 GTEST_DECLARE_bool_ (print_time)
 
 GTEST_DECLARE_bool_ (show_internal_stack_frames)
 
 GTEST_DECLARE_bool_ (shuffle)
 
 GTEST_DECLARE_bool_ (throw_on_failure)
 
 GTEST_DECLARE_int32_ (random_seed)
 
 GTEST_DECLARE_int32_ (repeat)
 
 GTEST_DECLARE_int32_ (stack_trace_depth)
 
 GTEST_DECLARE_string_ (death_test_style)
 
 GTEST_DECLARE_string_ (color)
 
 GTEST_DECLARE_string_ (filter)
 
 GTEST_DECLARE_string_ (output)
 
 GTEST_DECLARE_string_ (stream_result_to)
 
 GTEST_DEFINE_bool_ (death_test_use_fork, internal::BoolFromGTestEnv("death_test_use_fork", false),"Instructs to use fork()/_exit() instead of clone() in death tests. ""Ignored and always uses fork() on POSIX systems where clone() is not ""implemented. Useful when running under valgrind or similar tools if ""those do not support clone(). Valgrind 3.3.1 will just fail if ""it sees an unsupported combination of clone() flags. ""It is not recommended to use this flag w/o valgrind though it will ""work in 99% of the cases. Once valgrind is fixed, this flag will ""most likely be removed.")
 
 GTEST_DEFINE_bool_ (also_run_disabled_tests, internal::BoolFromGTestEnv("also_run_disabled_tests", false),"Run disabled tests too, in addition to the tests normally being run.")
 
 GTEST_DEFINE_bool_ (break_on_failure, internal::BoolFromGTestEnv("break_on_failure", false),"True iff a failed assertion should be a debugger break-point.")
 
 GTEST_DEFINE_bool_ (catch_exceptions, internal::BoolFromGTestEnv("catch_exceptions", true),"True iff "GTEST_NAME_" should catch exceptions and treat them as test failures.")
 
 GTEST_DEFINE_bool_ (list_tests, false,"List all tests without running them.")
 
 GTEST_DEFINE_bool_ (print_time, internal::BoolFromGTestEnv("print_time", true),"True iff "GTEST_NAME_" should display elapsed time in text output.")
 
 GTEST_DEFINE_bool_ (show_internal_stack_frames, false,"True iff "GTEST_NAME_" should include internal stack frames when ""printing test failure stack traces.")
 
 GTEST_DEFINE_bool_ (shuffle, internal::BoolFromGTestEnv("shuffle", false),"True iff "GTEST_NAME_" should randomize tests' order on every run.")
 
 GTEST_DEFINE_bool_ (throw_on_failure, internal::BoolFromGTestEnv("throw_on_failure", false),"When this flag is specified, a failed assertion will throw an exception ""if exceptions are enabled or exit the program with a non-zero code ""otherwise.")
 
 GTEST_DEFINE_int32_ (random_seed, internal::Int32FromGTestEnv("random_seed", 0),"Random number seed to use when shuffling test orders. Must be in range ""[1, 99999], or 0 to use a seed based on the current time.")
 
 GTEST_DEFINE_int32_ (repeat, internal::Int32FromGTestEnv("repeat", 1),"How many times to repeat each test. Specify a negative number ""for repeating forever. Useful for shaking out flaky tests.")
 
 GTEST_DEFINE_int32_ (stack_trace_depth, internal::Int32FromGTestEnv("stack_trace_depth", kMaxStackTraceDepth),"The maximum number of stack frames to print when an ""assertion fails. The valid range is 0 through 100, inclusive.")
 
 GTEST_DEFINE_string_ (death_test_style, internal::StringFromGTestEnv("death_test_style", kDefaultDeathTestStyle),"Indicates how to run a death test in a forked child process: ""\"threadsafe\" (child process re-executes the test binary ""from the beginning, running only the specific death test) or ""\"fast\" (child process runs the death test immediately ""after forking).")
 
 GTEST_DEFINE_string_ (color, internal::StringFromGTestEnv("color","auto"),"Whether to use colors in the output. Valid values: yes, no, ""and auto. 'auto' means to use colors if the output is ""being sent to a terminal and the TERM environment variable ""is set to a terminal type that supports colors.")
 
 GTEST_DEFINE_string_ (filter, internal::StringFromGTestEnv("filter", GetDefaultFilter()),"A colon-separated list of glob (not regex) patterns ""for filtering the tests to run, optionally followed by a ""'-' and a : separated list of negative patterns (tests to ""exclude). A test is run if it matches one of the positive ""patterns and does not match any of the negative patterns.")
 
 GTEST_DEFINE_string_ (output, internal::StringFromGTestEnv("output",""),"A format (currently must be \"xml\"), optionally followed ""by a colon and an output file name or directory. A directory ""is indicated by a trailing pathname separator. ""Examples: \"xml:filename.xml\", \"xml::directoryname/\". ""If a directory is specified, output files will be created ""within that directory, with file-names based on the test ""executable's name and, if necessary, made unique by adding ""digits.")
 
 GTEST_DEFINE_string_ (stream_result_to, internal::StringFromGTestEnv("stream_result_to",""),"This flag specifies the host name and the port number on which to stream ""test results. Example: \"localhost:555\". The flag is effective only on ""Linux.")
 
GTEST_API_ void InitGoogleTest (int *argc, char **argv)
 
GTEST_API_ void InitGoogleTest (int *argc, wchar_t **argv)
 
GTEST_API_ AssertionResult IsNotSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack)
 
GTEST_API_ AssertionResult IsNotSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack)
 
GTEST_API_ AssertionResult IsNotSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack)
 
GTEST_API_ AssertionResult IsSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack)
 
GTEST_API_ AssertionResult IsSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack)
 
GTEST_API_ AssertionResult IsSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack)
 
std::ostream & operator<< (std::ostream &os, const TestPartResult &result)
 
std::ostream & operator<< (std::ostream &os, const Message &sb)
 
void PrintFlag (const char *flag)
 
template<typename T >
::std::string PrintToString (const T &value)
 
template<typename T1 , typename T2 >
bool StaticAssertTypeEq ()
 
 TEST (GTestEnvVarTest, Dummy)
 
 TEST (SuccessfulAssertionTest, SUCCEED)
 
 TEST (SuccessfulAssertionTest, EXPECT)
 
 TEST (SuccessfulAssertionTest, EXPECT_STR)
 
 TEST (SuccessfulAssertionTest, ASSERT)
 
 TEST (SuccessfulAssertionTest, ASSERT_STR)
 
 TEST_F (TestInfoTest, Names)
 
 TEST_F (TestInfoTest, result)
 
 TEST_F (SetUpTestCaseTest, Test1)
 
 TEST_F (SetUpTestCaseTest, Test2)
 
 TEST_F (InitGoogleTestTest, Empty)
 
 TEST_F (InitGoogleTestTest, NoFlag)
 
 TEST_F (InitGoogleTestTest, FilterBad)
 
 TEST_F (InitGoogleTestTest, FilterEmpty)
 
 TEST_F (InitGoogleTestTest, FilterNonEmpty)
 
 TEST_F (InitGoogleTestTest, BreakOnFailureWithoutValue)
 
 TEST_F (InitGoogleTestTest, BreakOnFailureFalse_0)
 
 TEST_F (InitGoogleTestTest, BreakOnFailureFalse_f)
 
 TEST_F (InitGoogleTestTest, BreakOnFailureFalse_F)
 
 TEST_F (InitGoogleTestTest, BreakOnFailureTrue)
 
 TEST_F (InitGoogleTestTest, CatchExceptions)
 
 TEST_F (InitGoogleTestTest, DeathTestUseFork)
 
 TEST_F (InitGoogleTestTest, DuplicatedFlags)
 
 TEST_F (InitGoogleTestTest, UnrecognizedFlag)
 
 TEST_F (InitGoogleTestTest, ListTestsFlag)
 
 TEST_F (InitGoogleTestTest, ListTestsTrue)
 
 TEST_F (InitGoogleTestTest, ListTestsFalse)
 
 TEST_F (InitGoogleTestTest, ListTestsFalse_f)
 
 TEST_F (InitGoogleTestTest, ListTestsFalse_F)
 
 TEST_F (InitGoogleTestTest, OutputEmpty)
 
 TEST_F (InitGoogleTestTest, OutputXml)
 
 TEST_F (InitGoogleTestTest, OutputXmlFile)
 
 TEST_F (InitGoogleTestTest, OutputXmlDirectory)
 
 TEST_F (InitGoogleTestTest, PrintTimeFlag)
 
 TEST_F (InitGoogleTestTest, PrintTimeTrue)
 
 TEST_F (InitGoogleTestTest, PrintTimeFalse)
 
 TEST_F (InitGoogleTestTest, PrintTimeFalse_f)
 
 TEST_F (InitGoogleTestTest, PrintTimeFalse_F)
 
 TEST_F (InitGoogleTestTest, RandomSeed)
 
 TEST_F (InitGoogleTestTest, Repeat)
 
 TEST_F (InitGoogleTestTest, AlsoRunDisabledTestsFlag)
 
 TEST_F (InitGoogleTestTest, AlsoRunDisabledTestsTrue)
 
 TEST_F (InitGoogleTestTest, AlsoRunDisabledTestsFalse)
 
 TEST_F (InitGoogleTestTest, ShuffleWithoutValue)
 
 TEST_F (InitGoogleTestTest, ShuffleFalse_0)
 
 TEST_F (InitGoogleTestTest, ShuffleTrue)
 
 TEST_F (InitGoogleTestTest, StackTraceDepth)
 
 TEST_F (InitGoogleTestTest, StreamResultTo)
 
 TEST_F (InitGoogleTestTest, ThrowOnFailureWithoutValue)
 
 TEST_F (InitGoogleTestTest, ThrowOnFailureFalse_0)
 
 TEST_F (InitGoogleTestTest, ThrowOnFailureTrue)
 
 TEST_F (CurrentTestInfoTest, WorksForFirstTestInATestCase)
 
 TEST_F (CurrentTestInfoTest, WorksForSecondTestInATestCase)
 
static bool TestPartFatallyFailed (const TestPartResult &result)
 
static bool TestPartNonfatallyFailed (const TestPartResult &result)
 
static const char * TestPartResultTypeToString (TestPartResult::Type type)
 
bool ValidateTestPropertyName (const std::string &property_name, const std::vector< std::string > &reserved_names)
 

Variables

static const char kDeathTestCaseFilter [] = "*DeathTest:*DeathTest/*"
 
static const char kDefaultDeathTestStyle [] = "fast"
 
static const char kDefaultOutputFile [] = "test_detail.xml"
 
static const char kDisableTestFilter [] = "DISABLED_*:*/DISABLED_*"
 
const int kMaxStackTraceDepth = 100
 
static const char *const kReservedTestCaseAttributes []
 
static const char *const kReservedTestSuiteAttributes []
 
static const char *const kReservedTestSuitesAttributes []
 
static const char kTestShardIndex [] = "GTEST_SHARD_INDEX"
 
static const char kTestShardStatusFile [] = "GTEST_SHARD_STATUS_FILE"
 
static const char kTestTotalShards [] = "GTEST_TOTAL_SHARDS"
 
static const char kUniversalFilter [] = "*"
 

Typedef Documentation

Definition at line 481 of file gtest.h.

Function Documentation

Environment* testing::AddGlobalTestEnvironment ( Environment env)
inline

Definition at line 1342 of file gtest.h.

template<int kSize>
std::vector<std::string> testing::ArrayAsVector ( const char *const (&)  array[kSize])

Definition at line 2071 of file gtest.cc.

AssertionResult testing::AssertionFailure ( )

Definition at line 978 of file gtest.cc.

AssertionResult testing::AssertionFailure ( const Message msg)

Definition at line 984 of file gtest.cc.

AssertionResult testing::AssertionSuccess ( )

Definition at line 973 of file gtest.cc.

AssertionResult testing::DoubleLE ( const char *  expr1,
const char *  expr2,
double  val1,
double  val2 
)

Definition at line 1391 of file gtest.cc.

AssertionResult testing::FloatLE ( const char *  expr1,
const char *  expr2,
float  val1,
float  val2 
)

Definition at line 1384 of file gtest.cc.

static std::string testing::FormatCountableNoun ( int  count,
const char *  singular_form,
const char *  plural_form 
)
static

Definition at line 2765 of file gtest.cc.

static std::string testing::FormatTestCaseCount ( int  test_case_count)
static

Definition at line 2778 of file gtest.cc.

static std::string testing::FormatTestCount ( int  test_count)
static

Definition at line 2773 of file gtest.cc.

static std::string testing::FormatWordList ( const std::vector< std::string > &  words)
static

Definition at line 2090 of file gtest.cc.

static const char* testing::GetDefaultFilter ( )
static

Definition at line 191 of file gtest.cc.

static std::vector<std::string> testing::GetReservedAttributesForElement ( const std::string &  xml_element)
static

Definition at line 2075 of file gtest.cc.

testing::GTEST_DECLARE_bool_ ( death_test_use_fork  )
testing::GTEST_DECLARE_bool_ ( also_run_disabled_tests  )
testing::GTEST_DECLARE_bool_ ( break_on_failure  )
testing::GTEST_DECLARE_bool_ ( catch_exceptions  )
testing::GTEST_DECLARE_bool_ ( list_tests  )
testing::GTEST_DECLARE_bool_ ( print_time  )
testing::GTEST_DECLARE_bool_ ( show_internal_stack_frames  )
testing::GTEST_DECLARE_bool_ ( shuffle  )
testing::GTEST_DECLARE_bool_ ( throw_on_failure  )
testing::GTEST_DECLARE_int32_ ( random_seed  )
testing::GTEST_DECLARE_int32_ ( repeat  )
testing::GTEST_DECLARE_int32_ ( stack_trace_depth  )
testing::GTEST_DECLARE_string_ ( death_test_style  )
testing::GTEST_DECLARE_string_ ( color  )
testing::GTEST_DECLARE_string_ ( filter  )
testing::GTEST_DECLARE_string_ ( output  )
testing::GTEST_DECLARE_string_ ( stream_result_to  )
testing::GTEST_DEFINE_bool_ ( death_test_use_fork  ,
internal::BoolFromGTestEnv("death_test_use_fork", false)  ,
"Instructs to use fork()/_exit() instead of clone() in death tests. ""Ignored and always uses fork() on POSIX systems where clone() is not ""implemented. Useful when running under valgrind or similar tools if ""those do not support clone(). Valgrind 3.3.1 will just fail if ""it sees an unsupported combination of clone() flags. ""It is not recommended to use this flag w/o valgrind though it will ""work in 99% of the cases. Once valgrind is  fixed,
this flag will""most likely be removed."   
)
testing::GTEST_DEFINE_bool_ ( also_run_disabled_tests  ,
internal::BoolFromGTestEnv("also_run_disabled_tests", false)  ,
"Run disabled tests  too,
in addition to the tests normally being run."   
)
testing::GTEST_DEFINE_bool_ ( break_on_failure  ,
internal::BoolFromGTestEnv("break_on_failure", false)  ,
"True iff a failed assertion should be a debugger break-point."   
)
testing::GTEST_DEFINE_bool_ ( catch_exceptions  ,
internal::BoolFromGTestEnv("catch_exceptions", true)  ,
"True iff "GTEST_NAME_" should catch exceptions and treat them as test failures."   
)
testing::GTEST_DEFINE_bool_ ( list_tests  ,
false  ,
"List all tests without running them."   
)
testing::GTEST_DEFINE_bool_ ( print_time  ,
internal::BoolFromGTestEnv("print_time", true)  ,
"True iff "GTEST_NAME_" should display elapsed time in text output."   
)
testing::GTEST_DEFINE_bool_ ( show_internal_stack_frames  ,
false  ,
"True iff "GTEST_NAME_" should include internal stack frames when ""printing test failure stack traces."   
)
testing::GTEST_DEFINE_bool_ ( shuffle  ,
internal::BoolFromGTestEnv("shuffle", false)  ,
"True iff "GTEST_NAME_" should randomize tests' order on every run."   
)
testing::GTEST_DEFINE_bool_ ( throw_on_failure  ,
internal::BoolFromGTestEnv("throw_on_failure", false)  ,
"When this flag is  specified,
a failed assertion will throw an exception""if exceptions are enabled or exit the program with a non-zero code""otherwise."   
)
testing::GTEST_DEFINE_int32_ ( random_seed  ,
internal::Int32FromGTestEnv("random_seed", 0)  ,
"Random number seed to use when shuffling test orders. Must be in range ""  [1, 99999],
or 0 to use a seed based on the current time."   
)
testing::GTEST_DEFINE_int32_ ( repeat  ,
internal::Int32FromGTestEnv("repeat", 1)  ,
"How many times to repeat each test. Specify a negative number ""for repeating forever. Useful for shaking out flaky tests."   
)
testing::GTEST_DEFINE_int32_ ( stack_trace_depth  ,
internal::Int32FromGTestEnv("stack_trace_depth", kMaxStackTraceDepth)  ,
"The maximum number of stack frames to print when an ""assertion fails. The valid range is 0 through  100,
inclusive."   
)
testing::GTEST_DEFINE_string_ ( death_test_style  ,
internal::StringFromGTestEnv("death_test_style", kDefaultDeathTestStyle)  ,
"Indicates how to run a death test in a forked child process: ""\"threadsafe\" (child process re-executes the test binary ""from the beginning, running only the specific death test) or ""\"fast\" (child process runs the death test immediately ""after forking)."   
)
testing::GTEST_DEFINE_string_ ( color  ,
internal::StringFromGTestEnv("color","auto")  ,
"Whether to use colors in the output. Valid values:  yes,
no  ,
""and auto. 'auto'means to use colors if the output is""being sent to a terminal and the TERM environment variable""is set to a terminal type that supports colors."   
)
testing::GTEST_DEFINE_string_ ( filter  ,
internal::StringFromGTestEnv("filter", GetDefaultFilter())  ,
"A colon-separated list of glob (not regex) patterns ""for filtering the tests to  run,
optionally followed by a""'-'and a:separated list of negative patterns(tests to""exclude).A test is run if it matches one of the positive""patterns and does not match any of the negative patterns."   
)
testing::GTEST_DEFINE_string_ ( output  ,
internal::StringFromGTestEnv("output","")  ,
"A format   currently must be \"xml\",
optionally followed""by a colon and an output file name or directory.A directory""is indicated by a trailing pathname separator.""Examples:\"xml:filename.xml\"  ,
\"xml::directoryname/\". ""If a directory is  specified,
output files will be created""within that  directory,
with file-names based on the test""executable's name  and,
if  necessary,
made unique by adding""digits."   
)
testing::GTEST_DEFINE_string_ ( stream_result_to  ,
internal::StringFromGTestEnv("stream_result_to","")  ,
"This flag specifies the host name and the port number on which to stream ""test results. Example: \"localhost:555\". The flag is effective only on ""Linux."   
)
void testing::InitGoogleTest ( int *  argc,
char **  argv 
)

Definition at line 5292 of file gtest.cc.

void testing::InitGoogleTest ( int *  argc,
wchar_t **  argv 
)

Definition at line 5298 of file gtest.cc.

AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const char *  needle,
const char *  haystack 
)

Definition at line 1581 of file gtest.cc.

AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const wchar_t *  needle,
const wchar_t *  haystack 
)

Definition at line 1587 of file gtest.cc.

AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const ::std::string &  needle,
const ::std::string &  haystack 
)

Definition at line 1599 of file gtest.cc.

AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const char *  needle,
const char *  haystack 
)

Definition at line 1569 of file gtest.cc.

AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const wchar_t *  needle,
const wchar_t *  haystack 
)

Definition at line 1575 of file gtest.cc.

AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const ::std::string &  needle,
const ::std::string &  haystack 
)

Definition at line 1593 of file gtest.cc.

std::ostream & testing::operator<< ( std::ostream &  os,
const TestPartResult result 
)

Definition at line 58 of file gtest-test-part.cc.

std::ostream& testing::operator<< ( std::ostream &  os,
const Message sb 
)
inline

Definition at line 232 of file gtest-message.h.

void testing::PrintFlag ( const char *  flag)

Definition at line 53 of file gtest_env_var_test_.cc.

template<typename T >
::std::string testing::PrintToString ( const T &  value)

Definition at line 883 of file gtest-printers.h.

template<typename T1 , typename T2 >
bool testing::StaticAssertTypeEq ( )

Definition at line 2243 of file gtest.h.

testing::TEST ( GTestEnvVarTest  ,
Dummy   
)

Definition at line 50 of file gtest_env_var_test_.cc.

testing::TEST ( SuccessfulAssertionTest  ,
SUCCEED   
)

Definition at line 4179 of file gtest_unittest.cc.

testing::TEST ( SuccessfulAssertionTest  ,
EXPECT   
)

Definition at line 4186 of file gtest_unittest.cc.

testing::TEST ( SuccessfulAssertionTest  ,
EXPECT_STR   
)

Definition at line 4192 of file gtest_unittest.cc.

testing::TEST ( SuccessfulAssertionTest  ,
ASSERT   
)

Definition at line 4198 of file gtest_unittest.cc.

testing::TEST ( SuccessfulAssertionTest  ,
ASSERT_STR   
)

Definition at line 4204 of file gtest_unittest.cc.

testing::TEST_F ( TestInfoTest  ,
Names   
)

Definition at line 5304 of file gtest_unittest.cc.

testing::TEST_F ( TestInfoTest  ,
result   
)

Definition at line 5312 of file gtest_unittest.cc.

testing::TEST_F ( SetUpTestCaseTest  ,
Test1   
)

Definition at line 5376 of file gtest_unittest.cc.

testing::TEST_F ( SetUpTestCaseTest  ,
Test2   
)

Definition at line 5381 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
Empty   
)

Definition at line 5644 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
NoFlag   
)

Definition at line 5657 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
FilterBad   
)

Definition at line 5672 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
FilterEmpty   
)

Definition at line 5689 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
FilterNonEmpty   
)

Definition at line 5705 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
BreakOnFailureWithoutValue   
)

Definition at line 5721 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
BreakOnFailureFalse_0   
)

Definition at line 5737 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
BreakOnFailureFalse_f   
)

Definition at line 5753 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
BreakOnFailureFalse_F   
)

Definition at line 5769 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
BreakOnFailureTrue   
)

Definition at line 5786 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
CatchExceptions   
)

Definition at line 5802 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
DeathTestUseFork   
)

Definition at line 5818 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
DuplicatedFlags   
)

Definition at line 5835 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
UnrecognizedFlag   
)

Definition at line 5852 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
ListTestsFlag   
)

Definition at line 5874 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
ListTestsTrue   
)

Definition at line 5890 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
ListTestsFalse   
)

Definition at line 5906 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
ListTestsFalse_f   
)

Definition at line 5922 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
ListTestsFalse_F   
)

Definition at line 5938 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
OutputEmpty   
)

Definition at line 5954 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
OutputXml   
)

Definition at line 5971 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
OutputXmlFile   
)

Definition at line 5987 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
OutputXmlDirectory   
)

Definition at line 6003 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
PrintTimeFlag   
)

Definition at line 6020 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
PrintTimeTrue   
)

Definition at line 6036 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
PrintTimeFalse   
)

Definition at line 6052 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
PrintTimeFalse_f   
)

Definition at line 6068 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
PrintTimeFalse_F   
)

Definition at line 6084 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
RandomSeed   
)

Definition at line 6100 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
Repeat   
)

Definition at line 6116 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
AlsoRunDisabledTestsFlag   
)

Definition at line 6132 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
AlsoRunDisabledTestsTrue   
)

Definition at line 6149 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
AlsoRunDisabledTestsFalse   
)

Definition at line 6166 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
ShuffleWithoutValue   
)

Definition at line 6183 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
ShuffleFalse_0   
)

Definition at line 6199 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
ShuffleTrue   
)

Definition at line 6216 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
StackTraceDepth   
)

Definition at line 6232 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
StreamResultTo   
)

Definition at line 6247 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
ThrowOnFailureWithoutValue   
)

Definition at line 6264 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
ThrowOnFailureFalse_0   
)

Definition at line 6280 of file gtest_unittest.cc.

testing::TEST_F ( InitGoogleTestTest  ,
ThrowOnFailureTrue   
)

Definition at line 6297 of file gtest_unittest.cc.

testing::TEST_F ( CurrentTestInfoTest  ,
WorksForFirstTestInATestCase   
)

Definition at line 6364 of file gtest_unittest.cc.

testing::TEST_F ( CurrentTestInfoTest  ,
WorksForSecondTestInATestCase   
)

Definition at line 6379 of file gtest_unittest.cc.

static bool testing::TestPartFatallyFailed ( const TestPartResult result)
static

Definition at line 2142 of file gtest.cc.

static bool testing::TestPartNonfatallyFailed ( const TestPartResult result)
static

Definition at line 2152 of file gtest.cc.

static const char* testing::TestPartResultTypeToString ( TestPartResult::Type  type)
static

Definition at line 2786 of file gtest.cc.

bool testing::ValidateTestPropertyName ( const std::string &  property_name,
const std::vector< std::string > &  reserved_names 
)

Definition at line 2104 of file gtest.cc.

Variable Documentation

const char testing::kDeathTestCaseFilter[] = "*DeathTest:*DeathTest/*"
static

Definition at line 164 of file gtest.cc.

const char testing::kDefaultDeathTestStyle[] = "fast"
static

Definition at line 83 of file gtest-death-test.cc.

const char testing::kDefaultOutputFile[] = "test_detail.xml"
static

Definition at line 170 of file gtest.cc.

const char testing::kDisableTestFilter[] = "DISABLED_*:*/DISABLED_*"
static

Definition at line 159 of file gtest.cc.

const int testing::kMaxStackTraceDepth = 100

Definition at line 147 of file gtest.h.

const char* const testing::kReservedTestCaseAttributes[]
static
Initial value:
= {
"classname",
"name",
"status",
"time",
"type_param",
"value_param"
}

Definition at line 2061 of file gtest.cc.

const char* const testing::kReservedTestSuiteAttributes[]
static
Initial value:
= {
"disabled",
"errors",
"failures",
"name",
"tests",
"time"
}

Definition at line 2051 of file gtest.cc.

const char* const testing::kReservedTestSuitesAttributes[]
static
Initial value:
= {
"disabled",
"errors",
"failures",
"name",
"random_seed",
"tests",
"time",
"timestamp"
}

Definition at line 2038 of file gtest.cc.

const char testing::kTestShardIndex[] = "GTEST_SHARD_INDEX"
static

Definition at line 173 of file gtest.cc.

const char testing::kTestShardStatusFile[] = "GTEST_SHARD_STATUS_FILE"
static

Definition at line 177 of file gtest.cc.

const char testing::kTestTotalShards[] = "GTEST_TOTAL_SHARDS"
static

Definition at line 175 of file gtest.cc.

const char testing::kUniversalFilter[] = "*"
static

Definition at line 167 of file gtest.cc.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:18