Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DTestUtil.java33 Exception toThrow = null; in close() local
38 toThrow = e; in close()
41 if (toThrow != null) { in close()
42 throw new RuntimeException(toThrow); in close()
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/
DWatcherImplTest.java59 MojoException toThrow = null; in tearDown() local
64 if (toThrow == null) { in tearDown()
65 toThrow = e; in tearDown()
69 if (toThrow != null) { in tearDown()
70 throw toThrow; in tearDown()
DCoreImplTest.java61 MojoException toThrow = null; in tearDown() local
66 if (toThrow == null) { in tearDown()
67 toThrow = e; in tearDown()
71 if (toThrow != null) { in tearDown()
72 throw toThrow; in tearDown()
/external/perfetto/ui/src/common/
Dregistry_unittest.ts42 expect(() => registry.register(a2)).toThrow();
47 expect(() => registry.get('foo')).toThrow();
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/
DMetricsTest.java35 final RuntimeException toThrow = new RuntimeException("UseClassLoader"); in loadMetricsComponent_UsesProvidedClassLoader() local
42 throw toThrow; in loadMetricsComponent_UsesProvidedClassLoader()
/external/opencensus-java/api/src/test/java/io/opencensus/tags/
DTagsTest.java34 final RuntimeException toThrow = new RuntimeException("UseClassLoader"); in loadTagsComponent_UsesProvidedClassLoader() local
41 throw toThrow; in loadTagsComponent_UsesProvidedClassLoader()
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DStatsTest.java34 final RuntimeException toThrow = new RuntimeException("UseClassLoader"); in loadStatsManager_UsesProvidedClassLoader() local
41 throw toThrow; in loadStatsManager_UsesProvidedClassLoader()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DTracingTest.java37 final RuntimeException toThrow = new RuntimeException("UseClassLoader"); in loadTraceComponent_UsesProvidedClassLoader() local
44 throw toThrow; in loadTraceComponent_UsesProvidedClassLoader()
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DHttpURLConnectionImpl.java482 IOException toThrow = e.getCause(); in execute()
483 httpEngineFailure = toThrow; in execute()
484 throw toThrow; in execute()
495 IOException toThrow = e.getLastConnectException(); in execute()
496 httpEngineFailure = toThrow; in execute()
497 throw toThrow; in execute()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java478 IOException toThrow = e.getCause(); in execute()
479 httpEngineFailure = toThrow; in execute()
480 throw toThrow; in execute()
491 IOException toThrow = e.getLastConnectException(); in execute()
492 httpEngineFailure = toThrow; in execute()
493 throw toThrow; in execute()
/external/perfetto/ui/src/frontend/
Drouter_jsdomtest.ts33 expect(() => new Router('/a', {'/b': mockComponent}, fakeDispatch)).toThrow();
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DCode.java389 public void throwValue(Local<? extends Throwable> toThrow) { in throwValue() argument
391 RegisterSpecList.make(toThrow.spec()), catches)); in throwValue()