Classes | Namespaces | Functions | Variables
gtest-internal-inl.h File Reference
#include <errno.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include <string>
#include <vector>
#include "gtest/internal/gtest-port.h"
#include "gtest/gtest.h"
#include "gtest/gtest-spi.h"
Include dependency graph for gtest-internal-inl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  testing::internal::DefaultGlobalTestPartResultReporter
 
class  testing::internal::DefaultPerThreadTestPartResultReporter
 
class  testing::internal::GTestFlagSaver
 
class  testing::internal::OsStackTraceGetter
 
class  testing::internal::OsStackTraceGetterInterface
 
class  testing::internal::TestPropertyKeyIs
 
class  testing::internal::TestResultAccessor
 
struct  testing::internal::TraceInfo
 
class  testing::internal::UnitTestImpl
 
class  testing::internal::UnitTestOptions
 

Namespaces

 testing
 
 testing::internal
 

Functions

GTEST_API_ std::string testing::internal::CodePointToUtf8 (UInt32 code_point)
 
template<class Container , typename Predicate >
int testing::internal::CountIf (const Container &c, Predicate predicate)
 
template<typename T >
static void testing::internal::Delete (T *x)
 
template<class Container , typename Functor >
void testing::internal::ForEach (const Container &c, Functor functor)
 
GTEST_API_ std::string testing::internal::FormatEpochTimeInMillisAsIso8601 (TimeInMillis ms)
 
GTEST_API_ std::string testing::internal::FormatTimeInMillisAsSeconds (TimeInMillis ms)
 
GTEST_API_ FilePath testing::internal::GetCurrentExecutableName ()
 
template<typename E >
testing::internal::GetElementOr (const std::vector< E > &v, int i, E default_value)
 
int testing::internal::GetNextRandomSeed (int seed)
 
int testing::internal::GetRandomSeedFromFlag (Int32 random_seed_flag)
 
GTEST_API_ TimeInMillis testing::internal::GetTimeInMillis ()
 
class UnitTestImpl * testing::internal::GetUnitTestImpl ()
 
 testing::GTEST_DECLARE_bool_ (death_test_use_fork)
 
GTEST_API_ Int32 testing::internal::Int32FromEnvOrDie (const char *env_var, Int32 default_val)
 
GTEST_API_ void testing::internal::ParseGoogleTestFlagsOnly (int *argc, char **argv)
 
GTEST_API_ void testing::internal::ParseGoogleTestFlagsOnly (int *argc, wchar_t **argv)
 
GTEST_API_ bool testing::internal::ParseInt32Flag (const char *str, const char *flag, Int32 *value)
 
GTEST_API_ bool testing::internal::ShouldRunTestOnShard (int total_shards, int shard_index, int test_id)
 
GTEST_API_ bool testing::internal::ShouldShard (const char *total_shards_str, const char *shard_index_str, bool in_subprocess_for_death_test)
 
GTEST_API_ bool testing::internal::ShouldUseColor (bool stdout_is_tty)
 
template<typename E >
void testing::internal::Shuffle (internal::Random *random, std::vector< E > *v)
 
template<typename E >
void testing::internal::ShuffleRange (internal::Random *random, int begin, int end, std::vector< E > *v)
 
GTEST_API_ std::string testing::internal::WideStringToUtf8 (const wchar_t *str, int num_chars)
 
void testing::internal::WriteToShardStatusFileIfNeeded ()
 

Variables

GTEST_API_ bool testing::internal::g_help_flag = false
 
const char testing::internal::kAlsoRunDisabledTestsFlag [] = "also_run_disabled_tests"
 
const char testing::internal::kBreakOnFailureFlag [] = "break_on_failure"
 
const char testing::internal::kCatchExceptionsFlag [] = "catch_exceptions"
 
const char testing::internal::kColorFlag [] = "color"
 
const char testing::internal::kFilterFlag [] = "filter"
 
const char testing::internal::kListTestsFlag [] = "list_tests"
 
const int testing::internal::kMaxRandomSeed = 99999
 
const char testing::internal::kOutputFlag [] = "output"
 
const char testing::internal::kPrintTimeFlag [] = "print_time"
 
const char testing::internal::kRandomSeedFlag [] = "random_seed"
 
const char testing::internal::kRepeatFlag [] = "repeat"
 
const char testing::internal::kShuffleFlag [] = "shuffle"
 
const char testing::internal::kStackTraceDepthFlag [] = "stack_trace_depth"
 
const char testing::internal::kStreamResultToFlag [] = "stream_result_to"
 
const GTEST_API_ TypeId testing::internal::kTestTypeIdInGoogleTest = GetTestTypeId()
 
const char testing::internal::kThrowOnFailureFlag [] = "throw_on_failure"
 


fcl
Author(s):
autogenerated on Fri Apr 2 2021 02:38:01