Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/js/
DJSScriptEngineTest.java125 private static final StopWatch sSandboxInitWatch = mock(StopWatch.class); field in JSScriptEngineTest
145 .thenReturn(sSandboxInitWatch); in initJavaScriptSandbox()
146 doNothing().when(sSandboxInitWatch).stop(); in initJavaScriptSandbox()
251 verify(sSandboxInitWatch).stop(); in testCanRunSimpleScriptWithNoArgs()
386 .thenReturn(sSandboxInitWatch); in testCanHandleFailuresFromWebView()
387 doNothing().when(sSandboxInitWatch).stop(); in testCanHandleFailuresFromWebView()
443 .thenReturn(sSandboxInitWatch); in testCanCloseAndThenWorkWithSameInstance()
444 doNothing().when(sSandboxInitWatch).stop(); in testCanCloseAndThenWorkWithSameInstance()
467 verify(sSandboxInitWatch, atLeastOnce()).stop(); in testCanCloseAndThenWorkWithSameInstance()