Searched refs:AndReturn (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/
H A Dtest_presubmit.py379 input_api.change.RepositoryRoot().MultipleTimes().AndReturn(src_root)
446 self.fake_file.LocalPath().AndReturn(self.fake_file_name)
454 include_deletes=False, file_filter=None).AndReturn([self.fake_file])
466 self.fake_file.NewContents().AndReturn(contents.splitlines())
471 self.fake_file.NewContents().AndReturn(contents.splitlines())
474 self.output_api.PresubmitNotifyResult(author_msg).AndReturn(None)
476 self.fake_file_name + ':\n' + output.strip()).AndReturn(None)
/external/chromium_org/third_party/protobuf/python/
H A Dmox.py48 mock_dao.RetrievePersonWithIdentifier('1').AndReturn(person)
718 def AndReturn(self, return_value): member in class:MockMethod
746 Self for chaining with AndReturn and AndRaise.
760 mock_dao.RunQuery(StrContains('IN (1, 2, 4, 5)')).AndReturn(mock_result)
871 mock_dao.RunQuery(StrContains('IN (1, 2, 4, 5)')).AndReturn(mock_result)
943 mock_dao.GetUsersInfo(In('expectedUserName')).AndReturn(mock_result)
/external/protobuf/python/
H A Dmox.py48 mock_dao.RetrievePersonWithIdentifier('1').AndReturn(person)
718 def AndReturn(self, return_value): member in class:MockMethod
746 Self for chaining with AndReturn and AndRaise.
760 mock_dao.RunQuery(StrContains('IN (1, 2, 4, 5)')).AndReturn(mock_result)
871 mock_dao.RunQuery(StrContains('IN (1, 2, 4, 5)')).AndReturn(mock_result)
943 mock_dao.GetUsersInfo(In('expectedUserName')).AndReturn(mock_result)

Completed in 91 milliseconds