|
Electroneum
|
#include "gmock/gmock.h"#include <errno.h>#include "gmock/internal/gmock-port.h"#include "gtest/gtest.h"#include <iostream>#include <vector>
Go to the source code of this file.
Classes | |
| class | Interface |
| class | Mock |
| class | InvokeHelper |
| class | FieldHelper |
| class | Matcher< T > |
Functions | |
| TEST (LinkTest, TestReturnVoid) | |
| TEST (LinkTest, TestReturn) | |
| TEST (LinkTest, TestReturnNull) | |
| TEST (LinkTest, TestReturnRef) | |
| TEST (LinkTest, TestAssign) | |
| TEST (LinkTest, TestSetArgPointee) | |
| TEST (LinkTest, TestSetArrayArgument) | |
| TEST (LinkTest, TestSetErrnoAndReturn) | |
| TEST (LinkTest, TestInvoke) | |
| TEST (LinkTest, TestInvokeWithoutArgs) | |
| TEST (LinkTest, TestInvokeArgument) | |
| TEST (LinkTest, TestWithArg) | |
| TEST (LinkTest, TestWithArgs) | |
| TEST (LinkTest, TestWithoutArgs) | |
| TEST (LinkTest, TestDoAll) | |
| TEST (LinkTest, TestDoDefault) | |
| TEST (LinkTest, TestIgnoreResult) | |
| TEST (LinkTest, TestActionMacro) | |
| TEST (LinkTest, TestActionPMacro) | |
| TEST (LinkTest, TestActionP2Macro) | |
| TEST (LinkTest, TestMatcherAnything) | |
| TEST (LinkTest, TestMatcherA) | |
| TEST (LinkTest, TestMatchersEq) | |
| TEST (LinkTest, TestMatchersRelations) | |
| TEST (LinkTest, TestMatcherNotNull) | |
| TEST (LinkTest, TestMatcherIsNull) | |
| TEST (LinkTest, TestMatcherRef) | |
| TEST (LinkTest, TestMatcherTypedEq) | |
| TEST (LinkTest, TestMatchersFloatingPoint) | |
| TEST (LinkTest, TestMatcherContainsRegex) | |
| TEST (LinkTest, TestMatcherMatchesRegex) | |
| TEST (LinkTest, TestMatchersSubstrings) | |
| TEST (LinkTest, TestMatchersStringEquality) | |
| TEST (LinkTest, TestMatcherElementsAre) | |
| TEST (LinkTest, TestMatcherElementsAreArray) | |
| TEST (LinkTest, TestMatcherContainerEq) | |
| TEST (LinkTest, TestMatcherField) | |
| TEST (LinkTest, TestMatcherProperty) | |
| TEST (LinkTest, TestMatcherResultOf) | |
| TEST (LinkTest, TestMatcherPointee) | |
| TEST (LinkTest, TestMatcherTruly) | |
| TEST (LinkTest, TestMatcherAllOf) | |
| TEST (LinkTest, TestMatcherAnyOf) | |
| TEST (LinkTest, TestMatcherNot) | |
| TEST (LinkTest, TestMatcherCast) | |
| template<typename T> | |
| Matcher< T > | A () |
| template<typename M1, typename M2> | |
| internal::AllOfResult2< M1, M2 >::type | AllOf (M1 m1, M2 m2) |
| template<typename M1, typename M2> | |
| internal::AnyOfResult2< M1, M2 >::type | AnyOf (M1 m1, M2 m2) |
| template<typename T1, typename T2> | |
| PolymorphicAction< internal::AssignAction< T1, T2 > > | Assign (T1 *ptr, T2 val) |
| template<typename Container> | |
| PolymorphicMatcher< internal::ContainerEqMatcher< GTEST_REMOVE_CONST_(Container)> > | ContainerEq (const Container &rhs) |
| template<typename Action1, typename Action2> | |
| internal::DoBothAction< Action1, Action2 > | DoAll (Action1 a1, Action2 a2) |
| internal::DoDefaultAction | DoDefault () |
| internal::FloatingEqMatcher< double > | DoubleEq (double rhs) |
| internal::ElementsAreMatcher< ::testing::tuple<> > | ElementsAre () |
| template<typename Iter> | |
| internal::ElementsAreArrayMatcher< typename ::std::iterator_traits< Iter >::value_type > | ElementsAreArray (Iter first, Iter last) |
| PolymorphicMatcher< internal::EndsWithMatcher< internal::string > > | EndsWith (const internal::string &suffix) |
| template<typename T> | |
| internal::EqMatcher< T > | Eq (T x) |
| template<typename Class, typename FieldType, typename FieldMatcher> | |
| PolymorphicMatcher< internal::FieldMatcher< Class, FieldType > > | Field (FieldType Class::*field, const FieldMatcher &matcher) |
| internal::FloatingEqMatcher< float > | FloatEq (float rhs) |
| template<typename Rhs> | |
| internal::GeMatcher< Rhs > | Ge (Rhs x) |
| template<typename Rhs> | |
| internal::GtMatcher< Rhs > | Gt (Rhs x) |
| PolymorphicMatcher< internal::HasSubstrMatcher< internal::string > > | HasSubstr (const internal::string &substring) |
| template<typename A> | |
| internal::IgnoreResultAction< A > | IgnoreResult (const A &an_action) |
| template<typename FunctionImpl> | |
| PolymorphicAction< internal::InvokeAction< FunctionImpl > > | Invoke (FunctionImpl function_impl) |
| template<typename FunctionImpl> | |
| PolymorphicAction< internal::InvokeWithoutArgsAction< FunctionImpl > > | InvokeWithoutArgs (FunctionImpl function_impl) |
| PolymorphicMatcher< internal::IsNullMatcher > | IsNull () |
| template<typename Rhs> | |
| internal::LeMatcher< Rhs > | Le (Rhs x) |
| template<typename Rhs> | |
| internal::LtMatcher< Rhs > | Lt (Rhs x) |
| template<typename T, typename M> | |
| Matcher< T > | MatcherCast (const M &matcher) |
| internal::FloatingEqMatcher< double > | NanSensitiveDoubleEq (double rhs) |
| internal::FloatingEqMatcher< float > | NanSensitiveFloatEq (float rhs) |
| template<typename Rhs> | |
| internal::NeMatcher< Rhs > | Ne (Rhs x) |
| template<typename InnerMatcher> | |
| internal::NotMatcher< InnerMatcher > | Not (InnerMatcher m) |
| PolymorphicMatcher< internal::NotNullMatcher > | NotNull () |
| template<typename T> | |
| internal::RefMatcher< T & > | Ref (T &x) |
| template<typename Callable, typename ResultOfMatcher> | |
| internal::ResultOfMatcher< Callable > | ResultOf (Callable callable, const ResultOfMatcher &matcher) |
| template<typename R> | |
| internal::ReturnAction< R > | Return (R value) |
| PolymorphicAction< internal::ReturnNullAction > | ReturnNull () |
| template<typename R> | |
| internal::ReturnRefAction< R > | ReturnRef (R &x) |
| template<size_t N, typename T> | |
| PolymorphicAction< internal::SetArgumentPointeeAction< N, T, internal::IsAProtocolMessage< T >::value > > | SetArgPointee (const T &x) |
| PolymorphicMatcher< internal::StartsWithMatcher< internal::string > > | StartsWith (const internal::string &prefix) |
| PolymorphicMatcher< internal::StrEqualityMatcher< internal::string > > | StrCaseEq (const internal::string &str) |
| PolymorphicMatcher< internal::StrEqualityMatcher< internal::string > > | StrCaseNe (const internal::string &str) |
| PolymorphicMatcher< internal::StrEqualityMatcher< internal::string > > | StrEq (const internal::string &str) |
| PolymorphicMatcher< internal::StrEqualityMatcher< internal::string > > | StrNe (const internal::string &str) |
| template<typename Predicate> | |
| PolymorphicMatcher< internal::TrulyMatcher< Predicate > > | Truly (Predicate pred) |
| template<typename Lhs, typename Rhs> | |
| Matcher< Lhs > | TypedEq (const Rhs &rhs) |
| template<int k, typename InnerAction> | |
| internal::WithArgsAction< InnerAction, k > | WithArg (const InnerAction &action) |
| template<int k1, typename InnerAction> | |
| internal::WithArgsAction< InnerAction, k1 > | WithArgs (const InnerAction &action) |
| template<typename InnerAction> | |
| internal::WithArgsAction< InnerAction > | WithoutArgs (const InnerAction &action) |
| template<typename T> | |
| PolymorphicAction< internal::SetErrnoAndReturnAction< T > > | SetErrnoAndReturn (int errval, T result) |
| PolymorphicMatcher< internal::MatchesRegexMatcher > | ContainsRegex (const internal::RE *regex) |
| PolymorphicMatcher< internal::MatchesRegexMatcher > | MatchesRegex (const internal::RE *regex) |
Variables | |
| const internal::AnythingMatcher | _ |
|
inline |
Definition at line 3732 of file gmock-matchers.h.

|
inline |
Definition at line 1002 of file gmock-generated-matchers.h.

|
inline |
Definition at line 1085 of file gmock-generated-matchers.h.

| PolymorphicAction< internal::AssignAction< T1, T2 > > testing::Assign | ( | T1 * | ptr, |
| T2 | val ) |
Definition at line 1147 of file gmock-actions.h.

|
inline |
Definition at line 4150 of file gmock-matchers.h.

|
inline |
|
inline |
Definition at line 696 of file gmock-generated-actions.h.

|
inline |
Definition at line 1099 of file gmock-actions.h.

|
inline |
Definition at line 3815 of file gmock-matchers.h.

|
inline |
Definition at line 570 of file gmock-generated-matchers.h.

|
inline |
Definition at line 3646 of file gmock-matchers.h.

|
inline |
Definition at line 3998 of file gmock-matchers.h.

|
inline |
Definition at line 3742 of file gmock-matchers.h.

|
inline |
Definition at line 3896 of file gmock-matchers.h.

|
inline |
Definition at line 3843 of file gmock-matchers.h.

|
inline |
Definition at line 3766 of file gmock-matchers.h.

|
inline |
Definition at line 3772 of file gmock-matchers.h.

|
inline |
Definition at line 3984 of file gmock-matchers.h.

|
inline |
Definition at line 1187 of file gmock-actions.h.

| PolymorphicAction< internal::InvokeAction< FunctionImpl > > testing::Invoke | ( | FunctionImpl | function_impl | ) |
Definition at line 114 of file gmock-more-actions.h.

| PolymorphicAction< internal::InvokeWithoutArgsAction< FunctionImpl > > testing::InvokeWithoutArgs | ( | FunctionImpl | function_impl | ) |
Definition at line 1168 of file gmock-actions.h.

|
inline |
|
inline |
Definition at line 3778 of file gmock-matchers.h.

|
inline |
Definition at line 3784 of file gmock-matchers.h.

|
inline |
Definition at line 610 of file gmock-matchers.h.

|
inline |
|
inline |
Definition at line 3821 of file gmock-matchers.h.

|
inline |
Definition at line 3849 of file gmock-matchers.h.

|
inline |
Definition at line 3790 of file gmock-matchers.h.

|
inline |
Definition at line 4107 of file gmock-matchers.h.

|
inline |
|
inline |
Definition at line 3809 of file gmock-matchers.h.

| internal::ResultOfMatcher< Callable > testing::ResultOf | ( | Callable | callable, |
| const ResultOfMatcher & | matcher ) |
Definition at line 3939 of file gmock-matchers.h.

| internal::ReturnAction< R > testing::Return | ( | R | value | ) |
Definition at line 1061 of file gmock-actions.h.

|
inline |
Definition at line 1066 of file gmock-actions.h.
|
inline |
Definition at line 1077 of file gmock-actions.h.

| PolymorphicAction< internal::SetArgumentPointeeAction< N, T, internal::IsAProtocolMessage< T >::value > > testing::SetArgPointee | ( | const T & | x | ) |
Definition at line 1109 of file gmock-actions.h.

| PolymorphicAction< internal::SetErrnoAndReturnAction< T > > testing::SetErrnoAndReturn | ( | int | errval, |
| T | result ) |
Definition at line 1156 of file gmock-actions.h.

|
inline |
Definition at line 3991 of file gmock-matchers.h.

|
inline |
Definition at line 3969 of file gmock-matchers.h.

|
inline |
Definition at line 3976 of file gmock-matchers.h.

|
inline |
Definition at line 3955 of file gmock-matchers.h.

|
inline |
Definition at line 3962 of file gmock-matchers.h.

| TEST | ( | LinkTest | , |
| TestActionMacro | ) |
Definition at line 431 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestActionP2Macro | ) |
Definition at line 461 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestActionPMacro | ) |
Definition at line 443 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestAssign | ) |
Definition at line 276 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestDoAll | ) |
Definition at line 379 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestDoDefault | ) |
Definition at line 389 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestIgnoreResult | ) |
Definition at line 399 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestInvoke | ) |
Definition at line 319 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestInvokeArgument | ) |
Definition at line 344 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestInvokeWithoutArgs | ) |
Definition at line 331 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherA | ) |
Definition at line 478 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherAllOf | ) |
Definition at line 646 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherAnyOf | ) |
Definition at line 652 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherAnything | ) |
| TEST | ( | LinkTest | , |
| TestMatcherCast | ) |
Definition at line 664 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherContainerEq | ) |
Definition at line 596 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherContainsRegex | ) |
Definition at line 549 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherElementsAre | ) |
Definition at line 581 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherElementsAreArray | ) |
Definition at line 588 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherField | ) |
Definition at line 604 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherIsNull | ) |
Definition at line 513 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherMatchesRegex | ) |
Definition at line 556 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherNot | ) |
Definition at line 658 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherNotNull | ) |
Definition at line 506 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherPointee | ) |
Definition at line 632 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherProperty | ) |
Definition at line 615 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherRef | ) |
Definition at line 520 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherResultOf | ) |
Definition at line 626 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatchersEq | ) |
Definition at line 485 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatchersFloatingPoint | ) |
Definition at line 537 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatchersRelations | ) |
Definition at line 495 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatchersStringEquality | ) |
Definition at line 572 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatchersSubstrings | ) |
Definition at line 563 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherTruly | ) |
Definition at line 640 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestMatcherTypedEq | ) |
Definition at line 528 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestReturn | ) |
Definition at line 250 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestReturnNull | ) |
Definition at line 259 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestReturnRef | ) |
Definition at line 267 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestReturnVoid | ) |
Definition at line 242 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestSetArgPointee | ) |
Definition at line 285 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestSetArrayArgument | ) |
Definition at line 294 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestSetErrnoAndReturn | ) |
Definition at line 307 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestWithArg | ) |
Definition at line 353 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestWithArgs | ) |
Definition at line 362 of file gmock_link_test.h.

| TEST | ( | LinkTest | , |
| TestWithoutArgs | ) |
Definition at line 371 of file gmock_link_test.h.

|
inline |
|
inline |
|
inline |
Definition at line 146 of file gmock-more-actions.h.

|
inline |
Definition at line 625 of file gmock-generated-actions.h.

|
inline |
| const internal::AnythingMatcher testing::_ |
Definition at line 3729 of file gmock-matchers.h.