HomeSort by relevance Sort by last modified time
    Searched refs:Nullary (Results 1 - 5 of 5) sorted by null

  /external/chromium/testing/gmock/test/
gmock-generated-function-mockers_test.cc 81 virtual int Nullary() = 0;
122 MOCK_METHOD0(Nullary, int()); // NOLINT
173 // Tests mocking a nullary function.
175 EXPECT_CALL(mock_foo_, Nullary())
179 EXPECT_EQ(0, foo_->Nullary());
180 EXPECT_EQ(1, foo_->Nullary());
271 // Tests mocking a nullary function with calltype.
gmock-generated-internal-utils_test.cc 74 TEST(FunctionTest, Nullary) {
gmock-more-actions_test.cc 76 int Nullary() { return 1; }
184 int Nullary() const { return value_; }
232 // Tests using Invoke() with a nullary function.
233 TEST(InvokeTest, Nullary) {
234 Action<int()> a = Invoke(Nullary); // NOLINT
362 // Tests using Invoke() with a nullary method.
363 TEST(InvokeMethodTest, Nullary) {
365 Action<int()> a = Invoke(&foo, &Foo::Nullary); // NOLINT
472 Action<int(int n)> a = WithoutArgs(Invoke(Nullary)); // NOLINT
gmock-actions_test.cc 426 // Implements a polymorphic action that can be used in a nullary
    [all...]
gmock-generated-actions_test.cc 71 int Nullary() { return 1; }
169 // Tests using InvokeArgument with a nullary function.
172 EXPECT_EQ(1, a.Perform(make_tuple(2, &Nullary)));
    [all...]

Completed in 2641 milliseconds