Home
last modified time | relevance | path

Searched refs:mockHandler (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/chrome/browser/ui/webui/app_list/
Dstart_page_browsertest.js129 this.mockHandler.stubs().initialize().will(callFunction(function() {
132 this.mockHandler.stubs().launchApp(ANYTHING);
155 this.mockHandler.expects(once()).launchApp(
162 this.mockHandler.expects(once()).setSpeechRecognitionState('READY');
164 this.mockHandler.expects(once()).setSpeechRecognitionState('RECOGNIZING');
169 this.mockHandler.expects(once()).setSpeechRecognitionState('READY');
177 this.mockHandler.expects(once()).setSpeechRecognitionState('RECOGNIZING');
182 this.mockHandler.expects(once()).setSpeechRecognitionState('STOPPING');
183 this.mockHandler.expects(once()).setSpeechRecognitionState('READY');
191 this.mockHandler.expects(once()).setSpeechRecognitionState('READY');
[all …]
/external/mockito/src/org/mockito/internal/handler/
DInvocationNotifierHandler.java29 private InternalMockHandler<T> mockHandler; field in InvocationNotifierHandler
31 …public InvocationNotifierHandler(InternalMockHandler<T> mockHandler, MockCreationSettings settings… in InvocationNotifierHandler() argument
32 this.mockHandler = mockHandler; in InvocationNotifierHandler()
38 Object returnedValue = mockHandler.handle(invocation); in handle()
69 return mockHandler.getMockSettings(); in getMockSettings()
73 return mockHandler.voidMethodStubbable(mock); in voidMethodStubbable()
77 mockHandler.setAnswersForStubbing(answers); in setAnswersForStubbing()
81 return mockHandler.getInvocationContainer(); in getInvocationContainer()
/external/chromium_org/chrome/browser/ui/webui/extensions/chromeos/
Dkiosk_apps_browsertest.js56 this.mockHandler.stubs().getKioskAppSettings().
60 this.mockHandler.stubs().addKioskApp(ANYTHING);
61 this.mockHandler.stubs().removeKioskApp(ANYTHING);
62 this.mockHandler.stubs().enableKioskAutoLaunch(ANYTHING);
63 this.mockHandler.stubs().disableKioskAutoLaunch(ANYTHING);
92 this.mockHandler.expects(once()).addKioskApp([testAppId]);
103 this.mockHandler.expects(once()).addKioskApp([testAppId]);
112 this.mockHandler.expects(once()).addKioskApp([testAppId]);
121 this.mockHandler.expects(once()).removeKioskApp([appId]);
131 this.mockHandler.expects(once()).enableKioskAutoLaunch([appId]).
[all …]
/external/chromium_org/chrome/browser/ui/webui/options/
Dedit_dictionary_browsertest.js29 this.mockHandler.stubs().refreshDictionaryWords().
33 this.mockHandler.stubs().addDictionaryWord(ANYTHING);
34 this.mockHandler.stubs().removeDictionaryWord(ANYTHING);
44 this.mockHandler.expects(once()).addDictionaryWord([testWord]).
51 this.mockHandler.expects(once()).removeDictionaryWord([testWord]).
Doptions_browsertest.js86 this.mockHandler.stubs().fetchPrefs(ANYTHING);
87 this.mockHandler.stubs().observePrefs(ANYTHING);
88 this.mockHandler.stubs().coreOptionsUserMetricsAction(ANYTHING);
109 this.mockHandler.expects(once()).setBooleanPref(trueListValue);
149 this.mockHandler.expects(once()).defaultZoomFactorAction(NOT_NULL).
197 this.mockHandler.expects(once()).setBooleanPref(
249 this.mockHandler.expects(once()).setBooleanPref(
259 this.mockHandler.expects(once()).setBooleanPref(
Dcertificate_manager_browsertest.js62 this.mockHandler.expects(once()).populateCertificateManager();
156 this.mockHandler.expects(once()).populateCertificateManager().will(
195 this.mockHandler.expects(once()).viewCertificate(['c1']);
231 this.mockHandler.expects(once()).deleteCertificate(['c1']).will(callFunction(
Dstartup_page_list_browsertest.js131 this.mockHandler.expects(once()).addStartupPage([NEW_PAGE, 0]);
140 this.mockHandler.expects(once()).dragDropStartupPage([0, [1].join()]);
Dlanguage_options_dictionary_download_browsertest.js26 this.mockHandler.stubs().retryDictionaryDownload().
95 this.mockHandler.expects(once()).retryDictionaryDownload().
Dfont_settings_browsertest.js46 this.mockHandler.expects(once()).openAdvancedFontSettingsOptions();
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Dbluetooth_options_browsertest.js76 this.mockHandler.expects(once()).bluetoothEnableChange([true]).will(
150 this.mockHandler.expects(once()).findBluetoothDevices();
160 this.mockHandler.expects(once()).stopBluetoothDeviceDiscovery();
161 this.mockHandler.expects(once()).updateBluetoothDevice(
208 this.mockHandler.expects(once()).updateBluetoothDevice(
251 this.mockHandler.expects(once()).updateBluetoothDevice(
269 this.mockHandler.expects(once()).updateBluetoothDevice(
287 this.mockHandler.expects(once()).updateBluetoothDevice(
/external/chromium_org/chrome/browser/ui/webui/
Dsync_setup_browsertest.js68 this.mockHandler.expects(once()).SyncSetupShowSetupUI().
76 this.mockHandler.expects(once()).SyncSetupStartSignIn().
85 this.mockHandler.expects(once()).SyncSetupConfigure(ANYTHING).
Dsync_internals_browsertest.js293 this.mockHandler.expects(once()).
329 this.mockHandler.expects(once()).
/external/mockito/src/org/mockito/internal/util/
DMockUtil.java30 MockHandler mockHandler = new MockHandlerFactory().create(settings); in createMock() local
32 T mock = mockMaker.createMock(settings, mockHandler); in createMock()