Lines Matching refs:Bar
133 virtual Bar& GetBar();
134 virtual const Bar& GetBar() const;
142 MOCK_METHOD(Bar&, GetBar, (), (override));
143 MOCK_METHOD(const Bar&, GetBar, (), (const, override));
985 MOCK_METHOD(Bar&, GetBar, (), (override));
986 MOCK_METHOD(const Bar&, GetBar, (), (const, override));
991 Bar bar1, bar2;
1160 // Bar() must be called with an even number.
1161 EXPECT_CALL(foo, Bar(Truly(IsEven)));
1279 EXPECT_CALL(foo, Bar(Pointee(Ge(3))));
1282 expects `foo.Bar()` to be called with a pointer that points to a value greater
1563 EXPECT_CALL(foo, Bar(_))
1574 EXPECT_CALL(foo, Bar(5));
1575 EXPECT_CALL(foo, Bar(Gt(10)))
1579 A call to `foo.Bar()` that doesn't match any of the `EXPECT_CALL()` statements
1663 // Expect foo.Bar( ... ) twice with any arguments.
1664 EXPECT_CALL(foo, Bar).Times(2);
1837 MOCK_METHOD(Bar&, GetBar, (), (override));
1841 Bar bar;
1920 MOCK_METHOD(bool, Bar, (int n), (override));
1923 EXPECT_CALL(foo, Bar(_))
2120 MOCK_METHOD(Bar, CalculateBar, (), (override));
2125 Bar default_bar;
2126 // Sets the default return value for type Bar.
2127 DefaultValue<Bar>::Set(default_bar);
2138 DefaultValue<Bar>::Clear();
2392 MOCK_METHOD(bool, Bar,
2402 EXPECT_CALL(foo, Bar(_))
2573 MOCK_METHOD(double, Bar, (int index, double x, double y), (override));
2591 EXPECT_CALL(mock, Bar(5, _, _))
2608 EXPECT_CALL(mock, Bar(5, _, _))
3009 and want to verify that `Foo(1)` and `Foo(3)` both invoke `mock.Bar("a")`, but
3023 EXPECT_CALL(mock, Bar("a"));
3026 EXPECT_CALL(mock, Bar("a"));
3036 The expectation spec says that the first `Bar("a")` call must happen before
3037 checkpoint "1", the second `Bar("a")` call must happen after checkpoint "2", and
3039 it clear which `Bar("a")` is called by which call to `Foo()`.
3214 TEST(Foo, Bar) {
3228 [ RUN ] Foo.Bar
3251 [ FAILED ] Foo.Bar
3324 // Expects mock_foo.Bar(n) to be called where n is divisible by 7.
3325 EXPECT_CALL(mock_foo, Bar(IsDivisibleBy7()));
3427 `bool`. In the `Bar(IsDivisibleBy7())` example above, if method `Bar()` takes an
3631 EXPECT_CALL(foo, Bar(DivisibleBy7()));
3699 EXPECT_CALL(foo, Bar(NotNull())); // The argument must be a non-NULL pointer.
3781 EXPECT_CALL(foo, Bar(NotNull())); // The argument must be a non-NULL pointer.
3847 EXPECT_CALL(foo, Bar(3))
4073 ACTION_P(Bar, param) {
4166 | `ACTION_P(Bar, param)` | `Bar(int_value)` | `BarActionP<int>` |
4167 | `ACTION_TEMPLATE(Bar, HAS_m_TEMPLATE_PARAMS(...), AND_1_VALUE_PARAMS(p1))` | `Bar<t1, ..., t_m>(i…