HomeSort by relevance Sort by last modified time
    Searched defs:fail (Results 726 - 750 of 1153) sorted by null

<<21222324252627282930>>

  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
Utils.java 58 public static void fail(String message, Object ... args) { method in class:Utils
178 Log.w(TAG, "close fail ", t);
206 Log.w(TAG, "fail to close", t);
214 Log.w(TAG, "fail to close", t);
  /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
Main.java 52 import static org.junit.Assert.fail;
99 fail(String.format("System Property %1$s not properly set. The value is %2$s",
105 fail(String.format("System property %1$s.dir not properly set. The value is %2$s",
491 fail(args == null ? "" : String.format(msgFormat, args)); method
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
VCardVerifier.java 108 AndroidTestCase.fail("Already initialized");
123 AndroidTestCase.fail("Already initialized");
140 AndroidTestCase.fail("Wrong resId: " + resId);
147 AndroidTestCase.fail("addInputEntry() is called.");
149 AndroidTestCase.fail("InputStream is already set");
156 AndroidTestCase.fail("Not initialized");
159 AndroidTestCase.fail("setInputStream is called");
166 AndroidTestCase.fail("Not initialized");
193 AndroidTestCase.fail("Not initialized");
209 AndroidTestCase.fail("Not initialized")
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
BufferedOutputStreamTest.java 59 fail("should throw NullPointerException");
65 fail("should throw NullPointerException");
73 fail("should throw NullPointerException");
79 fail("should throw NullPointerException");
86 fail("should throw IllegalArgumentException");
92 fail("should throw IllegalArgumentException");
172 fail("should throw NullPointerException");
179 fail("should throw NullPointerException");
186 fail("should throw NullPointerException");
193 fail("should throw NullPointerException")
331 fail(); method
338 fail(); method
345 fail(); method
    [all...]
BufferedReaderTest.java 95 fail("Read on closed stream");
123 fail("Failed to invalidate mark properly");
199 fail("Exception during read test");
216 fail("Exception during read test 2:" + e);
234 fail("null buffer reading zero bytes should throw NPE");
242 fail("unexpected 1: " + e);
247 fail("null buffer reading zero bytes on closed stream should throw IOException");
255 fail("Reading zero bytes on a closed reader should not work");
268 fail("IOException should have been thrown");
284 fail("Unexpected IOException : " + ex.getLocalizedMessage())
383 fail(); method
390 fail(); method
    [all...]
DataInputStreamTest.java 166 fail("should throw IndexOutOfBoundsException");
173 fail("should throw IndexOutOfBoundsException");
180 fail("should throw IndexOutOfBoundsException");
191 fail("should throw IndexOutOfBoundsException");
200 fail("should throw IndexOutOfBoundsException");
217 fail(); method
224 fail(); method
231 fail(); method
242 fail(); method
249 fail("should throw NullPointerException")
278 fail(); method
285 fail(); method
292 fail(); method
339 fail(); method
346 fail(); method
353 fail(); method
    [all...]
FileInputStreamTest.java 137 fail("should throw FileNotFoundException.");
147 fail("should throw FileNotFoundException.");
177 fail(); method
249 fail("Should throw NullPointerException");
266 fail("should throw IndexOutOfBoundsException");
276 fail("should throw IndexOutOfBoundsException");
286 fail("should throw IndexOutOfBoundsException");
296 fail("should throw IndexOutOfBoundsException");
306 fail("should throw IndexOutOfBoundsException");
316 fail("should throw IndexOutOfBoundsException")
    [all...]
FileOutputStreamTest.java 124 fail("should throw FileNotFoundException.");
134 fail("should throw FileNotFoundException.");
154 fail("Close test failed - wrote to closed stream");
204 fail(); method
234 fail("NullPointerException must be thrown");
240 fail("IndexOutOfBoundsException must be thrown if off <0");
246 fail("IndexOutOfBoundsException must be thrown if len <0");
252 fail("IndexOutOfBoundsException must be thrown if off+len > b.length");
258 fail("IndexOutOfBoundsException expected");
264 fail("IndexOutOfBoundsException expected")
    [all...]
PipedWriterTest.java 35 fail(); method
53 fail(); method
103 fail("Should have thrown exception when attempting to write to closed writer.");
156 fail("should throw IOException");
167 fail("should throw IOException");
200 fail("IndexOutOfBoundsException expected");
214 fail(); method
228 fail(); method
242 fail("NullPointerException expected");
244 fail("NullPointerException expected")
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
StringBuffer2Test.java 355 fail(); method
StringTest.java 108 fail("No IndexOutOfBoundsException");
127 fail("Should throw UnsupportedEncodingException");
150 fail("No IndexOutOfBoundsException");
173 fail("No NPE");
194 fail("No NPE");
200 fail("No IOOBE, negative offset");
206 fail("No IOOBE, negative count");
212 fail("No IOOBE, negative count");
218 fail("No IOOBE, too large");
236 fail("No NPE")
604 fail(); method
610 fail(); method
634 fail(); method
640 fail(); method
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
BreakIteratorTest.java 87 fail("should throw illegal argument exception");
94 fail("should throw illegal argument exception");
103 fail("should throw illegal argument exception");
112 fail("should throw illegal argument exception");
139 fail("should throw illegal argument exception");
150 fail("should throw illegal argument exception");
247 fail(); method
261 fail(); method
289 fail("BreakIterator.getCharacterInstance(null); should throw NullPointerException");
297 fail("BreakIterator.getLineInstance(null); should throw NullPointerException")
    [all...]
DateFormatSymbolsTest.java 80 fail(); method
122 fail("Returned wrong array");
136 fail("Returned wrong array");
179 fail("Returned wrong array");
194 fail("Returned wrong array");
210 fail("Returned wrong array");
239 fail("Returned wrong array");
254 fail("Returned wrong array");
267 fail(); method
283 fail("Returned wrong array")
    [all...]
DecimalFormatSymbolsTest.java 92 fail(); method
291 fail("Expected NullPointerException");
328 fail("Should throw NullPointerException");
RuleBasedCollatorTest.java 143 fail(); method
188 fail(); method
239 fail(); method
248 fail(); method
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
BitSetTest.java 51 fail(); method
121 fail("Failed to throw expected out of bounds exception");
156 fail("Should throw IndexOutOfBoundsException");
297 fail(); method
303 fail(); method
313 fail(); method
363 fail(); method
389 fail("Should throw IndexOutOfBoundsException");
529 fail(); method
535 fail(); method
541 fail(); method
553 fail(); method
590 fail(); method
722 fail(); method
728 fail(); method
734 fail(); method
760 fail(); method
934 fail(); method
940 fail(); method
946 fail(); method
1154 fail(); method
1209 fail(); method
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
ZipOutputStreamTest.java 86 fail("Assert 0: Expected IOException");
109 fail("Entry with incorrect setting failed to throw exception");
125 fail("Comment over 0xFFFF in length should throw exception");
197 fail("Not set an entry. Should have thrown ZipException.");
205 fail("Writing data without an entry. Should have thrown IOException");
214 fail("Writing data without an entry. Should have thrown IndexOutOfBoundsException");
222 fail(); method
228 fail(); method
233 fail(); method
258 fail("ZipException expected")
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
TrustManagerFactory1Test.java 116 fail("NullPointerException must be thrown");
190 fail(); method
197 fail("NoSuchAlgorithmException was not thrown as expected for algorithm: "
214 fail(); method
219 fail(); method
235 fail(); method
243 fail("NoSuchAlgorithmException must be thrown (algorithm: "
261 fail("NoSuchProviderException must be thrown (algorithm: "
313 fail("");
321 fail("NoSuchAlgorithmException must be thrown (algorithm:
    [all...]
  /libcore/json/src/test/java/org/json/
JSONArrayTest.java 36 fail(); method
41 fail(); method
131 fail(); method
149 fail(); method
154 fail(); method
159 fail(); method
187 fail(); method
194 fail(); method
291 fail(); method
395 fail(); method
400 fail(); method
405 fail(); method
451 fail(); method
459 fail(); method
467 fail(); method
483 fail(); method
491 fail(); method
499 fail(); method
523 fail(); method
528 fail(); method
533 fail(); method
538 fail(); method
    [all...]
JSONTokenerTest.java 28 // JSONTokener accepts null, only to fail later on almost all APIs!
33 fail(); method
39 fail(); method
45 fail(); method
51 fail(); method
57 fail(); method
63 fail(); method
69 fail(); method
75 fail(); method
81 fail(); method
87 fail(); method
93 fail(); method
111 fail(); method
116 fail(); method
122 fail(); method
129 fail(); method
146 fail(); method
181 fail(); method
188 fail(); method
198 fail(); method
204 fail(); method
276 fail(); method
363 fail(); method
372 fail(); method
380 fail(); method
404 fail(); method
409 fail(); method
414 fail(); method
420 fail(); method
467 fail(); method
541 fail(); method
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
SerializationTest.java 132 fail(); method
168 fail(); method
184 fail(); method
201 fail(); method
232 fail(); method
275 fail(); method
311 fail(); method
345 fail(); method
365 fail(); method
425 fail(); method
457 fail(); method
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldObjectTest.java 55 fail("CloneNotSupportedException was thrown.");
61 fail("CloneNotSupportedException was not thrown.");
91 fail("IllegalMonitorStateException was not thrown.");
101 fail("IllegalMonitorStateException was not thrown.");
112 fail("IllegalMonitorStateException was not thrown.");
116 fail("InterruptedException was thrown.");
129 fail("InterruptedException was thrown.");
178 fail("IllegalMonitorStateException was not thrown.");
182 fail("InterruptedException was thrown.");
195 fail("InterruptedException was thrown.")
205 fail(); method
211 fail(); method
217 fail(); method
224 fail(); method
    [all...]
StringTest.java 89 fail(); // We shouldn't have got here! method
262 fail("Expected " + a + " to equal " + b + " in " + locale);
286 fail("Expected " + a + " to equal " + b + " in " + locale);
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ArrayTest.java 46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {} method
47 try { Array.getBoolean(chars, 0); fail(); } catch (IllegalArgumentException expected) {} method
48 try { Array.getBoolean(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
49 try { Array.getBoolean(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
50 try { Array.getBoolean(ints, 0); fail(); } catch (IllegalArgumentException expected) {} method
51 try { Array.getBoolean(longs, 0); fail(); } catch (IllegalArgumentException expected) {} method
52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} method
53 try { Array.getBoolean(null, 0); fail(); } catch (NullPointerException expected) {} method
57 try { Array.getByte(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
59 try { Array.getByte(chars, 0); fail(); } catch (IllegalArgumentException expected) { method
60 try { Array.getByte(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
61 try { Array.getByte(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
62 try { Array.getByte(ints, 0); fail(); } catch (IllegalArgumentException expected) {} method
63 try { Array.getByte(longs, 0); fail(); } catch (IllegalArgumentException expected) {} method
64 try { Array.getByte(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} method
65 try { Array.getByte(null, 0); fail(); } catch (NullPointerException expected) {} method
69 try { Array.getChar(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
70 try { Array.getChar(bytes, 0); fail(); } catch (IllegalArgumentException expected) {} method
72 try { Array.getChar(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
73 try { Array.getChar(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
74 try { Array.getChar(ints, 0); fail(); } catch (IllegalArgumentException expected) {} method
75 try { Array.getChar(longs, 0); fail(); } catch (IllegalArgumentException expected) {} method
76 try { Array.getChar(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} method
77 try { Array.getChar(null, 0); fail(); } catch (NullPointerException expected) {} method
81 try { Array.getDouble(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
89 try { Array.getDouble(null, 0); fail(); } catch (NullPointerException expected) {} method
93 try { Array.getFloat(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
97 try { Array.getFloat(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
101 try { Array.getFloat(null, 0); fail(); } catch (NullPointerException expected) {} method
105 try { Array.getInt(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
108 try { Array.getInt(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
109 try { Array.getInt(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
111 try { Array.getInt(longs, 0); fail(); } catch (IllegalArgumentException expected) {} method
113 try { Array.getInt(null, 0); fail(); } catch (NullPointerException expected) {} method
117 try { Array.getLong(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
120 try { Array.getLong(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
121 try { Array.getLong(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
125 try { Array.getLong(null, 0); fail(); } catch (NullPointerException expected) {} method
129 try { Array.getShort(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
131 try { Array.getShort(chars, 0); fail(); } catch (IllegalArgumentException expected) {} method
132 try { Array.getShort(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
133 try { Array.getShort(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
134 try { Array.getShort(ints, 0); fail(); } catch (IllegalArgumentException expected) {} method
135 try { Array.getShort(longs, 0); fail(); } catch (IllegalArgumentException expected) {} method
137 try { Array.getShort(null, 0); fail(); } catch (NullPointerException expected) {} method
142 try { Array.setBoolean(bytes, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
143 try { Array.setBoolean(chars, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
144 try { Array.setBoolean(doubles, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
145 try { Array.setBoolean(floats, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
146 try { Array.setBoolean(ints, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
147 try { Array.setBoolean(longs, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
148 try { Array.setBoolean(shorts, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
149 try { Array.setBoolean(null, 0, true); fail(); } catch (NullPointerException expected) {} method
153 try { Array.setByte(booleans, 0, bytes[0]); fail(); } catch (IllegalArgumentException expected) {} method
155 try { Array.setByte(chars, 0, bytes[0]); fail(); } catch (IllegalArgumentException expected) {} method
161 try { Array.setByte(null, 0, bytes[0]); fail(); } catch (NullPointerException expected) {} method
165 try { Array.setChar(booleans, 0, chars[0]); fail(); } catch (IllegalArgumentException expected) {} method
166 try { Array.setChar(bytes, 0, chars[0]); fail(); } catch (IllegalArgumentException expected) {} method
172 try { Array.setChar(shorts, 0, chars[0]); fail(); } catch (IllegalArgumentException expected) {} method
173 try { Array.setChar(null, 0, chars[0]); fail(); } catch (NullPointerException expected) {} method
177 try { Array.setDouble(booleans, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
178 try { Array.setDouble(bytes, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
179 try { Array.setDouble(chars, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
181 try { Array.setDouble(floats, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
182 try { Array.setDouble(ints, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
183 try { Array.setDouble(longs, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
184 try { Array.setDouble(shorts, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
185 try { Array.setDouble(null, 0, doubles[0]); fail(); } catch (NullPointerException expected) {} method
189 try { Array.setFloat(booleans, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
190 try { Array.setFloat(bytes, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
191 try { Array.setFloat(chars, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
194 try { Array.setFloat(ints, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
195 try { Array.setFloat(longs, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
196 try { Array.setFloat(shorts, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
197 try { Array.setFloat(null, 0, floats[0]); fail(); } catch (NullPointerException expected) {} method
201 try { Array.setInt(booleans, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} method
202 try { Array.setInt(bytes, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} method
203 try { Array.setInt(chars, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} method
208 try { Array.setInt(shorts, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} method
209 try { Array.setInt(null, 0, ints[0]); fail(); } catch (NullPointerException expected) {} method
213 try { Array.setLong(booleans, 0, longs[0]); fail(); } catch (IllegalArgumentException expected) {} method
214 try { Array.setLong(bytes, 0, longs[0]); fail(); } catch (IllegalArgumentException expected) {} method
215 try { Array.setLong(chars, 0, longs[0]); fail(); } catch (IllegalArgumentException expected) {} method
218 try { Array.setLong(ints, 0, longs[0]); fail(); } catch (IllegalArgumentException expected) {} method
220 try { Array.setLong(shorts, 0, longs[0]); fail(); } catch (IllegalArgumentException expected) {} method
221 try { Array.setLong(null, 0, longs[0]); fail(); } catch (NullPointerException expected) {} method
225 try { Array.setShort(booleans, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) {} method
226 try { Array.setShort(bytes, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) {} method
227 try { Array.setShort(chars, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) {} method
233 try { Array.setShort(null, 0, shorts[0]); fail(); } catch (NullPointerException expected) {} method
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
InetAddressTest.java 95 fail(); method
105 fail(invalid);
198 fail(invalid);
236 fail(); method

Completed in 665 milliseconds

<<21222324252627282930>>