Home
last modified time | relevance | path

Searched refs:foo_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium/testing/gmock/test/
Dgmock_output_test_.cc64 MockFoo foo_; member in GMockOutputTest
70 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
71 foo_.Bar2(0, 0); // Expected call in TEST_F()
79 EXPECT_CALL(foo_, Bar3(0, _)); in TEST_F()
80 foo_.Bar3(0, 0); // Expected call in TEST_F()
86 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F()
89 foo_.Bar2(2, 2); in TEST_F()
90 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F()
94 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
96 foo_.Bar2(1, 0); // Unexpected call in TEST_F()
[all …]
Dgmock-generated-function-mockers_test.cc161 FunctionMockerTest() : foo_(&mock_foo_) {} in FunctionMockerTest()
163 FooInterface* const foo_; member in testing::gmock_generated_function_mockers_test::FunctionMockerTest
170 foo_->VoidReturning(0); in TEST_F()
179 EXPECT_EQ(0, foo_->Nullary()); in TEST_F()
180 EXPECT_EQ(1, foo_->Nullary()); in TEST_F()
189 EXPECT_TRUE(foo_->Unary(2)); in TEST_F()
190 EXPECT_FALSE(foo_->Unary(2)); in TEST_F()
198 EXPECT_EQ(3, foo_->Binary(2, 1)); in TEST_F()
207 EXPECT_EQ(5, foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, NULL, "hi")); in TEST_F()
216 EXPECT_TRUE(foo_->TakesNonConstReference(a)); in TEST_F()
[all …]
Dgmock_output_test_golden.txt3 FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked
6 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar2(0, _))...
13 FILE:#: EXPECT_CALL(foo_, Bar3(0, _)) invoked
16 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar3(0, _))...
23 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))...
26 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))...
38 FILE:#: EXPECT_CALL(foo_, Bar2(0, _))...
51 FILE:#: EXPECT_CALL(foo_, Bar3(0, _))...
95 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))...
100 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(0, 0))...
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc450 foo_ = message_->field(0); in SetUp()
474 const FieldDescriptor* foo_; member in google::protobuf::descriptor_unittest::DescriptorTest
501 EXPECT_EQ(foo_, message_->field(0)); in TEST_F()
513 EXPECT_EQ(foo_, message_->FindFieldByName("foo")); in TEST_F()
528 EXPECT_EQ(foo_, message_->FindFieldByNumber(1)); in TEST_F()
543 EXPECT_EQ("foo", foo_->name()); in TEST_F()
550 EXPECT_EQ("TestMessage.foo", foo_->full_name()); in TEST_F()
561 EXPECT_EQ(foo_file_, foo_->file()); in TEST_F()
572 EXPECT_EQ(0, foo_->index()); in TEST_F()
579 EXPECT_EQ( 1, foo_->number()); in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc1003 foo_(descriptor_->FindMethodByName("Foo")), in GeneratedServiceTest()
1009 ASSERT_TRUE(foo_ != NULL); in SetUp()
1014 const MethodDescriptor* foo_; member in google::protobuf::compiler::cpp::cpp_unittest::GeneratedServiceTest
1059 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F()
1084 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F()
1090 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F()
1100 &mock_service_.GetRequestPrototype(foo_)); in TEST_F()
1105 &mock_service_.GetResponsePrototype(foo_)); in TEST_F()
1118 EXPECT_EQ(foo_ , mock_channel_.method_ ); in TEST_F()
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp907 Foo *foo_; member in thread_annot_lock_43::FooBar
908 int GetA() EXCLUSIVE_LOCKS_REQUIRED(foo_->mu_) { return a_; } in GetA()
909 int a_ GUARDED_BY(foo_->mu_);
917 fb->foo_->mu_->Lock(); in main()
919 fb->foo_->mu_->Unlock(); in main()
/external/chromium/chrome/browser/tabs/
Dtab_strip_model_unittest.cc257 std::map<TabContents*, int> foo_; member in TabStripModelTest
/external/bluetooth/glib/
DChangeLog.pre-2-2747 Trivial s/foo/foo_/ fixes to make <glib.h> includable with