HomeSort by relevance Sort by last modified time
    Searched full:thrown (Results 1 - 25 of 2563) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /dalvik/tests/059-finalizer-throw/
info.txt 1 Verify that exceptions thrown from finalizers are ignored.
  /dalvik/tests/061-out-of-memory/
info.txt 1 Tests the various ways that an OutOfMemoryError can be constructed and thrown.
  /dalvik/dx/src/junit/framework/
AssertionFailedError.java 4 * Thrown when an assertion failed.
  /dalvik/tests/021-string2/src/junit/framework/
AssertionFailedError.java 4 * Thrown when an assertion failed.
  /dalvik/tests/082-inline-execute/src/junit/framework/
AssertionFailedError.java 4 * Thrown when an assertion failed.
  /external/webkit/LayoutTests/storage/
open-database-empty-version-expected.txt 1 This tests that calling openDatabase with an empty version string does not cause an exception to be thrown.
open-database-set-empty-version-expected.txt 2 SUCCESS, an exception was thrown. Error: INVALID_STATE_ERR: DOM Exception 11
  /libcore/junit/src/main/java/junit/framework/
AssertionFailedError.java 4 * Thrown when an assertion failed.
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
ArrayTest.java 45 boolean thrown = false;
57 thrown = true;
59 if (!thrown) {
62 thrown = false;
67 thrown = true;
69 if (!thrown) {
76 thrown = false;
88 thrown = true;
90 if (!thrown) {
93 thrown = false
    [all...]
FieldTest.java 45 // to be thrown. This version has been validated to pass on a standard
217 boolean thrown = false;
224 thrown = true;
226 assertTrue("IllegalAccessException expected but not thrown", thrown);
235 thrown = false;
242 thrown = true;
244 assertTrue("IllegalArgumentException expected but not thrown", thrown);
247 thrown = false
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/luni/util/
SneakyThrow.java 29 * Throwable thrown = null;
32 * if (thrown != null) {
33 * if (thrown instanceof IOException) {
34 * throw (IOException) thrown;
35 * } else if (thrown instanceof RuntimeException) {
36 * throw (RuntimeException) thrown;
37 * } else if (thrown instanceof Error) {
38 * throw (Error) thrown;
47 * Throwable thrown = null;
50 * if (thrown != null)
    [all...]
  /external/junit/src/junit/framework/
AssertionFailedError.java 4 * Thrown when an assertion failed.
  /dalvik/dx/src/junit/extensions/
ExceptionTestCase.java 6 * A TestCase that expects an Exception of class fExpected to be thrown.
7 * The other way to check that an expected exception is thrown is:
32 * class fExpected or one of its subclasses will be thrown
  /external/junit/src/junit/extensions/
ExceptionTestCase.java 6 * A TestCase that expects an Exception of class fExpected to be thrown.
7 * The other way to check that an expected exception is thrown is:
32 * class fExpected or one of its subclasses will be thrown
  /libcore/junit/src/main/java/junit/extensions/
ExceptionTestCase.java 6 * A TestCase that expects an Exception of class fExpected to be thrown.
7 * The other way to check that an expected exception is thrown is:
32 * class fExpected or one of its subclasses will be thrown
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
KeyManagerFactorySpiTest.java 72 fail("NoSuchAlgorithmException wasn't thrown");
76 fail(e + " was thrown instead of NoSuchAlgorithmException");
81 fail("KeyStoreException wasn't thrown");
85 fail(e + " was thrown instead of KeyStoreException");
91 fail("UnrecoverableKeyException wasn't thrown");
95 fail(e + " was thrown instead of UnrecoverableKeyException");
121 fail("InvalidAlgorithmParameterException wasn't thrown");
125 fail(e + " was thrown instead of InvalidAlgorithmParameterException");
133 fail(e + " unexpected exception was thrown");
151 fail("IllegalStateException wasn't thrown");
    [all...]
X509TrustManagerTest.java 68 fail("IllegalArgumentException wasn't thrown");
72 fail(e + " was thrown instead of IllegalArgumentException");
78 fail("IllegalArgumentException wasn't thrown");
82 fail(e + " was thrown instead of IllegalArgumentException");
88 fail("IllegalArgumentException wasn't thrown");
92 fail(e + " was thrown instead of IllegalArgumentException");
97 fail("IllegalArgumentException wasn't thrown");
101 fail(e + " was thrown instead of IllegalArgumentException");
120 fail("CertificateException wasn't thrown");
161 fail("IllegalArgumentException wasn't thrown");
    [all...]
SSLEngineTest.java 101 fail("unexpected SSLException was thrown.");
231 fail("IllegalArgumentException wasn't thrown");
291 fail("IllegalArgumentException wasn't thrown");
405 fail("IllegalStateException wasn't thrown");
409 fail(e + " was thrown instead of IllegalStateException");
414 fail("IllegalStateException wasn't thrown");
418 fail(e + " was thrown instead of IllegalStateException");
466 fail("IllegalArgumentException was not thrown");
541 * Exception case: SSLException should be thrown.
557 fail("SSLException wasn't thrown");
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_ASimpleOutputStream.java 9 * In particular this implementation allows to have IOExecptions thrown on demand.
43 throw new IOException("Exception thrown for testing purpose.");
50 throw new IOException("Exception thrown for testing purpose.");
57 // throw new IOException("Exception thrown for testing purposes.");
67 // throw new IOException("Exception thrown for testing purposes.");
80 throw new IOException("Exception thrown for testing purpose.");
Support_ASimpleInputStream.java 9 * In particular this implementation allows to have IOExecptions thrown on demand.
50 throw new IOException("Exception thrown for testing purpose.");
57 throw new IOException("Exception thrown for testing purpose.");
65 throw new IOException("Exception thrown for testing purpose.");
Support_ASimpleReader.java 9 * In particular this implementation allows to have IOExecptions thrown on demand.
43 throw new IOException("Exception thrown for testing purpose.");
50 throw new IOException("Exception thrown for testing purpose.");
58 throw new IOException("Exception thrown for testing purpose.");
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/
DataLengthException.java 4 * this exception is thrown if a buffer that is meant to have output
6 * insufficient input. In general this exception will get thrown rather
CryptoException.java 4 * the foundation class for the hard exceptions thrown by the crypto packages.
InvalidCipherTextException.java 4 * this exception is thrown whenever we find something we don't expect in a
RuntimeCryptoException.java 4 * the foundation class for the exceptions thrown by the crypto packages.

Completed in 317 milliseconds

1 2 3 4 5 6 7 8 91011>>