Home
last modified time | relevance | path

Searched refs:EXPECT_CALL (Results 1 – 25 of 44) sorted by relevance

12

/external/google-breakpad/src/common/dwarf/
Ddwarf2diehandler_unittest.cc108 EXPECT_CALL(mock_root_handler, in TEST()
129 EXPECT_CALL(mock_root_handler, in TEST()
134 EXPECT_CALL(mock_root_handler, in TEST()
157 EXPECT_CALL(mock_root_handler, in TEST()
161 EXPECT_CALL(mock_root_handler, in TEST()
165 EXPECT_CALL(mock_root_handler, EndAttributes()) in TEST()
167 EXPECT_CALL(mock_root_handler, Finish()) in TEST()
197 EXPECT_CALL(mock_root_handler, in TEST()
203 EXPECT_CALL(mock_root_handler, in TEST()
208 EXPECT_CALL(mock_root_handler, in TEST()
[all …]
Ddwarf2reader_cfi_unittest.cc154 EXPECT_CALL(handler, UndefinedRule(_, _)).Times(0); in CFIFixture()
155 EXPECT_CALL(handler, SameValueRule(_, _)).Times(0); in CFIFixture()
156 EXPECT_CALL(handler, OffsetRule(_, _, _, _)).Times(0); in CFIFixture()
157 EXPECT_CALL(handler, ValOffsetRule(_, _, _, _)).Times(0); in CFIFixture()
158 EXPECT_CALL(handler, RegisterRule(_, _, _)).Times(0); in CFIFixture()
159 EXPECT_CALL(handler, ExpressionRule(_, _, _)).Times(0); in CFIFixture()
160 EXPECT_CALL(handler, ValExpressionRule(_, _, _)).Times(0); in CFIFixture()
161 EXPECT_CALL(handler, PersonalityRoutine(_, _)).Times(0); in CFIFixture()
162 EXPECT_CALL(handler, LanguageSpecificDataArea(_, _)).Times(0); in CFIFixture()
163 EXPECT_CALL(handler, SignalHandler()).Times(0); in CFIFixture()
[all …]
Ddwarf2reader_die_unittest.cc115 EXPECT_CALL(handler, StartCompilationUnit(_, _, _, _, _)).Times(0); in DIEFixture()
116 EXPECT_CALL(handler, StartDIE(_, _)).Times(0); in DIEFixture()
117 EXPECT_CALL(handler, ProcessAttributeUnsigned(_, _, _, _)).Times(0); in DIEFixture()
118 EXPECT_CALL(handler, ProcessAttributeSigned(_, _, _, _)).Times(0); in DIEFixture()
119 EXPECT_CALL(handler, ProcessAttributeReference(_, _, _, _)).Times(0); in DIEFixture()
120 EXPECT_CALL(handler, ProcessAttributeBuffer(_, _, _, _, _)).Times(0); in DIEFixture()
121 EXPECT_CALL(handler, ProcessAttributeString(_, _, _, _)).Times(0); in DIEFixture()
122 EXPECT_CALL(handler, EndDIE(_)).Times(0); in DIEFixture()
182 EXPECT_CALL(handler, in TEST_P()
187 EXPECT_CALL(handler, StartDIE(_, dwarf2reader::DW_TAG_compile_unit)) in TEST_P()
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-spec-builders_test.cc125 EXPECT_CALL(incomplete, ByRefFunc(_)) in TEST()
210 EXPECT_CALL(cc, Method()); in TEST()
217 EXPECT_CALL(cc, Method()).WillOnce(Return(42)); in TEST()
289 EXPECT_CALL(*pa++, DoA(_)); in TEST()
298 EXPECT_CALL(a, DoA(n++)); in TEST()
308 EXPECT_CALL(a, DoA(5)) in TEST()
310 EXPECT_CALL(a, DoA(6)) in TEST()
319 EXPECT_CALL(a, DoA(6)) in TEST()
331 EXPECT_CALL(a, DoA(1)) in TEST()
339 EXPECT_CALL(a, DoA(2)) in TEST()
[all …]
Dgmock_output_test_.cc70 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
79 EXPECT_CALL(foo_, Bar3(0, _)); in TEST_F()
86 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F()
94 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
101 EXPECT_CALL(foo_, Bar3(0, _)); in TEST_F()
108 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
115 EXPECT_CALL(foo_, Bar3(0, _)); in TEST_F()
130 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F()
132 EXPECT_CALL(foo_, Bar2(0, 0)); in TEST_F()
142 EXPECT_CALL(foo_, Bar(_, 0, _)); in TEST_F()
[all …]
Dgmock-generated-function-mockers_test.cc169 EXPECT_CALL(mock_foo_, VoidReturning(Lt(100))); in TEST_F()
175 EXPECT_CALL(mock_foo_, Nullary()) in TEST_F()
185 EXPECT_CALL(mock_foo_, Unary(Eq(2))) in TEST_F()
195 EXPECT_CALL(mock_foo_, Binary(2, _)) in TEST_F()
203 EXPECT_CALL(mock_foo_, Decimal(true, 'a', 0, 0, 1L, A<float>(), in TEST_F()
213 EXPECT_CALL(mock_foo_, TakesNonConstReference(Ref(a))) in TEST_F()
222 EXPECT_CALL(mock_foo_, TakesConstReference(Ref(a))) in TEST_F()
231 EXPECT_CALL(mock_foo_, TakesConst(Lt(10))) in TEST_F()
240 EXPECT_CALL(mock_foo_, OverloadedOnArgumentNumber()) in TEST_F()
242 EXPECT_CALL(mock_foo_, OverloadedOnArgumentNumber(_)) in TEST_F()
[all …]
Dgmock_stress_test.cc158 EXPECT_CALL(foo, Bar(0)) in TestConcurrentMockObjects()
160 EXPECT_CALL(foo, Baz(_, _)); in TestConcurrentMockObjects()
161 EXPECT_CALL(foo, Baz("hi", "you")) in TestConcurrentMockObjects()
204 EXPECT_CALL(foo, Baz(_, "b")) in TestConcurrentCallsOnSameObject()
207 EXPECT_CALL(foo, Baz(_, "c")); // Expected to be unsatisfied. in TestConcurrentCallsOnSameObject()
244 EXPECT_CALL(foo, Bar(0)); in TestPartiallyOrderedExpectationsWithThreads()
245 EXPECT_CALL(foo, Bar(1)) in TestPartiallyOrderedExpectationsWithThreads()
249 EXPECT_CALL(foo, Bar(2)) in TestPartiallyOrderedExpectationsWithThreads()
253 EXPECT_CALL(foo, Bar(3)) in TestPartiallyOrderedExpectationsWithThreads()
259 EXPECT_CALL(foo, Bar(2)) in TestPartiallyOrderedExpectationsWithThreads()
[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 …]
Dgmock_link_test.h245 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
254 EXPECT_CALL(mock, StringFromString(_)).WillOnce(Return(&ch)); in TEST()
262 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
271 EXPECT_CALL(mock, IntRefFromString(_)).WillOnce(ReturnRef(n)); in TEST()
280 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Assign(&ch, 'y')); in TEST()
289 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArgPointee<0>('y')); in TEST()
299 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArrayArgument<0>(&ch2, in TEST()
311 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1)); in TEST()
323 EXPECT_CALL(mock, VoidFromString(_)) in TEST()
335 EXPECT_CALL(mock, VoidFromString(_)) in TEST()
[all …]
Dgmock-nice-strict_test.cc160 EXPECT_CALL(nice_foo, DoThis()); in TEST()
168 EXPECT_CALL(nice_foo, DoThis()).Times(0); in TEST()
204 EXPECT_CALL(nice, DoThis()); in TEST()
213 EXPECT_CALL(strict_foo, DoThis()); in TEST()
221 EXPECT_CALL(strict_foo, DoThis()).Times(0); in TEST()
278 EXPECT_CALL(strict, DoThis()); in TEST()
/external/google-breakpad/src/common/
Dstabs_reader_unittest.cc293 EXPECT_CALL(mock_handler, in TEST_F()
297 EXPECT_CALL(mock_handler, StartFunction(StrEq("fun1"), 0xa049f4b1U)) in TEST_F()
299 EXPECT_CALL(mock_handler, in TEST_F()
302 EXPECT_CALL(mock_handler, in TEST_F()
305 EXPECT_CALL(mock_handler, EndFunction(0xbf27cf93U)) in TEST_F()
307 EXPECT_CALL(mock_handler, StartFunction(StrEq("fun2"), 0xbf27cf93U)) in TEST_F()
309 EXPECT_CALL(mock_handler, in TEST_F()
312 EXPECT_CALL(mock_handler, in TEST_F()
315 EXPECT_CALL(mock_handler, EndFunction(0xd04b7448U)) in TEST_F()
317 EXPECT_CALL(mock_handler, EndCompilationUnit(0xd04b7448U)) in TEST_F()
[all …]
Ddwarf_cu_to_module_unittest.cc134 EXPECT_CALL(reporter_, SetCUName("compilation-unit-name")).Times(1); in CUFixtureBase()
135 EXPECT_CALL(reporter_, UnknownSpecification(_, _)).Times(0); in CUFixtureBase()
136 EXPECT_CALL(reporter_, UnknownAbstractOrigin(_, _)).Times(0); in CUFixtureBase()
137 EXPECT_CALL(reporter_, MissingSection(_)).Times(0); in CUFixtureBase()
138 EXPECT_CALL(reporter_, BadLineInfoOffset(_)).Times(0); in CUFixtureBase()
139 EXPECT_CALL(reporter_, UncoveredFunction(_)).Times(0); in CUFixtureBase()
140 EXPECT_CALL(reporter_, UncoveredLine(_)).Times(0); in CUFixtureBase()
141 EXPECT_CALL(reporter_, UnnamedFunction(_)).Times(0); in CUFixtureBase()
142 EXPECT_CALL(reporter_, UnhandledInterCUReference(_, _)).Times(0); in CUFixtureBase()
146 EXPECT_CALL(line_reader_, StartCompilationUnit(_)).Times(0); in CUFixtureBase()
[all …]
Ddwarf_cfi_to_module_unittest.cc74 EXPECT_CALL(reporter, UnnamedRegister(_, _)).Times(0); in DwarfCFIToModuleFixture()
75 EXPECT_CALL(reporter, UndefinedNotSupported(_, _)).Times(0); in DwarfCFIToModuleFixture()
76 EXPECT_CALL(reporter, ExpressionsNotSupported(_, _)).Times(0); in DwarfCFIToModuleFixture()
135 EXPECT_CALL(reporter, UndefinedNotSupported(_, "reg7")); in TEST_F()
145 EXPECT_CALL(reporter, UnnamedRegister(_, 10)); in TEST_F()
146 EXPECT_CALL(reporter, UndefinedNotSupported(_, "unnamed_register10")); in TEST_F()
193 EXPECT_CALL(reporter, UnnamedRegister(_, 11)); in TEST_F()
219 EXPECT_CALL(reporter, ExpressionsNotSupported(_, "reg2")); in TEST_F()
230 EXPECT_CALL(reporter, ExpressionsNotSupported(_, "reg0")); in TEST_F()
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
Dpairingsessiontest.cc98 EXPECT_CALL(listener_, OnSessionCreated()); in InitSession()
99 EXPECT_CALL(session_, DoInitializationPhase()); in InitSession()
143 EXPECT_CALL(listener_, OnPerformInputDeviceRole()); in TEST_F()
157 EXPECT_CALL(challenge_, GetGamma(_)).WillOnce(Return(new Gamma(10, 0x5))); in TEST_F()
158 EXPECT_CALL(listener_, OnPerformOutputDeviceRole(Gamma(10, 0x5))); in TEST_F()
159 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
198 EXPECT_CALL(listener_, OnPerformInputDeviceRole()); in TEST_F()
206 EXPECT_CALL(challenge_, CheckGamma(gamma)).WillOnce(Return(true)); in TEST_F()
207 EXPECT_CALL(challenge_, ExtractNonce(gamma)) in TEST_F()
209 EXPECT_CALL(challenge_, GetAlpha(nonce)) in TEST_F()
[all …]
Dserverpairingsessiontest.cc71 EXPECT_CALL(listener_, OnSessionCreated()); in InitSession()
72 EXPECT_CALL(wire_, GetNextMessage()); in InitSession()
92 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
100 EXPECT_CALL(wire_, SendPairingRequestAckMessage(_)); in TEST_F()
101 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
110 EXPECT_CALL(wire_, SendOptionsMessage(_)); in TEST_F()
111 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
125 EXPECT_CALL(wire_, SendConfigurationAckMessage(_)); in TEST_F()
127 EXPECT_CALL(challenge_, GetGamma(_)).WillOnce(Return(new Gamma(5, 0x5))); in TEST_F()
128 EXPECT_CALL(listener_, OnPerformOutputDeviceRole(Gamma(5, 0x5))); in TEST_F()
[all …]
Dclientpairingsessiontest.cc76 EXPECT_CALL(listener_, OnSessionCreated()); in InitSession()
78 EXPECT_CALL(wire_, SendPairingRequestMessage( in InitSession()
81 EXPECT_CALL(wire_, GetNextMessage()); in InitSession()
106 EXPECT_CALL(wire_, SendConfigurationMessage(_)); in TEST_F()
107 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
115 EXPECT_CALL(wire_, SendOptionsMessage(_)); in TEST_F()
116 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
131 EXPECT_CALL(wire_, SendConfigurationMessage(_)); in TEST_F()
132 EXPECT_CALL(wire_, GetNextMessage()); in TEST_F()
149 EXPECT_CALL(listener_, OnPerformInputDeviceRole()); in TEST_F()
/external/google-breakpad/src/processor/
Dminidump_processor_unittest.cc333 EXPECT_CALL(dump, path()).WillRepeatedly(Return("mock minidump")); in TEST_F()
334 EXPECT_CALL(dump, Read()).WillRepeatedly(Return(true)); in TEST_F()
338 EXPECT_CALL(dump, header()). in TEST_F()
345 EXPECT_CALL(dump, GetThreadList()). in TEST_F()
347 EXPECT_CALL(dump, GetSystemInfo()). in TEST_F()
364 EXPECT_CALL(supplier, GetCStringSymbolData( in TEST_F()
368 EXPECT_CALL(supplier, GetCStringSymbolData( in TEST_F()
374 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber()); in TEST_F()
382 EXPECT_CALL(supplier, GetCStringSymbolData( in TEST_F()
386 EXPECT_CALL(supplier, GetCStringSymbolData( in TEST_F()
[all …]
Dcfi_frame_info_unittest.cc71 EXPECT_CALL(memory, GetBase()).Times(0); in ExpectNoMemoryReferences()
72 EXPECT_CALL(memory, GetSize()).Times(0); in ExpectNoMemoryReferences()
73 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint8_t *>())).Times(0); in ExpectNoMemoryReferences()
74 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint16_t *>())).Times(0); in ExpectNoMemoryReferences()
75 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint32_t *>())).Times(0); in ExpectNoMemoryReferences()
76 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint64_t *>())).Times(0); in ExpectNoMemoryReferences()
306 EXPECT_CALL(mock_handler, CFARule(_)).Times(0); in CFIParserFixture()
307 EXPECT_CALL(mock_handler, RARule(_)).Times(0); in CFIParserFixture()
308 EXPECT_CALL(mock_handler, RegisterRule(_, _)).Times(0); in CFIParserFixture()
358 EXPECT_CALL(mock_handler, CFARule("spleen")).WillOnce(Return()); in TEST_F()
[all …]
/external/v8/src/compiler/
Dgraph-reducer-unittest.cc82 EXPECT_CALL(r, Reduce(node1)).WillOnce(Return(Reducer::Replace(node2))); in TEST_F()
93 EXPECT_CALL(r1, Reduce(node0)); in TEST_F()
94 EXPECT_CALL(r2, Reduce(node0)); in TEST_F()
103 EXPECT_CALL(r1, Reduce(node0)); in TEST_F()
104 EXPECT_CALL(r2, Reduce(node0)); in TEST_F()
105 EXPECT_CALL(r3, Reduce(node0)).InSequence(s1, s2).WillOnce( in TEST_F()
107 EXPECT_CALL(r1, Reduce(node0)).InSequence(s1); in TEST_F()
108 EXPECT_CALL(r2, Reduce(node0)).InSequence(s2); in TEST_F()
/external/google-breakpad/src/common/linux/
Dgoogle_crashdump_uploader_test.cc63 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(false)); in TEST_F()
87 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); in TEST_F()
88 EXPECT_CALL(m, AddFile(tempfn, _)).WillOnce(Return(true)); in TEST_F()
89 EXPECT_CALL(m, in TEST_F()
109 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); in TEST_F()
110 EXPECT_CALL(m, SendRequest(_,_,_,_,_)).Times(0); in TEST_F()
/external/google-breakpad/src/common/mac/
Dmacho_reader_unittest.cc200 EXPECT_CALL(reporter, BadHeader()).Times(0); in FatReaderFixture()
201 EXPECT_CALL(reporter, TooShort()).Times(0); in FatReaderFixture()
244 EXPECT_CALL(reporter, BadHeader()).Times(1); in TEST_F()
253 EXPECT_CALL(reporter, TooShort()).Times(1); in TEST_F()
260 EXPECT_CALL(reporter, TooShort()).Times(1); in TEST_F()
275 EXPECT_CALL(reporter, MisplacedObjectFile()).Times(1); in TEST_F()
456 EXPECT_CALL(reporter, TooShort()).WillOnce(Return()); in TEST_F()
735 EXPECT_CALL(reporter, BadHeader()).Times(0); in ReaderFixture()
736 EXPECT_CALL(reporter, CPUTypeMismatch(_, _, _, _)).Times(0); in ReaderFixture()
737 EXPECT_CALL(reporter, HeaderTruncated()).Times(0); in ReaderFixture()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdfformfill_embeddertest.cpp21 EXPECT_CALL(mock, Alert(_, _, _, _)).Times(0); in TEST_F()
22 EXPECT_CALL(mock, UnsupportedHandler(_)).Times(0); in TEST_F()
23 EXPECT_CALL(mock, SetTimer(_, _)).Times(0); in TEST_F()
24 EXPECT_CALL(mock, KillTimer(_)).Times(0); in TEST_F()
/external/google-breakpad/src/client/windows/unittests/
Dcrash_generation_server_test.cc140 EXPECT_CALL(mock_callbacks_, OnClientConnected(_)).Times(0); in DoTestFault()
145 EXPECT_CALL(mock_callbacks_, OnClientConnected(_)); in DoTestFault()
293 EXPECT_CALL(mock_callbacks_, OnClientConnected(_)); in TEST_F()
299 EXPECT_CALL(mock_callbacks_, OnClientConnected(_)); in TEST_F()
/external/v8/src/libplatform/
Ddefault-platform-unittest.cc36 EXPECT_CALL(*task, Run()); in TEST()
37 EXPECT_CALL(*task, Die()); in TEST()
Dworker-thread-unittest.cc35 EXPECT_CALL(*task, Run()); in TEST()
36 EXPECT_CALL(*task, Die()); in TEST()

12