|
v8toolkit
0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
|
#include "gtest/internal/gtest-port.h"#include <ctype.h>#include <float.h>#include <string.h>#include <iomanip>#include <limits>#include <map>#include <set>#include <string>#include <vector>#include "gtest/gtest-message.h"#include "gtest/internal/gtest-string.h"#include "gtest/internal/gtest-filepath.h"#include "gtest/internal/gtest-type-util.h"

Go to the source code of this file.
Namespaces | |
| proto2 | |
| testing | |
| testing::internal | |
| testing::internal::edit_distance | |
Typedefs | |
| typedef FloatingPoint< float > | testing::internal::Float |
| typedef FloatingPoint< double > | testing::internal::Double |
| typedef const void * | testing::internal::TypeId |
| typedef void(* | testing::internal::SetUpTestCaseFunc) () |
| typedef void(* | testing::internal::TearDownTestCaseFunc) () |
| typedef int | testing::internal::IsContainer |
| typedef char | testing::internal::IsNotContainer |
Functions | |
| template<typename T > | |
| ::std::string | testing::PrintToString (const T &value) |
| char | testing::internal::IsNullLiteralHelper (Secret *p) |
| char(& | testing::internal::IsNullLiteralHelper (...))[2] |
| GTEST_API_ std::string | testing::internal::AppendUserMessage (const std::string >est_msg, const Message &user_msg) |
| GTEST_API_ std::vector< EditType > | testing::internal::edit_distance::CalculateOptimalEdits (const std::vector< size_t > &left, const std::vector< size_t > &right) |
| GTEST_API_ std::vector< EditType > | testing::internal::edit_distance::CalculateOptimalEdits (const std::vector< std::string > &left, const std::vector< std::string > &right) |
| GTEST_API_ std::string | testing::internal::edit_distance::CreateUnifiedDiff (const std::vector< std::string > &left, const std::vector< std::string > &right, size_t context=2) |
| GTEST_API_ std::string | testing::internal::DiffStrings (const std::string &left, const std::string &right, size_t *total_line_count) |
| GTEST_API_ AssertionResult | testing::internal::EqFailure (const char *expected_expression, const char *actual_expression, const std::string &expected_value, const std::string &actual_value, bool ignoring_case) |
| GTEST_API_ std::string | testing::internal::GetBoolAssertionFailureMessage (const AssertionResult &assertion_result, const char *expression_text, const char *actual_predicate_value, const char *expected_predicate_value) |
| template<typename T > | |
| TypeId | testing::internal::GetTypeId () |
| GTEST_API_ TypeId | testing::internal::GetTestTypeId () |
| GTEST_API_ TestInfo * | testing::internal::MakeAndRegisterTestInfo (const char *test_case_name, const char *name, const char *type_param, const char *value_param, CodeLocation code_location, TypeId fixture_class_id, SetUpTestCaseFunc set_up_tc, TearDownTestCaseFunc tear_down_tc, TestFactoryBase *factory) |
| GTEST_API_ bool | testing::internal::SkipPrefix (const char *prefix, const char **pstr) |
| GTEST_API_ std::string | testing::internal::GetCurrentOsStackTraceExceptTop (UnitTest *unit_test, int skip_count) |
| GTEST_API_ bool | testing::internal::AlwaysTrue () |
| bool | testing::internal::AlwaysFalse () |
| template<class C > | |
| IsContainer | testing::internal::IsContainerTest (int, typename C::iterator *=NULL, typename C::const_iterator *=NULL) |
| template<class C > | |
| IsNotContainer | testing::internal::IsContainerTest (long) |
| template<typename T , typename U > | |
| bool | testing::internal::ArrayEq (const T *lhs, size_t size, const U *rhs) |
| template<typename T , typename U > | |
| bool | testing::internal::ArrayEq (const T &lhs, const U &rhs) |
| template<typename T , typename U , size_t N> | |
| bool | testing::internal::ArrayEq (const T(&lhs)[N], const U(&rhs)[N]) |
| template<typename Iter , typename Element > | |
| Iter | testing::internal::ArrayAwareFind (Iter begin, Iter end, const Element &elem) |
| template<typename T , typename U > | |
| void | testing::internal::CopyArray (const T *from, size_t size, U *to) |
| template<typename T , typename U > | |
| void | testing::internal::CopyArray (const T &from, U *to) |
| template<typename T , typename U , size_t N> | |
| void | testing::internal::CopyArray (const T(&from)[N], U(*to)[N]) |
Variables | |
| GTEST_API_ const char | testing::internal::kStackTraceMarker [] |
| class GTEST_API_ testing::internal::ScopedTrace | testing::internal::GTEST_ATTRIBUTE_UNUSED_ |
| struct testing::internal::CompileAssertTypesEqual |
Definition at line 772 of file gtest-internal.h.
| struct testing::internal::CompileAssertTypesEqual< T, T > |
Definition at line 775 of file gtest-internal.h.
| struct testing::internal::RemoveReference |
Definition at line 782 of file gtest-internal.h.
| Class Members | ||
|---|---|---|
| typedef T | type | |
| struct testing::internal::RemoveReference< T & > |
Definition at line 784 of file gtest-internal.h.
| Class Members | ||
|---|---|---|
| typedef T | type | |
| struct testing::internal::RemoveConst |
Definition at line 795 of file gtest-internal.h.
| Class Members | ||
|---|---|---|
| typedef T | type | |
| struct testing::internal::RemoveConst< const T > |
Definition at line 797 of file gtest-internal.h.
| Class Members | ||
|---|---|---|
| typedef T | type | |
| struct testing::internal::RemoveConst< const T[N]> |
Definition at line 803 of file gtest-internal.h.
| Class Members | ||
|---|---|---|
| typedef RemoveConst< T >::type | type | |
| struct testing::internal::AddReference |
Definition at line 830 of file gtest-internal.h.
| Class Members | ||
|---|---|---|
| typedef T & | type | |
| struct testing::internal::AddReference< T & > |
Definition at line 832 of file gtest-internal.h.
| Class Members | ||
|---|---|---|
| typedef T & | type | |
| struct testing::internal::EnableIf |
Definition at line 946 of file gtest-internal.h.
| struct testing::internal::EnableIf< true > |
Definition at line 947 of file gtest-internal.h.
| Class Members | ||
|---|---|---|
| typedef void | type | |
| struct testing::internal::RelationToSourceReference |
Definition at line 1022 of file gtest-internal.h.
| struct testing::internal::RelationToSourceCopy |
Definition at line 1023 of file gtest-internal.h.
| #define GTEST_CONCAT_TOKEN_ | ( | foo, | |
| bar | |||
| ) | GTEST_CONCAT_TOKEN_IMPL_(foo, bar) |
Definition at line 76 of file gtest-internal.h.
| #define GTEST_CONCAT_TOKEN_IMPL_ | ( | foo, | |
| bar | |||
| ) | foo ## bar |
Definition at line 77 of file gtest-internal.h.
| #define GTEST_IS_NULL_LITERAL_ | ( | x | ) | (sizeof(::testing::internal::IsNullLiteralHelper(x)) == 1) |
Definition at line 132 of file gtest-internal.h.
| #define GTEST_REMOVE_REFERENCE_ | ( | T | ) | typename ::testing::internal::RemoveReference<T>::type |
Definition at line 788 of file gtest-internal.h.
Referenced by testing::internal::PointeeMatcher< InnerMatcher >::operator Matcher< Pointer >().
| #define GTEST_REMOVE_CONST_ | ( | T | ) | typename ::testing::internal::RemoveConst<T>::type |
Definition at line 819 of file gtest-internal.h.
Referenced by testing::BeginEndDistanceIs(), testing::internal::StlContainerView< RawContainer >::ConstReference(), testing::ContainerEq(), testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplain(), testing::internal::PropertyMatcher< Class, PropertyType >::MatchAndExplain(), testing::internal::PointeeMatcher< InnerMatcher >::operator Matcher< Pointer >(), testing::Pointwise(), testing::UnorderedPointwise(), and testing::WhenSorted().
| #define GTEST_REMOVE_REFERENCE_AND_CONST_ | ( | T | ) | GTEST_REMOVE_CONST_(GTEST_REMOVE_REFERENCE_(T)) |
Definition at line 823 of file gtest-internal.h.
Referenced by testing::SafeMatcherCastImpl< T >::Cast(), testing::internal::ContainerEqMatcher< Container >::ContainerEqMatcher(), testing::internal::UnorderedElementsAreMatcher< MatcherTuple >::operator Matcher< Container >(), testing::internal::ElementsAreMatcher< MatcherTuple >::operator Matcher< Container >(), testing::internal::NativeArray< Element >::operator==(), and testing::internal::PointwiseMatcher< TupleMatcher, RhsContainer >::PointwiseMatcher().
| #define GTEST_ADD_REFERENCE_ | ( | T | ) | typename ::testing::internal::AddReference<T>::type |
Definition at line 836 of file gtest-internal.h.
| #define GTEST_REFERENCE_TO_CONST_ | ( | T | ) | GTEST_ADD_REFERENCE_(const GTEST_REMOVE_REFERENCE_(T)) |
Definition at line 848 of file gtest-internal.h.
Referenced by testing::Property().
| #define GTEST_MESSAGE_AT_ | ( | file, | |
| line, | |||
| message, | |||
| result_type | |||
| ) |
Definition at line 1102 of file gtest-internal.h.
| #define GTEST_MESSAGE_ | ( | message, | |
| result_type | |||
| ) | GTEST_MESSAGE_AT_(__FILE__, __LINE__, message, result_type) |
Definition at line 1106 of file gtest-internal.h.
| #define GTEST_FATAL_FAILURE_ | ( | message | ) | return GTEST_MESSAGE_(message, ::testing::TestPartResult::kFatalFailure) |
Definition at line 1109 of file gtest-internal.h.
| #define GTEST_NONFATAL_FAILURE_ | ( | message | ) | GTEST_MESSAGE_(message, ::testing::TestPartResult::kNonFatalFailure) |
Definition at line 1112 of file gtest-internal.h.
| #define GTEST_SUCCESS_ | ( | message | ) | GTEST_MESSAGE_(message, ::testing::TestPartResult::kSuccess) |
Definition at line 1115 of file gtest-internal.h.
| #define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_ | ( | statement | ) | if (::testing::internal::AlwaysTrue()) { statement; } |
Definition at line 1121 of file gtest-internal.h.
| #define GTEST_TEST_THROW_ | ( | statement, | |
| expected_exception, | |||
| fail | |||
| ) |
Definition at line 1124 of file gtest-internal.h.
| #define GTEST_TEST_NO_THROW_ | ( | statement, | |
| fail | |||
| ) |
Definition at line 1150 of file gtest-internal.h.
| #define GTEST_TEST_ANY_THROW_ | ( | statement, | |
| fail | |||
| ) |
Definition at line 1164 of file gtest-internal.h.
| #define GTEST_TEST_BOOLEAN_ | ( | expression, | |
| text, | |||
| actual, | |||
| expected, | |||
| fail | |||
| ) |
Definition at line 1186 of file gtest-internal.h.
| #define GTEST_TEST_NO_FATAL_FAILURE_ | ( | statement, | |
| fail | |||
| ) |
Definition at line 1195 of file gtest-internal.h.
| #define GTEST_TEST_CLASS_NAME_ | ( | test_case_name, | |
| test_name | |||
| ) | test_case_name##_##test_name##_Test |
Definition at line 1210 of file gtest-internal.h.
| #define GTEST_TEST_ | ( | test_case_name, | |
| test_name, | |||
| parent_class, | |||
| parent_id | |||
| ) |
Definition at line 1214 of file gtest-internal.h.
1.8.11