Searched refs:mock_ (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/src/google/protobuf/util/internal/ |
D | expecting_objectwriter.h | 91 explicit ExpectingObjectWriter(MockObjectWriter* mock) : mock_(mock) {} in ExpectingObjectWriter() 95 ? EXPECT_CALL(*mock_, StartObject(IsEmpty())) in StartObject() 96 : EXPECT_CALL(*mock_, StartObject(StrEq(name.ToString())))) in StartObject() 97 .WillOnce(Return(mock_)) in StartObject() 103 EXPECT_CALL(*mock_, EndObject()) in EndObject() 104 .WillOnce(Return(mock_)) in EndObject() 111 ? EXPECT_CALL(*mock_, StartList(IsEmpty())) in StartList() 112 : EXPECT_CALL(*mock_, StartList(StrEq(name.ToString())))) in StartList() 113 .WillOnce(Return(mock_)) in StartList() 119 EXPECT_CALL(*mock_, EndList()) in EndList() [all …]
|
D | default_value_objectwriter_test.cc | 52 : helper_(GetParam()), mock_(), expects_(&mock_) { in BaseDefaultValueObjectWriterTest() 55 string(kTypeServiceBaseUrl) + "/" + descriptor->full_name(), &mock_)); in BaseDefaultValueObjectWriterTest() 61 MockObjectWriter mock_; member in google::protobuf::util::converter::testing::BaseDefaultValueObjectWriterTest
|
D | protostream_objectsource_test.cc | 101 mock_(), in ProtostreamObjectSourceTest() 102 ow_(&mock_), in ProtostreamObjectSourceTest() 125 return os->WriteTo(&mock_); in ExecuteTest() 273 ::testing::NiceMock<MockObjectWriter> mock_; 471 EXPECT_CALL(mock_, StartList(_)).Times(1); in TEST_P() 472 EXPECT_CALL(mock_, EndList()).Times(1); in TEST_P()
|
D | json_stream_parser_test.cc | 86 JsonStreamParserTest() : mock_(), ow_(&mock_) {} in JsonStreamParserTest() 90 JsonStreamParser parser(&mock_); in RunTest() 136 MockObjectWriter mock_; member in google::protobuf::util::converter::JsonStreamParserTest
|
/external/libchrome/base/files/ |
D | file_descriptor_watcher_posix_unittest.cc | 107 Bind(&Mock::ReadableCallback, Unretained(&mock_))); in WatchReadable() 123 Bind(&Mock::WritableCallback, Unretained(&mock_))); in WatchWritable() 144 testing::StrictMock<Mock> mock_; member in base::__anon7ab4a7fa0111::FileDescriptorWatcherTest 175 EXPECT_CALL(mock_, WritableCallback()) in TEST_P() 187 EXPECT_CALL(mock_, ReadableCallback()) in TEST_P() 193 testing::Mock::VerifyAndClear(&mock_); in TEST_P() 207 EXPECT_CALL(mock_, ReadableCallback()) in TEST_P() 214 testing::Mock::VerifyAndClear(&mock_); in TEST_P() 228 EXPECT_CALL(mock_, ReadableCallback()) in TEST_P() 238 testing::Mock::VerifyAndClear(&mock_); in TEST_P() [all …]
|
/external/googletest/googlemock/include/gmock/ |
D | gmock-spec-builders.h | 1857 mock_.SetOwnerAndName(this, "Call"); in Call() 1858 return mock_.Invoke(std::forward<Args>(args)...); in Call() 1862 mock_.RegisterOwner(this); in gmock_Call() 1863 return mock_.With(std::move(m)...); in gmock_Call() 1872 mutable internal::FunctionMocker<R(Args...)> mock_;
|