Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarExceptionTest.java29 JarException ex1 = new JarException("Test string"); in test_Constructor() local
31 assertNotSame(ex, ex1); in test_Constructor()
32 assertNotSame(ex.getMessage(), ex1.getMessage()); in test_Constructor()
38 JarException ex1 = new JarException("Test string"); in test_ConstructorLjava_lang_String() local
40 assertNotSame(ex1, ex2); in test_ConstructorLjava_lang_String()
41 assertNotSame(ex1.getMessage(), ex2.getMessage()); in test_ConstructorLjava_lang_String()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStoreBuilderTest.java438 Exception ex1 = null; in testNewInstanceStringProviderProtectionParameter() local
443 ex1 = e; in testNewInstanceStringProviderProtectionParameter()
450 assertEquals("Incorrect exception", ex1.getMessage(), ex2 in testNewInstanceStringProviderProtectionParameter()
462 ex1 = e; in testNewInstanceStringProviderProtectionParameter()
469 assertEquals("Incorrect exception", ex1.getMessage(), ex2 in testNewInstanceStringProviderProtectionParameter()
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java892 final CFException ex1 = new CFException(); in testExceptionally_exceptionalCompletionActionFailed() local
895 if (!createIncomplete) f.completeExceptionally(ex1); in testExceptionally_exceptionalCompletionActionFailed()
899 threadAssertSame(t, ex1); in testExceptionally_exceptionalCompletionActionFailed()
903 if (createIncomplete) f.completeExceptionally(ex1); in testExceptionally_exceptionalCompletionActionFailed()
906 checkCompletedExceptionally(f, ex1); in testExceptionally_exceptionalCompletionActionFailed()
1030 final CFException ex1 = new CFException(); in testWhenComplete_sourceFailedActionFailed() local
1034 if (!createIncomplete) f.completeExceptionally(ex1); in testWhenComplete_sourceFailedActionFailed()
1039 threadAssertSame(t, ex1); in testWhenComplete_sourceFailedActionFailed()
1044 if (createIncomplete) f.completeExceptionally(ex1); in testWhenComplete_sourceFailedActionFailed()
1046 checkCompletedWithWrappedException(g, ex1); in testWhenComplete_sourceFailedActionFailed()
[all …]