Home
last modified time | relevance | path

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

12

/external/google-breakpad/src/testing/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/googletest/googlemock/test/
Dgmock_output_test_.cc71 NaggyMock<MockFoo> foo_; member in GMockOutputTest
77 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
78 foo_.Bar2(0, 0); // Expected call in TEST_F()
86 EXPECT_CALL(foo_, Bar3(0, _)); in TEST_F()
87 foo_.Bar3(0, 0); // Expected call in TEST_F()
93 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F()
96 foo_.Bar2(2, 2); in TEST_F()
97 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F()
101 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
103 foo_.Bar2(1, 0); // Unexpected call in TEST_F()
[all …]
Dgmock-function-mocker_test.cc183 MockMethodFunctionMockerTest() : foo_(&mock_foo_) {} in MockMethodFunctionMockerTest()
185 FooInterface* const foo_; member in testing::gmock_function_mocker_test::MockMethodFunctionMockerTest
192 foo_->VoidReturning(0); in TEST_F()
201 EXPECT_EQ(0, foo_->Nullary()); in TEST_F()
202 EXPECT_EQ(1, foo_->Nullary()); in TEST_F()
211 EXPECT_TRUE(foo_->Unary(2)); in TEST_F()
212 EXPECT_FALSE(foo_->Unary(2)); in TEST_F()
220 EXPECT_EQ(3, foo_->Binary(2, 1)); in TEST_F()
229 EXPECT_EQ(5, foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, nullptr, "hi")); in TEST_F()
239 EXPECT_TRUE(foo_->TakesNonConstReference(a)); in TEST_F()
[all …]
Dgmock-generated-function-mockers_test.cc186 FunctionMockerTest() : foo_(&mock_foo_) {} in FunctionMockerTest()
188 FooInterface* const foo_; member in testing::gmock_generated_function_mockers_test::FunctionMockerTest
195 foo_->VoidReturning(0); in TEST_F()
204 EXPECT_EQ(0, foo_->Nullary()); in TEST_F()
205 EXPECT_EQ(1, foo_->Nullary()); in TEST_F()
214 EXPECT_TRUE(foo_->Unary(2)); in TEST_F()
215 EXPECT_FALSE(foo_->Unary(2)); in TEST_F()
223 EXPECT_EQ(3, foo_->Binary(2, 1)); in TEST_F()
232 EXPECT_EQ(5, foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, nullptr, "hi")); in TEST_F()
241 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/clang/test/Sema/
Dwarn-thread-safety-analysis.c44 struct Foo foo_ = {&mu1}; variable
45 int a_ GUARDED_BY(foo_.mu_);
46 int *b_ PT_GUARDED_BY(foo_.mu_) = &a_;
67 void set_value(int *a, int value) EXCLUSIVE_LOCKS_REQUIRED(foo_.mu_) { in set_value()
71 int get_value(int *p) SHARED_LOCKS_REQUIRED(foo_.mu_){ in get_value()
106 mutex_exclusive_lock(foo_.mu_); in main()
108 mutex_unlock(foo_.mu_); in main()
109 mutex_shared_lock(foo_.mu_); in main()
111 mutex_unlock(foo_.mu_); in main()
115 mutex_exclusive_lock(foo_.mu_); in main()
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc644 foo_ = message_->field(0); in SetUp()
686 const FieldDescriptor* foo_; member in google::protobuf::descriptor_unittest::DescriptorTest
715 EXPECT_EQ(foo_, message_->field(0)); in TEST_F()
727 EXPECT_EQ(foo_, message_->FindFieldByName("foo")); in TEST_F()
742 EXPECT_EQ(foo_, message_->FindFieldByNumber(1)); in TEST_F()
757 EXPECT_EQ("foo", foo_->name()); in TEST_F()
764 EXPECT_EQ("TestMessage.foo", foo_->full_name()); in TEST_F()
804 EXPECT_EQ(foo_file_, foo_->file()); in TEST_F()
815 EXPECT_EQ(0, foo_->index()); in TEST_F()
822 EXPECT_EQ( 1, foo_->number()); in TEST_F()
[all …]
/external/libchrome/base/
Doptional_unittest.cc36 TestObject() : foo_(0), bar_(0.0), state_(State::DEFAULT_CONSTRUCTED) {} in TestObject()
39 : foo_(foo), bar_(bar), state_(State::VALUE_CONSTRUCTED) {} in TestObject()
42 : foo_(other.foo_), in TestObject()
48 : foo_(std::move(other.foo_)), in TestObject()
56 foo_ = other.foo_; in operator =()
64 foo_ = other.foo_; in operator =()
74 swap(foo_, other->foo_); in Swap()
82 return std::tie(foo_, bar_) == std::tie(other.foo_, other.bar_); in operator ==()
87 int foo() const { return foo_; } in foo()
92 int foo_; member in base::__anon8c549ea10111::TestObject
[all …]
/external/perfetto/src/base/
Doptional_unittest.cc53 TestObject() : foo_(0), bar_(0.0), state_(State::DEFAULT_CONSTRUCTED) {} in TestObject()
56 : foo_(foo), bar_(bar), state_(State::VALUE_CONSTRUCTED) {} in TestObject()
59 : foo_(other.foo_), in TestObject()
65 : foo_(std::move(other.foo_)), in TestObject()
73 foo_ = other.foo_; in operator =()
81 foo_ = other.foo_; in operator =()
91 swap(foo_, other->foo_); in Swap()
99 return std::tie(foo_, bar_) == std::tie(other.foo_, other.bar_); in operator ==()
104 int foo() const { return foo_; } in foo()
109 int foo_; member in perfetto::base::__anon3a00206c0111::TestObject
[all …]
/external/libchrome/mojo/public/cpp/bindings/tests/
Dpickled_types_chromium.h38 int foo() const { return foo_; } in foo()
39 void set_foo(int foo) { foo_ = foo; } in set_foo()
49 int foo_ = 0;
Dpickled_types_blink.h41 int foo() const { return foo_; } in foo()
44 foo_ = foo; in set_foo()
58 int foo_ = 0;
Dpickled_types_blink.cc16 : foo_(foo), bar_(bar) { in PickledStructBlink()
17 DCHECK_GE(foo_, 0); in PickledStructBlink()
Dpickled_types_chromium.cc15 : foo_(foo), bar_(bar) {} in PickledStructChromium()
/external/v8/tools/clang/rewrite_scoped_refptr/tests/
Dconst-scoped_refptr&-to-raw-adds-get-original.cc13 const scoped_refptr<Foo>& foo() const { return foo_; } in foo()
16 scoped_refptr<Foo> foo_; member in Bar
Dconst-scoped_refptr&-to-raw-adds-get-expected.cc13 const scoped_refptr<Foo>& foo() const { return foo_; } in foo()
16 scoped_refptr<Foo> foo_; member in Bar
/external/sfntly/cpp/src/test/
Dsmart_pointer_test.cc26 int foo_; member in Foo
27 int foo() { return foo_; } in foo()
/external/libchrome/base/memory/
Dprotected_memory_unittest.cc19 Data(int foo_) : foo(foo_) {} in Data()
/external/tensorflow/tensorflow/stream_executor/lib/
Dstatusor_test.cc52 explicit CopyNoAssign(int value) : foo_(value) {} in CopyNoAssign()
53 CopyNoAssign(const CopyNoAssign& other) : foo_(other.foo_) {} in CopyNoAssign()
54 int foo_; member in stream_executor::port::__anon81b7bba50111::CopyNoAssign
264 EXPECT_EQ(original.ValueOrDie().foo_, copy.ValueOrDie().foo_); in TEST()
/external/llvm/test/MC/AsmParser/
Dmacro-args.s56 foo_$0_$1_$2_$3:
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AsmParser/
Dmacro-args.s56 foo_$0_$1_$2_$3:
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc1252 foo_(descriptor_->FindMethodByName("Foo")), in GeneratedServiceTest()
1258 ASSERT_TRUE(foo_ != NULL); in SetUp()
1263 const MethodDescriptor* foo_; member in google::protobuf::compiler::cpp::cpp_unittest::GeneratedServiceTest
1308 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F()
1333 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F()
1339 mock_service_.CallMethod(foo_, &mock_controller_, in TEST_F()
1349 &mock_service_.GetRequestPrototype(foo_)); in TEST_F()
1354 &mock_service_.GetResponsePrototype(foo_)); in TEST_F()
1367 EXPECT_EQ(foo_ , mock_channel_.method_ ); in TEST_F()
/external/clang/test/Analysis/
Dself-init.m292 @synthesize foo = foo_;
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs4416 get { return fooCase_ == FooOneofCase.FooInt ? (int) foo_ : 0; }
4418 foo_ = value;
4426 get { return fooCase_ == FooOneofCase.FooString ? (string) foo_ : ""; }
4428 foo_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
4436 …Case_ == FooOneofCase.FooMessage ? (global::Google.Protobuf.TestProtos.TestAllTypes) foo_ : null; }
4438 foo_ = value;
4443 private object foo_; field in Google.Protobuf.TestProtos.TestOneof
4458 foo_ = null; in ClearFoo()

12