Home
last modified time | relevance | path

Searched refs:ArgumentTuple (Results 1 – 11 of 11) sorted by relevance

/external/chromium/testing/gmock/include/gmock/
Dgmock-actions.h253 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
262 virtual Result Perform(const ArgumentTuple& args) = 0;
281 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
310 Result Perform(const ArgumentTuple& args) const { in Perform()
364 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
368 virtual Result Perform(const ArgumentTuple& args) { in Perform()
410 typedef typename internal::Function<F1>::ArgumentTuple ArgumentTuple; typedef
414 virtual Result Perform(const ArgumentTuple& args) { in Perform()
481 typedef typename Function<F>::ArgumentTuple ArgumentTuple; typedef
493 virtual Result Perform(const ArgumentTuple&) { return value_; } in Perform() argument
[all …]
Dgmock-spec-builders.h282 typedef typename Function<F>::ArgumentTuple ArgumentTuple; typedef
295 extra_matcher_(A<const ArgumentTuple&>()) { in OnCallSpec()
299 OnCallSpec& With(const Matcher<const ArgumentTuple&>& m) { in With()
324 bool Matches(const ArgumentTuple& args) const { in Matches()
351 Matcher<const ArgumentTuple&> extra_matcher_;
866 typedef typename Function<F>::ArgumentTuple ArgumentTuple; typedef
880 extra_matcher_(A<const ArgumentTuple&>()), in TypedExpectation()
894 TypedExpectation& With(const Matcher<const ArgumentTuple&>& m) { in With()
1040 const Matcher<const ArgumentTuple&>& extra_matcher() const { in extra_matcher()
1073 bool Matches(const ArgumentTuple& args) const { in Matches()
[all …]
Dgmock-generated-function-mockers.h65 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
76 return this->InvokeWith(ArgumentTuple()); in Invoke()
85 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
97 return this->InvokeWith(ArgumentTuple(a1)); in Invoke()
106 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
118 return this->InvokeWith(ArgumentTuple(a1, a2)); in Invoke()
127 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
140 return this->InvokeWith(ArgumentTuple(a1, a2, a3)); in Invoke()
149 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
162 return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4)); in Invoke()
[all …]
Dgmock-more-actions.h59 template <typename Result, typename ArgumentTuple>
60 Result Perform(const ArgumentTuple& args) { in Perform()
61 return InvokeHelper<Result, ArgumentTuple>::Invoke(function_impl_, args); in Perform()
77 template <typename Result, typename ArgumentTuple>
78 Result Perform(const ArgumentTuple& args) const { in Perform()
79 return InvokeHelper<Result, ArgumentTuple>::InvokeMethod( in Perform()
Dgmock-generated-actions.h50 template <typename Result, typename ArgumentTuple>
410 template <typename Result, typename ArgumentTuple, int k1, int k2, int k3,
414 typedef Result type(GMOCK_FIELD_(ArgumentTuple, k1),
415 GMOCK_FIELD_(ArgumentTuple, k2), GMOCK_FIELD_(ArgumentTuple, k3),
416 GMOCK_FIELD_(ArgumentTuple, k4), GMOCK_FIELD_(ArgumentTuple, k5),
417 GMOCK_FIELD_(ArgumentTuple, k6), GMOCK_FIELD_(ArgumentTuple, k7),
418 GMOCK_FIELD_(ArgumentTuple, k8), GMOCK_FIELD_(ArgumentTuple, k9),
419 GMOCK_FIELD_(ArgumentTuple, k10));
420 typedef typename Function<type>::ArgumentTuple SelectedArgs;
421 static SelectedArgs Select(const ArgumentTuple& args) { in Select()
[all …]
Dgmock-generated-actions.h.pump54 template <typename Result, typename ArgumentTuple>
149 // SelectArgs<Result, ArgumentTuple, k1, k2, ..., k_n>::type is the
151 // k{i}-th (0-based) field of ArgumentTuple, which must be a tuple
156 // SelectArgs<Result, ArgumentTuple, k1, k2, ..., k_n>::Select(args)
167 template <typename Result, typename ArgumentTuple, $for i, [[int k$i]]>
170 typedef Result type($for i, [[GMOCK_FIELD_(ArgumentTuple, k$i)]]);
171 typedef typename Function<type>::ArgumentTuple SelectedArgs;
172 static SelectedArgs Select(const ArgumentTuple& args) {
182 template <typename Result, typename ArgumentTuple$for j1[[, int k$j1]]>
183 class SelectArgs<Result, ArgumentTuple,
[all …]
Dgmock-generated-function-mockers.h.pump76 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple;
92 return this->InvokeWith(ArgumentTuple($as));
136 tn ::testing::internal::Function<F>::ArgumentTuple>::value == $i, \
/external/chromium/testing/gmock/include/gmock/internal/
Dgmock-generated-internal-utils.h157 typedef ::std::tr1::tuple<> ArgumentTuple;
158 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
167 typedef ::std::tr1::tuple<A1> ArgumentTuple;
168 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
177 typedef ::std::tr1::tuple<A1, A2> ArgumentTuple;
178 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
187 typedef ::std::tr1::tuple<A1, A2, A3> ArgumentTuple;
188 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
197 typedef ::std::tr1::tuple<A1, A2, A3, A4> ArgumentTuple;
198 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
[all …]
Dgmock-generated-internal-utils.h.pump91 // ArgumentTuple: the tuple type consisting of all parameters of F.
105 typedef ::std::tr1::tuple<> ArgumentTuple;
106 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
124 typedef ::std::tr1::tuple<$As> ArgumentTuple;
125 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
/external/chromium/testing/gmock/test/
Dgmock-generated-internal-utils_test.cc77 CompileAssertTypesEqual<tuple<>, F::ArgumentTuple>(); in TEST()
87 CompileAssertTypesEqual<tuple<bool>, F::ArgumentTuple>(); in TEST()
99 CompileAssertTypesEqual<tuple<bool, const long&>, F::ArgumentTuple>(); // NOLINT in TEST()
116 F::ArgumentTuple>(); in TEST()
Dgmock-actions_test.cc422 template <typename Result, typename ArgumentTuple>
423 Result Perform(const ArgumentTuple& args) { return get<1>(args); } in Perform()