Searched refs:mock_handler (Results 1 – 4 of 4) sorted by relevance
/external/google-breakpad/src/common/ |
D | stabs_reader_unittest.cc | 251 &mock_handler); in ApplyHandlerToMockStabsData() 258 MockStabsReaderHandler mock_handler; member 293 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() [all …]
|
/external/google-breakpad/src/processor/ |
D | cfi_frame_info_unittest.cc | 303 CFIParserFixture() : parser(&mock_handler) { in CFIParserFixture() 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() 311 MockCFIRuleParserHandler mock_handler; member in CFIParserFixture 358 EXPECT_CALL(mock_handler, CFARule("spleen")).WillOnce(Return()); in TEST_F() 363 EXPECT_CALL(mock_handler, RARule("notoriety")).WillOnce(Return()); in TEST_F() 368 EXPECT_CALL(mock_handler, RegisterRule("nemo", "mellifluous")) in TEST_F() 374 EXPECT_CALL(mock_handler, CFARule("cfa expression")).WillOnce(Return()); in TEST_F() 375 EXPECT_CALL(mock_handler, RARule("ra expression")).WillOnce(Return()); in TEST_F() [all …]
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_base_events.py | 624 mock_handler = mock.Mock() 625 self.loop.set_exception_handler(mock_handler) 626 self.assertIs(self.loop.get_exception_handler(), mock_handler) 628 mock_handler.assert_called_with(self.loop, { 635 mock_handler.reset_mock() 645 assert not mock_handler.called
|
D | test_tasks.py | 2365 mock_handler = mock.Mock() 2367 self.loop.set_exception_handler(mock_handler) 2392 mock_handler.assert_called_with(self.loop, { 2397 mock_handler.reset_mock()
|