Torque2D Reference
|
Namespaces | |
posix | |
Typedefs | |
typedef FloatingPoint< float > | Float |
typedef FloatingPoint< double > | Double |
typedef const void * | TypeId |
typedef void(* | SetUpTestCaseFunc) () |
typedef void(* | TearDownTestCaseFunc) () |
typedef int | IsContainer |
typedef char | IsNotContainer |
typedef ::std::string | string |
typedef ::std::wstring | wstring |
typedef GTestMutexLock | MutexLock |
typedef bool_constant< false > | false_type |
typedef bool_constant< true > | true_type |
typedef long long | BiggestInt |
typedef TypeWithSize< 4 >::Int | Int32 |
typedef TypeWithSize< 4 >::UInt | UInt32 |
typedef TypeWithSize< 8 >::Int | Int64 |
typedef TypeWithSize< 8 >::UInt | UInt64 |
typedef TypeWithSize< 8 >::Int | TimeInMillis |
typedef ::std::vector< string > | Strings |
Functions | |
template<typename T > | |
void | UniversalPrint (const T &value,::std::ostream *os) |
template<typename C > | |
void | DefaultPrintTo (IsContainer, false_type, const C &container,::std::ostream *os) |
template<typename T > | |
void | DefaultPrintTo (IsNotContainer, true_type, T *p,::std::ostream *os) |
template<typename T > | |
void | DefaultPrintTo (IsNotContainer, false_type, const T &value,::std::ostream *os) |
template<typename T > | |
void | PrintTo (const T &value,::std::ostream *os) |
GTEST_API_ void | PrintTo (unsigned char c,::std::ostream *os) |
GTEST_API_ void | PrintTo (signed char c,::std::ostream *os) |
void | PrintTo (char c,::std::ostream *os) |
void | PrintTo (bool x,::std::ostream *os) |
GTEST_API_ void | PrintTo (wchar_t wc,::std::ostream *os) |
GTEST_API_ void | PrintTo (const char *s,::std::ostream *os) |
void | PrintTo (char *s,::std::ostream *os) |
void | PrintTo (const signed char *s,::std::ostream *os) |
void | PrintTo (signed char *s,::std::ostream *os) |
void | PrintTo (const unsigned char *s,::std::ostream *os) |
void | PrintTo (unsigned char *s,::std::ostream *os) |
GTEST_API_ void | PrintTo (const wchar_t *s,::std::ostream *os) |
void | PrintTo (wchar_t *s,::std::ostream *os) |
template<typename T > | |
void | PrintRawArrayTo (const T a[], size_t count,::std::ostream *os) |
GTEST_API_ void | PrintStringTo (const ::std::string &s,::std::ostream *os) |
void | PrintTo (const ::std::string &s,::std::ostream *os) |
template<typename T1 , typename T2 > | |
void | PrintTo (const ::std::pair< T1, T2 > &value,::std::ostream *os) |
template<typename T > | |
void | UniversalPrintArray (const T *begin, size_t len,::std::ostream *os) |
GTEST_API_ void | UniversalPrintArray (const char *begin, size_t len,::std::ostream *os) |
template<typename T > | |
void | UniversalTersePrint (const T &value,::std::ostream *os) |
void | UniversalTersePrint (const char *str,::std::ostream *os) |
void | UniversalTersePrint (char *str,::std::ostream *os) |
class UnitTestImpl * | GetUnitTestImpl () |
void | ReportFailureInUnknownLocation (TestPartResult::Type result_type, const String &message) |
template<typename T > | |
String | StreamableToString (const T &streamable) |
template<typename T1 , typename T2 > | |
String | FormatForComparisonFailureMessage (const T1 &value, const T2 &) |
template<typename T1 , typename T2 > | |
AssertionResult | CmpHelperEQ (const char *expected_expression, const char *actual_expression, const T1 &expected, const T2 &actual) |
GTEST_API_ AssertionResult | CmpHelperEQ (const char *expected_expression, const char *actual_expression, BiggestInt expected, BiggestInt actual) |
GTEST_IMPL_CMP_HELPER_ (NE,!=) | |
GTEST_IMPL_CMP_HELPER_ (LE,<=) | |
GTEST_IMPL_CMP_HELPER_ (LT,< ) | |
GTEST_IMPL_CMP_HELPER_ (GE, >=) | |
GTEST_IMPL_CMP_HELPER_ (GT, >) | |
GTEST_API_ AssertionResult | CmpHelperSTREQ (const char *expected_expression, const char *actual_expression, const char *expected, const char *actual) |
GTEST_API_ AssertionResult | CmpHelperSTRCASEEQ (const char *expected_expression, const char *actual_expression, const char *expected, const char *actual) |
GTEST_API_ AssertionResult | CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
GTEST_API_ AssertionResult | CmpHelperSTRCASENE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
GTEST_API_ AssertionResult | CmpHelperSTREQ (const char *expected_expression, const char *actual_expression, const wchar_t *expected, const wchar_t *actual) |
GTEST_API_ AssertionResult | CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2) |
template<typename RawType > | |
AssertionResult | CmpHelperFloatingPointEQ (const char *expected_expression, const char *actual_expression, RawType expected, RawType actual) |
GTEST_API_ AssertionResult | DoubleNearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, double val1, double val2, double abs_error) |
GTEST_DECLARE_string_ (internal_run_death_test) | |
char | IsNullLiteralHelper (Secret *p) |
char(& | IsNullLiteralHelper (...))[2] |
GTEST_API_ String | AppendUserMessage (const String >est_msg, const Message &user_msg) |
GTEST_API_ AssertionResult | EqFailure (const char *expected_expression, const char *actual_expression, const String &expected_value, const String &actual_value, bool ignoring_case) |
GTEST_API_ String | GetBoolAssertionFailureMessage (const AssertionResult &assertion_result, const char *expression_text, const char *actual_predicate_value, const char *expected_predicate_value) |
template<typename T > | |
TypeId | GetTypeId () |
GTEST_API_ TypeId | GetTestTypeId () |
GTEST_API_ TestInfo * | MakeAndRegisterTestInfo (const char *test_case_name, const char *name, const char *type_param, const char *value_param, TypeId fixture_class_id, SetUpTestCaseFunc set_up_tc, TearDownTestCaseFunc tear_down_tc, TestFactoryBase *factory) |
GTEST_API_ bool | SkipPrefix (const char *prefix, const char **pstr) |
GTEST_API_ String | GetCurrentOsStackTraceExceptTop (UnitTest *unit_test, int skip_count) |
GTEST_API_ bool | AlwaysTrue () |
bool | AlwaysFalse () |
template<class C > | |
IsContainer | IsContainerTest (int, typename C::iterator *=NULL, typename C::const_iterator *=NULL) |
template<class C > | |
IsNotContainer | IsContainerTest (long) |
template<typename T , typename U > | |
bool | ArrayEq (const T *lhs, size_t size, const U *rhs) |
template<typename T , typename U > | |
bool | ArrayEq (const T &lhs, const U &rhs) |
template<typename T , typename U , size_t N> | |
bool | ArrayEq (const T(&lhs)[N], const U(&rhs)[N]) |
template<typename Iter , typename Element > | |
Iter | ArrayAwareFind (Iter begin, Iter end, const Element &elem) |
template<typename T , typename U > | |
void | CopyArray (const T *from, size_t size, U *to) |
template<typename T , typename U > | |
void | CopyArray (const T &from, U *to) |
template<typename T , typename U , size_t N> | |
void | CopyArray (const T(&from)[N], U(*to)[N]) |
GTEST_API_ | GTEST_DECLARE_STATIC_MUTEX_ (g_linked_ptr_mutex) |
template<typename T > | |
bool | operator== (T *ptr, const linked_ptr< T > &x) |
template<typename T > | |
bool | operator!= (T *ptr, const linked_ptr< T > &x) |
template<typename T > | |
linked_ptr< T > | make_linked_ptr (T *ptr) |
GTEST_API_ bool | IsTrue (bool condition) |
GTEST_API_::std::string | FormatFileLocation (const char *file, int line) |
GTEST_API_::std::string | FormatCompilerIndependentFileLocation (const char *file, int line) |
void | LogToStderr () |
void | FlushInfoLog () |
template<typename To > | |
To | ImplicitCast_ (To x) |
template<typename To , typename From > | |
To | DownCast_ (From *f) |
template<class Derived , class Base > | |
Derived * | CheckedDowncastToActualType (Base *base) |
GTEST_API_ void | CaptureStdout () |
GTEST_API_ String | GetCapturedStdout () |
GTEST_API_ void | CaptureStderr () |
GTEST_API_ String | GetCapturedStderr () |
GTEST_API_ size_t | GetThreadCount () |
bool | IsAlpha (char ch) |
bool | IsAlNum (char ch) |
bool | IsDigit (char ch) |
bool | IsLower (char ch) |
bool | IsSpace (char ch) |
bool | IsUpper (char ch) |
bool | IsXDigit (char ch) |
char | ToLower (char ch) |
char | ToUpper (char ch) |
bool | ParseInt32 (const Message &src_text, const char *str, Int32 *value) |
bool | BoolFromGTestEnv (const char *flag, bool default_val) |
GTEST_API_ Int32 | Int32FromGTestEnv (const char *flag, Int32 default_val) |
const char * | StringFromGTestEnv (const char *flag, const char *default_val) |
inline::std::ostream & | operator<< (::std::ostream &os, const String &str) |
GTEST_API_ String | StringStreamToString (::std::stringstream *stream) |
template<typename T > | |
String | GetTypeName () |
GTEST_DEFINE_string_ (internal_run_death_test,"","Indicates the file, line number, temporal index of ""the single death test to run, and a file descriptor to ""which a success code may be sent, all separated by ""colons. This flag is specified if and only if the current ""process is a sub-process launched for running a thread-safe ""death test. FOR INTERNAL USE ONLY.") | |
GTEST_API_ TimeInMillis | GetTimeInMillis () |
GTEST_API_ bool | ShouldUseColor (bool stdout_is_tty) |
GTEST_API_ std::string | FormatTimeInMillisAsSeconds (TimeInMillis ms) |
GTEST_API_ bool | ParseInt32Flag (const char *str, const char *flag, Int32 *value) |
int | GetRandomSeedFromFlag (Int32 random_seed_flag) |
int | GetNextRandomSeed (int seed) |
GTEST_API_ char * | CodePointToUtf8 (UInt32 code_point, char *str) |
GTEST_API_ String | WideStringToUtf8 (const wchar_t *str, int num_chars) |
void | WriteToShardStatusFileIfNeeded () |
GTEST_API_ bool | ShouldShard (const char *total_shards_str, const char *shard_index_str, bool in_subprocess_for_death_test) |
GTEST_API_ Int32 | Int32FromEnvOrDie (const char *env_var, Int32 default_val) |
GTEST_API_ bool | ShouldRunTestOnShard (int total_shards, int shard_index, int test_id) |
template<class Container , typename Predicate > | |
int | CountIf (const Container &c, Predicate predicate) |
template<class Container , typename Functor > | |
void | ForEach (const Container &c, Functor functor) |
template<typename E > | |
E | GetElementOr (const std::vector< E > &v, int i, E default_value) |
template<typename E > | |
void | ShuffleRange (internal::Random *random, int begin, int end, std::vector< E > *v) |
template<typename E > | |
void | Shuffle (internal::Random *random, std::vector< E > *v) |
GTEST_API_ FilePath | GetCurrentExecutableName () |
GTEST_API_ void | ParseGoogleTestFlagsOnly (int *argc, char **argv) |
GTEST_API_ void | ParseGoogleTestFlagsOnly (int *argc, wchar_t **argv) |
bool | IsPrintableAscii (wchar_t c) |
template<typename UnsignedChar , typename Char > | |
void | PrintCharAndCodeTo (Char c, ostream *os) |
void | PrintTo (wchar_t wc, ostream *os) |
void | UniversalPrintArray (const char *begin, size_t len, ostream *os) |
void | PrintTo (const char *s, ostream *os) |
void | PrintTo (const wchar_t *s, ostream *os) |
void | PrintStringTo (const ::std::string &s, ostream *os) |
GTEST_DEFINE_STATIC_MUTEX_ (g_linked_ptr_mutex) | |
AssertionResult | HasOneFailure (const char *, const char *, const char *, const TestPartResultArray &results, TestPartResult::Type type, const string &substr) |
template<typename RawType > | |
AssertionResult | FloatingPointLE (const char *expr1, const char *expr2, RawType val1, RawType val2) |
UInt32 | ChopLowBits (UInt32 *bits, int n) |
bool | IsUtf16SurrogatePair (wchar_t first, wchar_t second) |
UInt32 | CreateCodePointFromUtf16SurrogatePair (wchar_t first, wchar_t second) |
template<class T , typename Result > | |
Result | HandleSehExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location) |
template<class T , typename Result > | |
Result | HandleExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location) |
const char * | GetAnsiColorCode (GTestColor color) |
void | ColoredPrintf (GTestColor color, const char *fmt,...) |
void | PrintFullTestCommentIfPresent (const TestInfo &test_info) |
const char * | ParseFlagValue (const char *str, const char *flag, bool def_optional) |
bool | ParseBoolFlag (const char *str, const char *flag, bool *value) |
bool | ParseStringFlag (const char *str, const char *flag, String *value) |
template<typename CharType > | |
void | ParseGoogleTestFlagsOnlyImpl (int *argc, CharType **argv) |
template<typename CharType > | |
void | InitGoogleTestImpl (int *argc, CharType **argv) |
GTEST_API_ void | PrintWideStringTo (const ::std::wstring &s,::std::ostream *os) |
void | PrintTo (const ::std::wstring &s,::std::ostream *os) |
template<typename T > | |
void | PrintTupleTo (const T &t,::std::ostream *os) |
void | PrintTo (const ::std::tr1::tuple<> &t,::std::ostream *os) |
template<typename T1 > | |
void | PrintTo (const ::std::tr1::tuple< T1 > &t,::std::ostream *os) |
template<typename T1 , typename T2 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2 > &t,::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3 > &t,::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4 > &t,::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5 > &t,::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6 > &t,::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7 > &t,::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8 > &t,::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9 > &t,::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > &t,::std::ostream *os) |
template<typename Tuple > | |
Strings | UniversalTersePrintTupleFieldsToStrings (const Tuple &value) |
GTEST_API_ void | ReportInvalidTestCaseType (const char *test_case_name, const char *file, int line) |
TEST_F (ListenerTest, DoesFoo) | |
TEST_F (ListenerTest, DoesBar) | |
TEST (ImplicitCastTest, ConvertsPointers) | |
TEST (ImplicitCastTest, CanUseInheritance) | |
TEST (ImplicitCastTest, CanUseNonConstCastOperator) | |
TEST (ImplicitCastTest, CanUseConstCastOperatorOnConstValues) | |
TEST (ImplicitCastTest, CanSelectBetweenConstAndNonConstCasrAppropriately) | |
TEST (ImplicitCastTest, CanUseImplicitConstructor) | |
TEST (IteratorTraitsTest, WorksForSTLContainerIterators) | |
TEST (IteratorTraitsTest, WorksForPointerToNonConst) | |
TEST (IteratorTraitsTest, WorksForPointerToConst) | |
TEST (ScopedPtrTest, DefinesElementType) | |
TEST (GtestCheckSyntaxTest, BehavesLikeASingleStatement) | |
TEST (GtestCheckSyntaxTest, WorksWithSwitch) | |
TEST (FormatFileLocationTest, FormatsFileLocation) | |
TEST (FormatFileLocationTest, FormatsUnknownFile) | |
TEST (FormatFileLocationTest, FormatsUknownLine) | |
TEST (FormatFileLocationTest, FormatsUknownFileAndLine) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsFileLocation) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownFile) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownLine) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownFileAndLine) | |
TEST (GetThreadCountTest, ReturnsZeroWhenUnableToCountThreads) | |
TEST (GtestCheckDeathTest, DiesWithCorrectOutputOnFailure) | |
TEST (RegexEngineSelectionTest, SelectsCorrectRegexEngine) | |
TEST (CaptureTest, CapturesStdout) | |
TEST (CaptureTest, CapturesStderr) | |
TEST (CaptureTest, CapturesStdoutAndStderr) | |
TEST (CaptureDeathTest, CannotReenterStdoutCapture) | |
TEST (ThreadLocalTest, DefaultConstructorInitializesToDefaultValues) | |
TEST (ThreadLocalTest, SingleParamConstructorInitializesToParam) | |
TEST (ThreadLocalTest, ValueDefaultContructorIsNotRequiredForParamVersion) | |
TEST (ThreadLocalTest, GetAndPointerReturnSameValue) | |
TEST (ThreadLocalTest, PointerAndConstPointerReturnSameValue) | |
TEST (ApiTest, UnitTestImmutableAccessorsWork) | |
AssertionResult | IsNull (const char *str) |
TEST (ApiTest, TestCaseImmutableAccessorsWork) | |
TEST (ApiTest, TestCaseDisabledAccessorsWork) | |
TEST (ApiTest, DISABLED_Dummy1) | |
TEST (DISABLED_Test, Dummy2) | |
Variables | |
const char | kDeathTestStyleFlag [] = "death_test_style" |
const char | kDeathTestUseFork [] = "death_test_use_fork" |
const char | kInternalRunDeathTestFlag [] = "internal_run_death_test" |
int | g_init_gtest_count = 0 |
GTEST_API_ const char | kStackTraceMarker [] = "\nStack trace:\n" |
class GTEST_API_ testing::internal::ScopedTrace | GTEST_ATTRIBUTE_UNUSED_ |
const BiggestInt | kMaxBiggestInt |
const char | kPathSeparator = '/' |
const char | kPathSeparatorString [] = "/" |
const char | kCurrentDirectoryString [] = "./" |
GTEST_API_ const TypeId | kTestTypeIdInGoogleTest = GetTestTypeId() |
const char | kAlsoRunDisabledTestsFlag [] = "also_run_disabled_tests" |
const char | kBreakOnFailureFlag [] = "break_on_failure" |
const char | kCatchExceptionsFlag [] = "catch_exceptions" |
const char | kColorFlag [] = "color" |
const char | kFilterFlag [] = "filter" |
const char | kListTestsFlag [] = "list_tests" |
const char | kOutputFlag [] = "output" |
const char | kPrintTimeFlag [] = "print_time" |
const char | kRandomSeedFlag [] = "random_seed" |
const char | kRepeatFlag [] = "repeat" |
const char | kShuffleFlag [] = "shuffle" |
const char | kStackTraceDepthFlag [] = "stack_trace_depth" |
const char | kStreamResultToFlag [] = "stream_result_to" |
const char | kThrowOnFailureFlag [] = "throw_on_failure" |
const int | kMaxRandomSeed = 99999 |
GTEST_API_ bool | g_help_flag = false |
const int | kStdOutFileno = STDOUT_FILENO |
const int | kStdErrFileno = STDERR_FILENO |
const char | kUnknownFile [] = "unknown file" |
String | g_executable_path |
const UInt32 | kMaxCodePoint1 = (static_cast<UInt32>(1) << 7) - 1 |
const UInt32 | kMaxCodePoint2 = (static_cast<UInt32>(1) << (5 + 6)) - 1 |
const UInt32 | kMaxCodePoint3 = (static_cast<UInt32>(1) << (4 + 2*6)) - 1 |
const UInt32 | kMaxCodePoint4 = (static_cast<UInt32>(1) << (3 + 3*6)) - 1 |
const int | kTypedTestCases = 0 |
const int | kTypedTests = 0 |
typedef long long BiggestInt |
typedef FloatingPoint< double > Double |
typedef bool_constant< false > false_type |
typedef FloatingPoint< float > Float |
typedef TypeWithSize< 4 >::Int Int32 |
typedef TypeWithSize< 8 >::Int Int64 |
typedef int IsContainer |
typedef char IsNotContainer |
typedef GTestMutexLock MutexLock |
typedef void(* SetUpTestCaseFunc)() |
typedef::std::string string |
typedef void(* TearDownTestCaseFunc)() |
typedef TypeWithSize< 8 >::Int TimeInMillis |
typedef bool_constant< true > true_type |
typedef const void * TypeId |
typedef TypeWithSize< 4 >::UInt UInt32 |
typedef TypeWithSize< 8 >::UInt UInt64 |
typedef::std::wstring wstring |
enum CharFormat |
enum CharFormat |
enum CharFormat |
enum GTestColor |
enum GTestColor |
enum GTestColor |
enum GTestLogSeverity |
enum GTestLogSeverity |
enum GTestLogSeverity |
enum RelationToSource |
enum RelationToSource |
enum RelationToSource |
|
inline |
bool AlwaysTrue | ( | ) |
Iter ArrayAwareFind | ( | Iter | begin, |
Iter | end, | ||
const Element & | elem | ||
) |
bool ArrayEq | ( | const T * | lhs, |
size_t | size, | ||
const U * | rhs | ||
) |
|
inline |
|
inline |
bool BoolFromGTestEnv | ( | const char * | flag, |
bool | default_val | ||
) |
GTEST_API_ void CaptureStderr | ( | ) |
GTEST_API_ void CaptureStdout | ( | ) |
AssertionResult CmpHelperEQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
const T1 & | expected, | ||
const T2 & | actual | ||
) |
AssertionResult CmpHelperEQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
BiggestInt | expected, | ||
BiggestInt | actual | ||
) |
AssertionResult CmpHelperFloatingPointEQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
RawType | expected, | ||
RawType | actual | ||
) |
AssertionResult CmpHelperSTRCASEEQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
const char * | expected, | ||
const char * | actual | ||
) |
AssertionResult CmpHelperSTRCASENE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
AssertionResult CmpHelperSTREQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
const char * | expected, | ||
const char * | actual | ||
) |
AssertionResult CmpHelperSTREQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
const wchar_t * | expected, | ||
const wchar_t * | actual | ||
) |
AssertionResult CmpHelperSTRNE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
AssertionResult CmpHelperSTRNE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const wchar_t * | s1, | ||
const wchar_t * | s2 | ||
) |
char * CodePointToUtf8 | ( | UInt32 | code_point, |
char * | str | ||
) |
void ColoredPrintf | ( | GTestColor | color, |
const char * | fmt, | ||
... | |||
) |
void CopyArray | ( | const T * | from, |
size_t | size, | ||
U * | to | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
void DefaultPrintTo | ( | IsContainer | , |
false_type | , | ||
const C & | container, | ||
::std::ostream * | os | ||
) |
void DefaultPrintTo | ( | IsNotContainer | , |
true_type | , | ||
T * | p, | ||
::std::ostream * | os | ||
) |
void DefaultPrintTo | ( | IsNotContainer | , |
false_type | , | ||
const T & | value, | ||
::std::ostream * | os | ||
) |
AssertionResult DoubleNearPredFormat | ( | const char * | expr1, |
const char * | expr2, | ||
const char * | abs_error_expr, | ||
double | val1, | ||
double | val2, | ||
double | abs_error | ||
) |
|
inline |
AssertionResult EqFailure | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
const String & | expected_value, | ||
const String & | actual_value, | ||
bool | ignoring_case | ||
) |
AssertionResult FloatingPointLE | ( | const char * | expr1, |
const char * | expr2, | ||
RawType | val1, | ||
RawType | val2 | ||
) |
|
inline |
void ForEach | ( | const Container & | c, |
Functor | functor | ||
) |
GTEST_API_::std::string FormatCompilerIndependentFileLocation | ( | const char * | file, |
int | line | ||
) |
GTEST_API_::std::string FormatFileLocation | ( | const char * | file, |
int | line | ||
) |
String FormatForComparisonFailureMessage | ( | const T1 & | value, |
const T2 & | |||
) |
std::string FormatTimeInMillisAsSeconds | ( | TimeInMillis | ms | ) |
const char * GetAnsiColorCode | ( | GTestColor | color | ) |
String GetBoolAssertionFailureMessage | ( | const AssertionResult & | assertion_result, |
const char * | expression_text, | ||
const char * | actual_predicate_value, | ||
const char * | expected_predicate_value | ||
) |
GTEST_API_ String GetCapturedStderr | ( | ) |
GTEST_API_ String GetCapturedStdout | ( | ) |
FilePath GetCurrentExecutableName | ( | ) |
|
inline |
|
inline |
|
inline |
TypeId GetTestTypeId | ( | ) |
size_t GetThreadCount | ( | ) |
TimeInMillis GetTimeInMillis | ( | ) |
TypeId GetTypeId | ( | ) |
String GetTypeName | ( | ) |
|
inline |
GTEST_API_ GTEST_DECLARE_STATIC_MUTEX_ | ( | g_linked_ptr_mutex | ) |
GTEST_DECLARE_string_ | ( | internal_run_death_test | ) |
GTEST_DEFINE_STATIC_MUTEX_ | ( | g_linked_ptr_mutex | ) |
GTEST_DEFINE_string_ | ( | internal_run_death_test | , |
"" | , | ||
"Indicates the | file, | ||
line | number, | ||
temporal index of""the single death test to | run, | ||
and a file descriptor to""which a success code may be | sent, | ||
all separated by""colons.This flag is specified if and only if the current""process is a sub-process launched for running a thread-safe""death test.FOR INTERNAL USE ONLY." | |||
) |
GTEST_IMPL_CMP_HELPER_ | ( | NE | , |
! | |||
) |
GTEST_IMPL_CMP_HELPER_ | ( | LE | , |
<= | |||
) |
GTEST_IMPL_CMP_HELPER_ | ( | LT | ) |
GTEST_IMPL_CMP_HELPER_ | ( | GE | , |
>= | |||
) |
GTEST_IMPL_CMP_HELPER_ | ( | GT | ) |
Result HandleExceptionsInMethodIfSupported | ( | T * | object, |
Result(T::*)() | method, | ||
const char * | location | ||
) |
Result HandleSehExceptionsInMethodIfSupported | ( | T * | object, |
Result(T::*)() | method, | ||
const char * | location | ||
) |
AssertionResult HasOneFailure | ( | const char * | , |
const char * | , | ||
const char * | , | ||
const TestPartResultArray & | results, | ||
TestPartResult::Type | type, | ||
const string & | substr | ||
) |
void InitGoogleTestImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
|
inline |
|
inline |
IsContainer IsContainerTest | ( | int | , |
typename C::iterator * | = NULL , |
||
typename C::const_iterator * | = NULL |
||
) |
IsNotContainer IsContainerTest | ( | long | ) |
|
inline |
|
inline |
AssertionResult testing::internal::IsNull | ( | const char * | str | ) |
char IsNullLiteralHelper | ( | Secret * | p | ) |
char(& IsNullLiteralHelper | ( | ... | ) | )[2] |
|
inline |
|
inline |
bool IsTrue | ( | bool | condition | ) |
|
inline |
|
inline |
|
inline |
|
inline |
linked_ptr< T > make_linked_ptr | ( | T * | ptr | ) |
TestInfo * MakeAndRegisterTestInfo | ( | const char * | test_case_name, |
const char * | name, | ||
const char * | type_param, | ||
const char * | value_param, | ||
TypeId | fixture_class_id, | ||
SetUpTestCaseFunc | set_up_tc, | ||
TearDownTestCaseFunc | tear_down_tc, | ||
TestFactoryBase * | factory | ||
) |
|
inline |
|
inline |
|
inline |
bool ParseBoolFlag | ( | const char * | str, |
const char * | flag, | ||
bool * | value | ||
) |
const char * ParseFlagValue | ( | const char * | str, |
const char * | flag, | ||
bool | def_optional | ||
) |
void ParseGoogleTestFlagsOnly | ( | int * | argc, |
char ** | argv | ||
) |
void ParseGoogleTestFlagsOnly | ( | int * | argc, |
wchar_t ** | argv | ||
) |
void ParseGoogleTestFlagsOnlyImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
bool ParseInt32Flag | ( | const char * | str, |
const char * | flag, | ||
Int32 * | value | ||
) |
bool ParseStringFlag | ( | const char * | str, |
const char * | flag, | ||
String * | value | ||
) |
void PrintCharAndCodeTo | ( | Char | c, |
ostream * | os | ||
) |
void PrintFullTestCommentIfPresent | ( | const TestInfo & | test_info | ) |
void PrintRawArrayTo | ( | const T | a[], |
size_t | count, | ||
::std::ostream * | os | ||
) |
void PrintStringTo | ( | const ::std::string & | s, |
ostream * | os | ||
) |
GTEST_API_ void PrintStringTo | ( | const ::std::string & | s, |
::std::ostream * | os | ||
) |
void PrintTo | ( | wchar_t | wc, |
ostream * | os | ||
) |
void PrintTo | ( | const char * | s, |
ostream * | os | ||
) |
void PrintTo | ( | const wchar_t * | s, |
ostream * | os | ||
) |
void PrintTo | ( | const T & | value, |
::std::ostream * | os | ||
) |
void PrintTo | ( | unsigned char | c, |
::std::ostream * | os | ||
) |
void PrintTo | ( | signed char | c, |
::std::ostream * | os | ||
) |
|
inline |
|
inline |
GTEST_API_ void PrintTo | ( | wchar_t | wc, |
::std::ostream * | os | ||
) |
GTEST_API_ void PrintTo | ( | const char * | s, |
::std::ostream * | os | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
GTEST_API_ void PrintTo | ( | const wchar_t * | s, |
::std::ostream * | os | ||
) |
|
inline |
|
inline |
void PrintTo | ( | const ::std::pair< T1, T2 > & | value, |
::std::ostream * | os | ||
) |
|
inline |
|
inline |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > & | t, |
::std::ostream * | os | ||
) |
void PrintTupleTo | ( | const T & | t, |
::std::ostream * | os | ||
) |
GTEST_API_ void testing::internal::PrintWideStringTo | ( | const ::std::wstring & | s, |
::std::ostream * | os | ||
) |
void ReportFailureInUnknownLocation | ( | TestPartResult::Type | result_type, |
const String & | message | ||
) |
GTEST_API_ void testing::internal::ReportInvalidTestCaseType | ( | const char * | test_case_name, |
const char * | file, | ||
int | line | ||
) |
bool ShouldRunTestOnShard | ( | int | total_shards, |
int | shard_index, | ||
int | test_id | ||
) |
bool ShouldShard | ( | const char * | total_shards_str, |
const char * | shard_index_str, | ||
bool | in_subprocess_for_death_test | ||
) |
bool ShouldUseColor | ( | bool | stdout_is_tty | ) |
|
inline |
void ShuffleRange | ( | internal::Random * | random, |
int | begin, | ||
int | end, | ||
std::vector< E > * | v | ||
) |
bool SkipPrefix | ( | const char * | prefix, |
const char ** | pstr | ||
) |
String StreamableToString | ( | const T & | streamable | ) |
const char * StringFromGTestEnv | ( | const char * | flag, |
const char * | default_val | ||
) |
String StringStreamToString | ( | ::std::stringstream * | stream | ) |
testing::internal::TEST | ( | ImplicitCastTest | , |
ConvertsPointers | |||
) |
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseInheritance | |||
) |
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseNonConstCastOperator | |||
) |
testing::internal::TEST | ( | ApiTest | , |
UnitTestImmutableAccessorsWork | |||
) |
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseConstCastOperatorOnConstValues | |||
) |
testing::internal::TEST | ( | ApiTest | , |
TestCaseImmutableAccessorsWork | |||
) |
testing::internal::TEST | ( | ImplicitCastTest | , |
CanSelectBetweenConstAndNonConstCasrAppropriately | |||
) |
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseImplicitConstructor | |||
) |
testing::internal::TEST | ( | IteratorTraitsTest | , |
WorksForSTLContainerIterators | |||
) |
testing::internal::TEST | ( | IteratorTraitsTest | , |
WorksForPointerToNonConst | |||
) |
testing::internal::TEST | ( | IteratorTraitsTest | , |
WorksForPointerToConst | |||
) |
testing::internal::TEST | ( | ScopedPtrTest | , |
DefinesElementType | |||
) |
testing::internal::TEST | ( | GtestCheckSyntaxTest | , |
BehavesLikeASingleStatement | |||
) |
testing::internal::TEST | ( | ApiTest | , |
TestCaseDisabledAccessorsWork | |||
) |
testing::internal::TEST | ( | GtestCheckSyntaxTest | , |
WorksWithSwitch | |||
) |
testing::internal::TEST | ( | ApiTest | , |
DISABLED_Dummy1 | |||
) |
testing::internal::TEST | ( | DISABLED_Test | , |
Dummy2 | |||
) |
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsFileLocation | |||
) |
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUnknownFile | |||
) |
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUknownLine | |||
) |
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUknownFileAndLine | |||
) |
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsFileLocation | |||
) |
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownFile | |||
) |
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownLine | |||
) |
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownFileAndLine | |||
) |
testing::internal::TEST | ( | GetThreadCountTest | , |
ReturnsZeroWhenUnableToCountThreads | |||
) |
testing::internal::TEST | ( | GtestCheckDeathTest | , |
DiesWithCorrectOutputOnFailure | |||
) |
testing::internal::TEST | ( | RegexEngineSelectionTest | , |
SelectsCorrectRegexEngine | |||
) |
testing::internal::TEST | ( | CaptureTest | , |
CapturesStdout | |||
) |
testing::internal::TEST | ( | CaptureTest | , |
CapturesStderr | |||
) |
testing::internal::TEST | ( | CaptureTest | , |
CapturesStdoutAndStderr | |||
) |
testing::internal::TEST | ( | CaptureDeathTest | , |
CannotReenterStdoutCapture | |||
) |
testing::internal::TEST | ( | ThreadLocalTest | , |
DefaultConstructorInitializesToDefaultValues | |||
) |
testing::internal::TEST | ( | ThreadLocalTest | , |
SingleParamConstructorInitializesToParam | |||
) |
testing::internal::TEST | ( | ThreadLocalTest | , |
ValueDefaultContructorIsNotRequiredForParamVersion | |||
) |
testing::internal::TEST | ( | ThreadLocalTest | , |
GetAndPointerReturnSameValue | |||
) |
testing::internal::TEST | ( | ThreadLocalTest | , |
PointerAndConstPointerReturnSameValue | |||
) |
testing::internal::TEST_F | ( | ListenerTest | , |
DoesFoo | |||
) |
testing::internal::TEST_F | ( | ListenerTest | , |
DoesBar | |||
) |
|
inline |
|
inline |
void UniversalPrint | ( | const T & | value, |
::std::ostream * | os | ||
) |
void UniversalPrintArray | ( | const char * | begin, |
size_t | len, | ||
ostream * | os | ||
) |
void UniversalPrintArray | ( | const T * | begin, |
size_t | len, | ||
::std::ostream * | os | ||
) |
GTEST_API_ void UniversalPrintArray | ( | const char * | begin, |
size_t | len, | ||
::std::ostream * | os | ||
) |
void UniversalTersePrint | ( | const T & | value, |
::std::ostream * | os | ||
) |
|
inline |
|
inline |
Strings testing::internal::UniversalTersePrintTupleFieldsToStrings | ( | const Tuple & | value | ) |
String WideStringToUtf8 | ( | const wchar_t * | str, |
int | num_chars | ||
) |
void WriteToShardStatusFileIfNeeded | ( | ) |
String g_executable_path |
bool g_help_flag = false |
int g_init_gtest_count = 0 |
class testing::internal::GTestFlagSaver GTEST_ATTRIBUTE_UNUSED_ |
const char kAlsoRunDisabledTestsFlag = "also_run_disabled_tests" |
const char kBreakOnFailureFlag = "break_on_failure" |
const char kCatchExceptionsFlag = "catch_exceptions" |
const char kColorFlag = "color" |
const char kCurrentDirectoryString = "./" |
const char kDeathTestStyleFlag = "death_test_style" |
const char kDeathTestUseFork = "death_test_use_fork" |
const char kFilterFlag = "filter" |
const char kInternalRunDeathTestFlag = "internal_run_death_test" |
const char kListTestsFlag = "list_tests" |
const BiggestInt kMaxBiggestInt |
const int kMaxRandomSeed = 99999 |
const char kOutputFlag = "output" |
const char kPathSeparator = '/' |
const char kPathSeparatorString = "/" |
const char kPrintTimeFlag = "print_time" |
const char kRandomSeedFlag = "random_seed" |
const char kRepeatFlag = "repeat" |
const char kShuffleFlag = "shuffle" |
const char kStackTraceDepthFlag = "stack_trace_depth" |
const char kStackTraceMarker = "\nStack trace:\n" |
const int kStdErrFileno = STDERR_FILENO |
const int kStdOutFileno = STDOUT_FILENO |
const char kStreamResultToFlag = "stream_result_to" |
const TypeId kTestTypeIdInGoogleTest = GetTestTypeId() |
const char kThrowOnFailureFlag = "throw_on_failure" |
const int kTypedTestCases = 0 |
const int kTypedTests = 0 |
const char kUnknownFile = "unknown file" |