GrPPI
1.0
Generic and Reusable Parallel Pattern Interface
|
Namespaces | |
internal | |
Classes | |
class | DefaultValue |
class | DefaultValue< T & > |
class | DefaultValue< void > |
class | ActionInterface |
class | Action |
class | PolymorphicAction |
class | NiceMock |
class | NaggyMock |
class | StrictMock |
class | Matcher |
class | Message |
class | Test |
class | TestProperty |
class | TestResult |
class | TestInfo |
class | TestSuite |
class | Environment |
class | TestEventListener |
class | EmptyTestEventListener |
class | TestEventListeners |
class | UnitTest |
class | WithParamInterface |
class | TestWithParam |
class | ScopedTrace |
struct | TestParamInfo |
struct | PrintToStringParamName |
Typedefs | |
typedef internal::IgnoredValue | Unused |
typedef internal::TimeInMillis | TimeInMillis |
template<typename... Ts> | |
using | Types = internal::ProxyTypeList< Ts... > |
Functions | |
template<typename F > | |
Action< F > | MakeAction (ActionInterface< F > *impl) |
template<typename Impl > | |
PolymorphicAction< Impl > | MakePolymorphicAction (const Impl &impl) |
template<typename... Action> | |
internal::DoAllAction< typename std::decay< Action >::type... > | DoAll (Action &&... action) |
template<size_t k, typename InnerAction > | |
internal::WithArgsAction< typename std::decay< InnerAction >::type, k > | WithArg (InnerAction &&action) |
template<size_t k, size_t... ks, typename InnerAction > | |
internal::WithArgsAction< typename std::decay< InnerAction >::type, k, ks... > | WithArgs (InnerAction &&action) |
template<typename InnerAction > | |
internal::WithArgsAction< typename std::decay< InnerAction >::type > | WithoutArgs (InnerAction &&action) |
template<typename R > | |
internal::ReturnAction< R > | Return (R value) |
PolymorphicAction< internal::ReturnNullAction > | ReturnNull () |
PolymorphicAction< internal::ReturnVoidAction > | Return () |
template<typename R > | |
internal::ReturnRefAction< R > | ReturnRef (R &x) |
template<typename R , R * = nullptr> | |
internal::ReturnRefAction< R > | ReturnRef (R &&)=delete |
template<typename R > | |
internal::ReturnRefOfCopyAction< R > | ReturnRefOfCopy (const R &x) |
template<typename R > | |
internal::ByMoveWrapper< R > | ByMove (R x) |
template<typename T > | |
internal::ReturnRoundRobinAction< T > | ReturnRoundRobin (std::vector< T > vals) |
template<typename T > | |
internal::ReturnRoundRobinAction< T > | ReturnRoundRobin (std::initializer_list< T > vals) |
internal::DoDefaultAction | DoDefault () |
template<size_t N, typename T > | |
internal::SetArgumentPointeeAction< N, T > | SetArgPointee (T value) |
template<size_t N, typename T > | |
internal::SetArgumentPointeeAction< N, T > | SetArgumentPointee (T value) |
template<typename T1 , typename T2 > | |
PolymorphicAction< internal::AssignAction< T1, T2 > > | Assign (T1 *ptr, T2 val) |
template<typename T > | |
PolymorphicAction< internal::SetErrnoAndReturnAction< T > > | SetErrnoAndReturn (int errval, T result) |
template<typename FunctionImpl > | |
std::decay< FunctionImpl >::type | Invoke (FunctionImpl &&function_impl) |
template<class Class , typename MethodPtr > | |
internal::InvokeMethodAction< Class, MethodPtr > | Invoke (Class *obj_ptr, MethodPtr method_ptr) |
template<typename FunctionImpl > | |
internal::InvokeWithoutArgsAction< typename std::decay< FunctionImpl >::type > | InvokeWithoutArgs (FunctionImpl function_impl) |
template<class Class , typename MethodPtr > | |
internal::InvokeMethodWithoutArgsAction< Class, MethodPtr > | InvokeWithoutArgs (Class *obj_ptr, MethodPtr method_ptr) |
template<typename A > | |
internal::IgnoreResultAction< A > | IgnoreResult (const A &an_action) |
template<typename T > | |
inline ::std::reference_wrapper< T > | ByRef (T &l_value) |
template<typename T , typename... Params> | |
internal::ReturnNewAction< T, typename std::decay< Params >::type... > | ReturnNew (Params &&... params) |
template<size_t k> | |
internal::ReturnArgAction< k > | ReturnArg () |
template<size_t k, typename Ptr > | |
internal::SaveArgAction< k, Ptr > | SaveArg (Ptr pointer) |
template<size_t k, typename Ptr > | |
internal::SaveArgPointeeAction< k, Ptr > | SaveArgPointee (Ptr pointer) |
template<size_t k, typename T > | |
internal::SetArgRefereeAction< k, typename std::decay< T >::type > | SetArgReferee (T &&value) |
template<size_t k, typename I1 , typename I2 > | |
internal::SetArrayArgumentAction< k, I1, I2 > | SetArrayArgument (I1 first, I2 last) |
template<size_t k> | |
internal::DeleteArgAction< k > | DeleteArg () |
template<typename Ptr > | |
internal::ReturnPointeeAction< Ptr > | ReturnPointee (Ptr pointer) |
template<std::size_t index, typename... Params> | |
internal::InvokeArgumentAction< index, typename std::decay< Params >::type... > | InvokeArgument (Params &&... params) |
MATCHER (IsEmpty, negation ? "isn't empty" :"is empty") | |
MATCHER (IsTrue, negation ? "is false" :"is true") | |
MATCHER (IsFalse, negation ? "is true" :"is false") | |
GMOCK_DECLARE_bool_ (catch_leaked_mocks) | |
GMOCK_DECLARE_string_ (verbose) | |
GMOCK_DECLARE_int32_ (default_mock_behavior) | |
GTEST_API_ void | InitGoogleMock (int *argc, char **argv) |
GTEST_API_ void | InitGoogleMock (int *argc, wchar_t **argv) |
GTEST_API_ void | InitGoogleMock () |
GTEST_DECLARE_string_ (death_test_style) | |
std::ostream & | operator<< (std::ostream &os, const Message &sb) |
template<typename T , typename IncrementT > | |
internal::ParamGenerator< T > | Range (T start, T end, IncrementT step) |
template<typename T > | |
internal::ParamGenerator< T > | Range (T start, T end) |
template<typename ForwardIterator > | |
internal::ParamGenerator< typename std::iterator_traits< ForwardIterator >::value_type > | ValuesIn (ForwardIterator begin, ForwardIterator end) |
template<typename T , size_t N> | |
internal::ParamGenerator< T > | ValuesIn (const T(&array)[N]) |
template<class Container > | |
internal::ParamGenerator< typename Container::value_type > | ValuesIn (const Container &container) |
template<typename... T> | |
internal::ValueArray< T... > | Values (T... v) |
internal::ParamGenerator< bool > | Bool () |
template<typename... Generator> | |
internal::CartesianProductHolder< Generator... > | Combine (const Generator &... g) |
template<typename T > | |
::std::string | PrintToString (const T &value) |
Environment * | AddGlobalTestEnvironment (Environment *env) |
GTEST_API_ void | InitGoogleTest (int *argc, char **argv) |
GTEST_API_ void | InitGoogleTest (int *argc, wchar_t **argv) |
GTEST_API_ void | InitGoogleTest () |
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 | 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 | IsSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack) |
GTEST_API_ AssertionResult | IsNotSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack) |
GTEST_API_ AssertionResult | FloatLE (const char *expr1, const char *expr2, float val1, float val2) |
GTEST_API_ AssertionResult | DoubleLE (const char *expr1, const char *expr2, double val1, double val2) |
template<typename T1 , typename T2 > | |
constexpr bool | StaticAssertTypeEq () noexcept |
GTEST_API_ std::string | TempDir () |
template<int &... ExplicitParameterBarrier, typename Factory > | |
TestInfo * | RegisterTest (const char *test_suite_name, const char *test_name, const char *type_param, const char *value_param, const char *file, int line, Factory factory) |
template<typename Pred , typename T1 > | |
AssertionResult | AssertPred1Helper (const char *pred_text, const char *e1, Pred pred, const T1 &v1) |
template<typename Pred , typename T1 , typename T2 > | |
AssertionResult | AssertPred2Helper (const char *pred_text, const char *e1, const char *e2, Pred pred, const T1 &v1, const T2 &v2) |
template<typename Pred , typename T1 , typename T2 , typename T3 > | |
AssertionResult | AssertPred3Helper (const char *pred_text, const char *e1, const char *e2, const char *e3, Pred pred, const T1 &v1, const T2 &v2, const T3 &v3) |
template<typename Pred , typename T1 , typename T2 , typename T3 , typename T4 > | |
AssertionResult | AssertPred4Helper (const char *pred_text, const char *e1, const char *e2, const char *e3, const char *e4, Pred pred, const T1 &v1, const T2 &v2, const T3 &v3, const T4 &v4) |
template<typename Pred , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
AssertionResult | AssertPred5Helper (const char *pred_text, const char *e1, const char *e2, const char *e3, const char *e4, const char *e5, Pred pred, const T1 &v1, const T2 &v2, const T3 &v3, const T4 &v4, const T5 &v5) |
Variables | |
class GTEST_API_ testing::ScopedTrace | GTEST_ATTRIBUTE_UNUSED_ |
using testing::Types = typedef internal::ProxyTypeList<Ts...> |
|
inline |
AssertionResult testing::AssertPred1Helper | ( | const char * | pred_text, |
const char * | e1, | ||
Pred | pred, | ||
const T1 & | v1 | ||
) |
AssertionResult testing::AssertPred2Helper | ( | const char * | pred_text, |
const char * | e1, | ||
const char * | e2, | ||
Pred | pred, | ||
const T1 & | v1, | ||
const T2 & | v2 | ||
) |
AssertionResult testing::AssertPred3Helper | ( | const char * | pred_text, |
const char * | e1, | ||
const char * | e2, | ||
const char * | e3, | ||
Pred | pred, | ||
const T1 & | v1, | ||
const T2 & | v2, | ||
const T3 & | v3 | ||
) |
AssertionResult testing::AssertPred4Helper | ( | const char * | pred_text, |
const char * | e1, | ||
const char * | e2, | ||
const char * | e3, | ||
const char * | e4, | ||
Pred | pred, | ||
const T1 & | v1, | ||
const T2 & | v2, | ||
const T3 & | v3, | ||
const T4 & | v4 | ||
) |
AssertionResult testing::AssertPred5Helper | ( | const char * | pred_text, |
const char * | e1, | ||
const char * | e2, | ||
const char * | e3, | ||
const char * | e4, | ||
const char * | e5, | ||
Pred | pred, | ||
const T1 & | v1, | ||
const T2 & | v2, | ||
const T3 & | v3, | ||
const T4 & | v4, | ||
const T5 & | v5 | ||
) |
PolymorphicAction< internal::AssignAction< T1, T2 > > testing::Assign | ( | T1 * | ptr, |
T2 | val | ||
) |
|
inline |
internal::ByMoveWrapper< R > testing::ByMove | ( | R | x | ) |
inline ::std::reference_wrapper<T> testing::ByRef | ( | T & | l_value | ) |
internal::CartesianProductHolder< Generator... > testing::Combine | ( | const Generator &... | g | ) |
internal::DeleteArgAction< k > testing::DeleteArg | ( | ) |
internal::DoAllAction< typename std::decay< Action >::type... > testing::DoAll | ( | Action &&... | action | ) |
|
inline |
GTEST_API_ AssertionResult testing::DoubleLE | ( | const char * | expr1, |
const char * | expr2, | ||
double | val1, | ||
double | val2 | ||
) |
GTEST_API_ AssertionResult testing::FloatLE | ( | const char * | expr1, |
const char * | expr2, | ||
float | val1, | ||
float | val2 | ||
) |
testing::GMOCK_DECLARE_bool_ | ( | catch_leaked_mocks | ) |
testing::GMOCK_DECLARE_int32_ | ( | default_mock_behavior | ) |
testing::GMOCK_DECLARE_string_ | ( | verbose | ) |
testing::GTEST_DECLARE_string_ | ( | death_test_style | ) |
|
inline |
GTEST_API_ void testing::InitGoogleMock | ( | ) |
GTEST_API_ void testing::InitGoogleMock | ( | int * | argc, |
char ** | argv | ||
) |
GTEST_API_ void testing::InitGoogleMock | ( | int * | argc, |
wchar_t ** | argv | ||
) |
GTEST_API_ void testing::InitGoogleTest | ( | ) |
GTEST_API_ void testing::InitGoogleTest | ( | int * | argc, |
char ** | argv | ||
) |
GTEST_API_ void testing::InitGoogleTest | ( | int * | argc, |
wchar_t ** | argv | ||
) |
internal::InvokeMethodAction< Class, MethodPtr > testing::Invoke | ( | Class * | obj_ptr, |
MethodPtr | method_ptr | ||
) |
std::decay< FunctionImpl >::type testing::Invoke | ( | FunctionImpl && | function_impl | ) |
internal::InvokeArgumentAction< index, typename std::decay< Params >::type... > testing::InvokeArgument | ( | Params &&... | params | ) |
internal::InvokeMethodWithoutArgsAction< Class, MethodPtr > testing::InvokeWithoutArgs | ( | Class * | obj_ptr, |
MethodPtr | method_ptr | ||
) |
internal::InvokeWithoutArgsAction< typename std::decay< FunctionImpl >::type > testing::InvokeWithoutArgs | ( | FunctionImpl | function_impl | ) |
GTEST_API_ AssertionResult testing::IsNotSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const ::std::string & | needle, | ||
const ::std::string & | haystack | ||
) |
GTEST_API_ AssertionResult testing::IsNotSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const char * | needle, | ||
const char * | haystack | ||
) |
GTEST_API_ AssertionResult testing::IsNotSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const wchar_t * | needle, | ||
const wchar_t * | haystack | ||
) |
GTEST_API_ AssertionResult testing::IsSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const ::std::string & | needle, | ||
const ::std::string & | haystack | ||
) |
GTEST_API_ AssertionResult testing::IsSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const char * | needle, | ||
const char * | haystack | ||
) |
GTEST_API_ AssertionResult testing::IsSubstring | ( | const char * | needle_expr, |
const char * | haystack_expr, | ||
const wchar_t * | needle, | ||
const wchar_t * | haystack | ||
) |
Action< F > testing::MakeAction | ( | ActionInterface< F > * | impl | ) |
|
inline |
testing::MATCHER | ( | IsEmpty | , |
negation ? "isn't empty" :"is empty" | |||
) |
testing::MATCHER | ( | IsFalse | , |
negation ? "is true" :"is false" | |||
) |
testing::MATCHER | ( | IsTrue | , |
negation ? "is false" :"is true" | |||
) |
|
inline |
::std::string testing::PrintToString | ( | const T & | value | ) |
internal::ParamGenerator< T > testing::Range | ( | T | start, |
T | end | ||
) |
internal::ParamGenerator< T > testing::Range | ( | T | start, |
T | end, | ||
IncrementT | step | ||
) |
TestInfo * testing::RegisterTest | ( | const char * | test_suite_name, |
const char * | test_name, | ||
const char * | type_param, | ||
const char * | value_param, | ||
const char * | file, | ||
int | line, | ||
Factory | factory | ||
) |
|
inline |
internal::ReturnAction< R > testing::Return | ( | R | value | ) |
internal::ReturnArgAction< k > testing::ReturnArg | ( | ) |
internal::ReturnNewAction< T, typename std::decay< Params >::type... > testing::ReturnNew | ( | Params &&... | params | ) |
|
inline |
internal::ReturnPointeeAction< Ptr > testing::ReturnPointee | ( | Ptr | pointer | ) |
|
delete |
|
inline |
|
inline |
internal::ReturnRoundRobinAction< T > testing::ReturnRoundRobin | ( | std::initializer_list< T > | vals | ) |
internal::ReturnRoundRobinAction< T > testing::ReturnRoundRobin | ( | std::vector< T > | vals | ) |
internal::SaveArgAction< k, Ptr > testing::SaveArg | ( | Ptr | pointer | ) |
internal::SaveArgPointeeAction< k, Ptr > testing::SaveArgPointee | ( | Ptr | pointer | ) |
internal::SetArgumentPointeeAction< N, T > testing::SetArgPointee | ( | T | value | ) |
internal::SetArgRefereeAction< k, typename std::decay< T >::type > testing::SetArgReferee | ( | T && | value | ) |
internal::SetArgumentPointeeAction< N, T > testing::SetArgumentPointee | ( | T | value | ) |
internal::SetArrayArgumentAction< k, I1, I2 > testing::SetArrayArgument | ( | I1 | first, |
I2 | last | ||
) |
PolymorphicAction< internal::SetErrnoAndReturnAction< T > > testing::SetErrnoAndReturn | ( | int | errval, |
T | result | ||
) |
|
constexprnoexcept |
GTEST_API_ std::string testing::TempDir | ( | ) |
internal::ValueArray< T... > testing::Values | ( | T... | v | ) |
internal::ParamGenerator< typename Container::value_type > testing::ValuesIn | ( | const Container & | container | ) |
internal::ParamGenerator< T > testing::ValuesIn | ( | const T(&) | array[N] | ) |
internal::ParamGenerator< typename std::iterator_traits< ForwardIterator >::value_type > testing::ValuesIn | ( | ForwardIterator | begin, |
ForwardIterator | end | ||
) |
internal::WithArgsAction< typename std::decay< InnerAction >::type, k > testing::WithArg | ( | InnerAction && | action | ) |
internal::WithArgsAction< typename std::decay< InnerAction >::type, k, ks... > testing::WithArgs | ( | InnerAction && | action | ) |
internal::WithArgsAction< typename std::decay< InnerAction >::type > testing::WithoutArgs | ( | InnerAction && | action | ) |
class GTEST_API_ testing::ScopedTrace testing::GTEST_ATTRIBUTE_UNUSED_ |