Home
last modified time | relevance | path

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

/third_party/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(_, _)).Times(2).WillOnce(Return(false)); in TEST_F()
94 foo_.Bar2(2, 2); in TEST_F()
95 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F()
99 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
101 foo_.Bar2(1, 0); // Unexpected call in TEST_F()
[all …]
Dgmock-function-mocker_test.cc295 FunctionMockerTest() : foo_(&mock_foo_) {} in FunctionMockerTest()
297 FooInterface* const foo_; member in testing::gmock_function_mocker_test::FunctionMockerTest
306 this->foo_->VoidReturning(0); in TYPED_TEST()
315 EXPECT_EQ(0, this->foo_->Nullary()); in TYPED_TEST()
316 EXPECT_EQ(1, this->foo_->Nullary()); in TYPED_TEST()
323 EXPECT_TRUE(this->foo_->Unary(2)); in TYPED_TEST()
324 EXPECT_FALSE(this->foo_->Unary(2)); in TYPED_TEST()
331 EXPECT_EQ(3, this->foo_->Binary(2, 1)); in TYPED_TEST()
340 EXPECT_EQ(5, this->foo_->Decimal(true, 'a', 0, 0, 1, 0, 0, 5, nullptr, "hi")); in TYPED_TEST()
349 EXPECT_TRUE(this->foo_->TakesNonConstReference(a)); in TYPED_TEST()
[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 …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestIssue6936C.cs71 foo_ = other.foo_ != null ? other.foo_.Clone() : null; in Bar()
82 private global::UnitTest.Issues.TestProtos.Foo foo_; field in UnitTest.Issues.TestProtos.Bar
85 get { return foo_; }
87 foo_ = value;
111 if (foo_ != null) hash ^= Foo.GetHashCode(); in GetHashCode()
128 if (foo_ != null) { in WriteTo()
141 if (foo_ != null) { in IBufferMessage.InternalWriteTo()
154 if (foo_ != null) { in CalculateSize()
168 if (other.foo_ != null) { in MergeFrom()
169 if (foo_ == null) { in MergeFrom()
[all …]
DUnittestSelfreferentialOptions.cs100 foo_ = other.foo_; in FooOptions()
141 private int foo_; field in UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions
147 get { if ((_hasBits0 & 2) != 0) { return foo_; } else { return FooDefaultValue; } }
150 foo_ = value;
DUnittest.cs12528 foo_ = other.HasFoo ? other.foo_.Clone() : null; in TestDupFieldNumber()
12567 private global::Google.Protobuf.TestProtos.Proto2.TestDupFieldNumber.Types.Foo foo_; field in Google.Protobuf.TestProtos.Proto2.TestDupFieldNumber
12570 get { return foo_; }
12572 foo_ = value;
12578 get { return foo_ != null; }
12583 foo_ = null; in ClearFoo()
19082 get { return HasFooInt ? (int) foo_ : 0; }
19084 foo_ = value;
19105 get { return HasFooString ? (string) foo_ : ""; }
19107 foo_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
[all …]
DUnittestCustomOptionsProto3.cs2051 foo_ = other.foo_; in ComplexOptionType1()
2065 private int foo_; field in UnitTest.Issues.TestProtos.ComplexOptionType1
2068 get { return foo_; }
2070 foo_ = value;
DUnittestProto3.cs6813 get { return fooCase_ == FooOneofCase.FooInt ? (int) foo_ : 0; }
6815 foo_ = value;
6824 get { return fooCase_ == FooOneofCase.FooString ? (string) foo_ : ""; }
6826 foo_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
6835 …Case_ == FooOneofCase.FooMessage ? (global::Google.Protobuf.TestProtos.TestAllTypes) foo_ : null; }
6837 foo_ = value;
6842 private object foo_; field in Google.Protobuf.TestProtos.TestOneof
6859 foo_ = null; in ClearFoo()
/third_party/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc748 foo_ = message_->field(0); in SetUp()
790 const FieldDescriptor* foo_; member in google::protobuf::descriptor_unittest::DescriptorTest
819 EXPECT_EQ(foo_, message_->field(0)); in TEST_F()
831 EXPECT_EQ(foo_, message_->FindFieldByName("foo")); in TEST_F()
846 EXPECT_EQ(foo_, message_->FindFieldByNumber(1)); in TEST_F()
861 EXPECT_EQ("foo", foo_->name()); in TEST_F()
868 EXPECT_EQ("TestMessage.foo", foo_->full_name()); in TEST_F()
879 EXPECT_EQ("TestMessage.foo", foo_->PrintableNameForExtension()); in TEST_F()
946 EXPECT_EQ(foo_file_, foo_->file()); in TEST_F()
957 EXPECT_EQ(0, foo_->index()); in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-cross/shaders-no-opt/asm/comp/
Daccess-tracking-function-call-result.asm.comp13 OpName %foo_ "foo("
35 %17 = OpFunctionCall %int %foo_
51 %foo_ = OpFunction %int None %9
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dsmart_pointer_test.cc26 int foo_; member in Foo
27 int foo() { return foo_; } in foo()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.inc1262 foo_(descriptor_->FindMethodByName("Foo")),
1268 ASSERT_TRUE(foo_ != NULL);
1273 const MethodDescriptor* foo_;
1318 mock_service_.CallMethod(foo_, &mock_controller_,
1343 mock_service_.CallMethod(foo_, &mock_controller_,
1349 mock_service_.CallMethod(foo_, &mock_controller_,
1359 &mock_service_.GetRequestPrototype(foo_));
1364 &mock_service_.GetResponsePrototype(foo_));
1377 EXPECT_EQ(foo_ , mock_channel_.method_ );
/third_party/node/doc/
DREADME.md23 * Exception: _we recommend foo_ is preferable to _foo is recommended_.
/third_party/protobuf/ruby/tests/
Dcommon_tests.rb730 assert_raise(NoMethodError) { m.foo_ }
/third_party/gstreamer/gstreamer/
DChangeLog37141 docs: fix multiqueue docs for new template names foo_%d -> foo_%u