Searched refs:fail (Results 1 - 25 of 1065) sorted by relevance

1234567891011>>

/libcore/luni/src/test/java/libcore/java/util/
H A DUUIDTest.java29 fail();
34 fail();
39 fail();
44 fail();
49 fail();
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldStringBufferTest.java29 fail("StringIndexOutOfBoundsException was not thrown.");
36 fail("StringIndexOutOfBoundsException was not thrown.");
52 fail("IndexOutOfBoundsException is not thrown.");
59 fail("IndexOutOfBoundsException is not thrown.");
66 fail("IndexOutOfBoundsException is not thrown.");
73 fail("IndexOutOfBoundsException is not thrown.");
80 fail("IndexOutOfBoundsException is not thrown.");
87 fail("IndexOutOfBoundsException is not thrown.");
96 fail("StringIndexOutOfBoundsException is not thrown.");
103 fail("StringIndexOutOfBoundsExceptio
[all...]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DArrayTest.java46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {}
47 try { Array.getBoolean(chars, 0); fail(); } catch (IllegalArgumentException expected) {}
48 try { Array.getBoolean(doubles, 0); fail(); } catch (IllegalArgumentException expected) {}
49 try { Array.getBoolean(floats, 0); fail(); } catch (IllegalArgumentException expected) {}
50 try { Array.getBoolean(ints, 0); fail(); } catch (IllegalArgumentException expected) {}
51 try { Array.getBoolean(longs, 0); fail(); } catch (IllegalArgumentException expected) {}
52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {}
53 try { Array.getBoolean(null, 0); fail(); } catch (NullPointerException expected) {}
57 try { Array.getByte(booleans, 0); fail(); } catch (IllegalArgumentException expected) {}
59 try { Array.getByte(chars, 0); fail(); } catc
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyStore4Test.java46 fail("test class not available");
52 fail("test keystore not available");
70 fail("unexpected exception: " + e);
75 fail("expected KeyStoreException");
82 fail("expected NullPointerException");
86 fail("unexpected exception: " + e);
96 fail("unexpected exception: " + e);
98 fail("unexpected exception: " + e);
103 fail("expected KeyStoreException");
107 fail("unexpecte
[all...]
/libcore/luni/src/test/java/libcore/java/math/
H A DMathContextTest.java42 fail();
47 fail();
54 fail();
61 fail();
66 fail();
71 fail();
78 fail();
83 fail();
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DDESedeKeySpecTest.java46 fail("Should raise an NullPointerException "
50 fail("Should raise an NullPointerException "
55 fail("Should raise an InvalidKeyException on a short byte array.");
57 fail("Unexpected NullPointerException was thrown.");
65 fail("Unexpected NullPointerException was thrown.");
67 fail("Unexpected InvalidKeyException was thrown.");
71 fail("Should raise an NullPointerException "
75 fail("Should raise an NullPointerException "
82 fail("Should raise an InvalidKeyException on a short byte array.");
84 fail("Unexpecte
[all...]
H A DIvParameterSpecTest.java47 fail("Should raise an NullPointerException "
67 fail("Should raise an IllegalArgumentException "
70 fail("Unexpected ArrayIndexOutOfBoundsException was thrown");
73 fail("Unexpected NullPointerException was thrown");
78 fail("Should raise an IllegalArgumentException "
81 fail("Unexpected ArrayIndexOutOfBoundsException was thrown");
84 fail("Unexpected NullPointerException was thrown");
89 fail("Should raise an ArrayIndexOutOfBoundsException "
93 fail("Unexpected IllegalArgumentException was thrown");
95 fail("Unexpecte
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DBindExceptionTest.java34 fail("Exception during BindException test" + e.toString());
36 fail("Failed to generate exception");
49 fail("Exception during BindException test : " + e.getMessage());
51 fail("Failed to generate exception");
H A DProtocolExceptionTest.java34 fail("Exception during ProtocolException test : " + e.getMessage());
36 fail("Failed to generate expected exception");
49 fail("Exception during ProtocolException test : " + e.getMessage());
51 fail("Failed to generate expected exception");
/libcore/luni/src/test/java/tests/security/cert/
H A DCertificateException2Test.java33 fail("Should have thrown CertificateException");
38 fail("Unexpected exception during test : " + e);
52 fail("Should have thrown CertificateException");
57 fail("Unexpected exception during test : " + e);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DReadOnlyCharBufferTest.java47 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
60 fail("Should throw Exception"); //$NON-NLS-1$
68 fail("Should throw Exception"); //$NON-NLS-1$
77 fail("Should throw Exception"); //$NON-NLS-1$
87 fail("Should throw Exception"); //$NON-NLS-1$
93 fail("Should throw Exception"); //$NON-NLS-1$
103 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
109 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
115 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
121 fail("Shoul
[all...]
H A DReadOnlyDoubleBufferTest.java44 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
57 fail("Should throw Exception"); //$NON-NLS-1$
65 fail("Should throw Exception"); //$NON-NLS-1$
74 fail("Should throw Exception"); //$NON-NLS-1$
84 fail("Should throw Exception"); //$NON-NLS-1$
90 fail("Should throw Exception"); //$NON-NLS-1$
100 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
106 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
112 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
118 fail("Shoul
[all...]
H A DReadOnlyFloatBufferTest.java43 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
57 fail("Should throw Exception"); //$NON-NLS-1$
66 fail("Should throw Exception"); //$NON-NLS-1$
75 fail("Should throw Exception"); //$NON-NLS-1$
85 fail("Should throw Exception"); //$NON-NLS-1$
91 fail("Should throw Exception"); //$NON-NLS-1$
101 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
107 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
113 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
119 fail("Shoul
[all...]
H A DReadOnlyIntBufferTest.java43 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
57 fail("Should throw Exception"); //$NON-NLS-1$
66 fail("Should throw Exception"); //$NON-NLS-1$
75 fail("Should throw Exception"); //$NON-NLS-1$
85 fail("Should throw Exception"); //$NON-NLS-1$
91 fail("Should throw Exception"); //$NON-NLS-1$
101 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
107 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
113 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
119 fail("Shoul
[all...]
H A DReadOnlyLongBufferTest.java43 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
57 fail("Should throw Exception"); //$NON-NLS-1$
66 fail("Should throw Exception"); //$NON-NLS-1$
75 fail("Should throw Exception"); //$NON-NLS-1$
85 fail("Should throw Exception"); //$NON-NLS-1$
91 fail("Should throw Exception"); //$NON-NLS-1$
101 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
107 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
113 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
119 fail("Shoul
[all...]
H A DReadOnlyShortBufferTest.java43 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
57 fail("Should throw Exception"); //$NON-NLS-1$
66 fail("Should throw Exception"); //$NON-NLS-1$
75 fail("Should throw Exception"); //$NON-NLS-1$
85 fail("Should throw Exception"); //$NON-NLS-1$
91 fail("Should throw Exception"); //$NON-NLS-1$
101 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
107 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
113 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
119 fail("Shoul
[all...]
H A DWrappedCharBufferTest1.java44 fail("Should throw Exception"); //$NON-NLS-1$
50 fail("Should throw Exception"); //$NON-NLS-1$
56 fail("Should throw Exception"); //$NON-NLS-1$
62 fail("Should throw Exception"); //$NON-NLS-1$
68 fail("Should throw Exception"); //$NON-NLS-1$
74 fail("Should throw Exception"); //$NON-NLS-1$
80 fail("Should throw NPE"); //$NON-NLS-1$
H A DWrappedCharBufferTest2.java42 fail("Should throw Exception"); //$NON-NLS-1$
48 fail("Should throw Exception"); //$NON-NLS-1$
54 fail("Should throw Exception"); //$NON-NLS-1$
60 fail("Should throw Exception"); //$NON-NLS-1$
66 fail("Should throw Exception"); //$NON-NLS-1$
75 fail("Should throw UnsupportedOperationException"); //$NON-NLS-1$
84 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$
90 fail("Should throw NullPointerException"); //$NON-NLS-1$
96 fail("Should throw BufferOverflowException"); //$NON-NLS-1$
102 fail("Shoul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DArrayTest.java37 fail("Exception during get test : " + e.getMessage());
48 fail("Passing non-array failed to throw exception");
58 fail("Invalid index failed to throw exception");
68 fail("Exception during get test : " + e.getMessage());
79 fail("Passing non-array failed to throw exception");
89 fail("Invalid index failed to throw exception");
105 fail("Exception during get test : " + e.getMessage());
115 fail("Passing non-array failed to throw exception");
125 fail("Invalid index failed to throw exception");
135 fail("Nul
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
H A DMatcher2Test.java44 fail("IllegalStateException expected");
50 fail("IllegalStateException expected");
56 fail("IllegalStateException expected");
62 fail("IllegalStateException expected");
68 fail("IllegalStateException expected");
74 fail("IllegalStateException expected");
81 fail("IllegalArgumentException expected");
102 fail("IndexOutOfBoundsException expected");
108 fail("IndexOutOfBoundsException expected");
114 fail("IndexOutOfBoundsExceptio
[all...]
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DMatcher2Test.java42 fail("IllegalStateException expected");
48 fail("IllegalStateException expected");
54 fail("IllegalStateException expected");
60 fail("IllegalStateException expected");
66 fail("IllegalStateException expected");
72 fail("IllegalStateException expected");
79 fail("IllegalArgumentException expected");
100 fail("IndexOutOfBoundsException expected");
106 fail("IndexOutOfBoundsException expected");
112 fail("IndexOutOfBoundsExceptio
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
H A DParserFactoryTest.java38 fail("expected NullPointerException was not thrown");
48 fail("expected ClassNotFoundException was not thrown");
59 fail("expected IllegalAccessException was not thrown");
70 fail("expected InstantiationException was not thrown");
81 fail("expected ClassCastException was not thrown");
99 fail("expected NullPointerException was not thrown");
107 fail("expected ClassNotFoundException was not thrown");
116 fail("expected IllegalAccessException was not thrown");
125 fail("expected InstantiationException was not thrown");
134 fail("expecte
[all...]
/libcore/luni/src/test/java/tests/java/security/
H A DSecureRandomTest.java64 fail("next failed");
75 fail("setSeed failed");
85 fail("nextBytes failed");
91 fail("expected exception");
104 fail("incorrect SecureRandom implementation" + p.getName());
116 fail("No setSeed");
130 fail(e.toString());
133 fail("getInstance failed");
143 fail("getInstance failed");
148 fail("expecte
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DIOExceptionTest.java34 fail("Exception during IOException test");
48 fail("Failed to generate exception");
72 fail("Exception during IOException test" + e.toString()); //$NON-NLS-1$
74 fail("Failed to generate exception"); //$NON-NLS-1$
95 fail("Exception during IOException test" + e.toString()); //$NON-NLS-1$
97 fail("Failed to generate exception"); //$NON-NLS-1$
/libcore/luni/src/test/java/libcore/java/io/
H A DOldStringBufferInputStreamTest.java32 fail("IndexOutOfBoundsException was not thrown");
38 fail("IndexOutOfBoundsException was not thrown");
44 fail("IndexOutOfBoundsException was not thrown");

Completed in 2197 milliseconds

1234567891011>>