Searched defs:fail (Results 301 - 325 of 342) sorted by relevance

<<11121314

/openjdk7/jdk/test/java/nio/file/Path/
H A DPathOps.java56 void fail() { method in class:PathOps
76 fail();
203 fail();
/openjdk7/jdk/test/java/util/Arrays/
H A DArrayObjectMethods.java177 void fail() {failed++; Thread.dumpStack();} method in class:ArrayObjectMethods
178 void fail(String msg) {System.err.println(msg); fail();} method in class:ArrayObjectMethods
180 void check(boolean cond) {if (cond) pass(); else fail();}
183 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/Collection/
H A DBiggernYours.java54 fail(aC1 + " not found in " + Arrays.toString(c2Array));
225 static void fail() {failed++; Thread.dumpStack();} method in class:BiggernYours
226 static void fail(String msg) {System.out.println(msg); fail();} method in class:BiggernYours
228 static void check(boolean cond) {if (cond) pass(); else fail();}
231 else fail(x + " not equal to " + y);}
234 else fail(Arrays.toString(x) + " not equal to " + Arrays.toString(y));}
242 try { f.f(); fail("Expected " + k.getName() + " not thrown"); }
H A DMOAT.java687 fail("Expected IndexOutOfBoundsException not thrown");
759 fail("Expected NullPointerException");
767 fail("Expected NullPointerException");
775 fail("Expected NullPointerException");
783 fail("Expected NullPointerException");
878 try { m.putIfAbsent(18357,null); fail("NPE"); }
884 try { m.replace(18357,null,7777); fail("NPE"); }
893 try { m.replace(18357,null); fail("NPE"); }
935 fail(threw.toString());
1173 static void fail() { faile method in class:MOAT
1174 static void fail(String msg) { System.out.println(msg); fail(); } method in class:MOAT
[all...]
/openjdk7/jdk/test/java/util/Collections/
H A DRacingCollections.java325 static void fail() {failed++; Thread.dumpStack();} method in class:RacingCollections
326 static void fail(String msg) {System.out.println(msg); fail();} method in class:RacingCollections
328 static void check(boolean cond) {if (cond) pass(); else fail();}
334 else fail(toString(x) + " not equal to " + toString(y));}
337 fail(toString(x) + " equal to " + toString(y));
/openjdk7/jdk/test/java/util/List/
H A DLockStep.java313 void fail() {failed++; Thread.dumpStack();} method in class:LockStep
314 void fail(String msg) {System.err.println(msg); fail();} method in class:LockStep
316 void check(boolean cond) {if (cond) pass(); else fail();}
319 else fail(x + " not equal to " + y);}
330 try {f.f(); fail("Expected " + k.getName() + " not thrown");}
/openjdk7/jdk/test/java/util/Map/
H A DCollisions.java357 static void fail() { method in class:Collisions
362 static void fail(String msg) { method in class:Collisions
368 fail();
373 fail(msg);
391 fail();
399 fail(desc);
407 fail(x + " not equal to " + y);
/openjdk7/jdk/test/java/util/concurrent/FutureTask/
H A DCustomized.java195 static void fail() {failed++; Thread.dumpStack();} method in class:Customized
196 static void fail(String msg) {System.out.println(msg); fail();} method in class:Customized
198 static void check(boolean cond) {if (cond) pass(); else fail();}
201 else fail(x + " not equal to " + y);}
209 try { f.f(); fail("Expected " + k.getName() + " not thrown"); }
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DScheduledTickleService.java175 static void fail() {failed++; Thread.dumpStack();} method in class:ScheduledTickleService
176 static void fail(String msg) {System.out.println(msg); fail();} method in class:ScheduledTickleService
178 static void check(boolean cond) {if (cond) pass(); else fail();}
181 else fail(x + " not equal to " + y);}
H A DThrowingTasks.java257 static void fail() {failed++; Thread.dumpStack();} method in class:ThrowingTasks
258 static void fail(String msg) {System.out.println(msg); fail();} method in class:ThrowingTasks
260 static void check(boolean cond) {if (cond) pass(); else fail();}
263 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/concurrent/locks/Lock/
H A DTimedAcquireLeak.java260 static void fail() {failed++; Thread.dumpStack();} method in class:TimedAcquireLeak
261 static void fail(String msg) {System.out.println(msg); fail();} method in class:TimedAcquireLeak
263 static void check(boolean cond) {if (cond) pass(); else fail();}
264 static void check(boolean cond, String m) {if (cond) pass(); else fail(m);}
267 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/jar/
H A DTestExtra.java242 static void fail() {failed++; Thread.dumpStack();} method in class:TestExtra
243 static void fail(String msg) {System.out.println(msg); fail();} method in class:TestExtra
245 static void check(boolean cond) {if (cond) pass(); else fail();}
246 static boolean check(boolean cond, String msg) {if (cond) pass(); else fail(msg); return cond; }
249 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/zip/
H A DFlaterCriticalArray.java281 static void fail() {failed++; Thread.dumpStack();} method in class:FlaterCriticalArray
282 static void fail(String msg) {System.out.println(msg); fail();} method in class:FlaterCriticalArray
286 static boolean check(boolean cond) {if (cond) pass(); else fail(); return cond;}
287 static boolean check(boolean cond, String msg) {if (cond) pass(); else fail(msg); return cond;}
290 else fail(x + " not equal to " + y);}
H A DInflateIn_DeflateOut.java175 fail("Didn't read full buffer of " + buf.length);
275 static void fail() {failed++; Thread.dumpStack();} method in class:InflateIn_DeflateOut
276 static void fail(String msg) {System.out.println(msg); fail();} method in class:InflateIn_DeflateOut
278 static void check(boolean cond) {if (cond) pass(); else fail();}
281 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DCorruptedZipFiles.java39 static void fail(String msg) { method in class:CorruptedZipFiles
68 if (u32(good, endpos) != ENDSIG) fail("Where's ENDSIG?");
69 if (u32(good, cenpos) != CENSIG) fail("Where's CENSIG?");
70 if (u32(good, locpos) != LOCSIG) fail("Where's LOCSIG?");
72 fail("Name field length mismatch");
74 fail("Extra field length mismatch");
160 fail("Failed to throw expected ZipException");
/openjdk7/jdk/test/javax/management/mxbean/
H A DExceptionDiagnosisTest.java162 fail("No exception from registerMBean for " + mbean);
181 fail("TEST BUG: expected to find exactly one method in " +
188 fail("No exception from proxy method " + getter.getName() +
210 fail("No exception from proxy method getCaseProb");
217 fail("Exception chain for CaseProb does not mention property" +
238 fail("Exception chain for " + what + " does not mention " +
255 private static void fail(String why) { method in class:ExceptionDiagnosisTest
/openjdk7/jdk/test/javax/management/openmbean/
H A DBadConstraintTest.java235 fail("Constructor succeeded but should have got " + exc.getName() +
245 fail("Constructor should have got " + exc.getName() +
252 private static void fail(String why) { method in class:BadConstraintTest
380 the implied parameters would not compile (or would fail at the
387 to fail when given to an OpenMBean*Info constructor with the given
H A DConstraintTest.java257 fail("Object should be valid but is not: " + x + " for: " +
264 fail("Object should not be valid but is: " + x + " for: " +
291 fail("Getter returned null but descriptor has entry for " +
295 fail("Getter returned value but descriptor has no entry for " +
299 fail("For " + what + " getter returned " + getterValue +
308 fail("Getter returned null but descriptor has entry for " +
312 fail("Getter returned value but descriptor has no entry for " +
333 fail("For " + what + " getter returned " + getterValues +
339 private static void fail(String why) { method in class:ConstraintTest
/openjdk7/jdk/test/javax/swing/JComponent/4337267/
H A Dbug4337267.java80 void fail(String message) { method in class:bug4337267
87 fail("Expected null, got " + o2);
89 fail("Expected " + o1 + ", got null");
91 fail("Expected " + o1 + ", got " + o2);
/openjdk7/langtools/test/tools/javac/parser/netbeans/
H A DJavacParserTest.java374 if (!b) fail(message);
678 fail(message);
688 fail(message + ":" + i + ":" + l);
696 fail(message);
699 fail(message);
705 fail();
709 void fail() { method in class:TestCase
710 fail("test failed");
713 void fail(String message) { method in class:TestCase
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/
H A DDeploymentDescriptorParser.java478 fail("runtime.parser.unexpectedContent", reader);
482 protected static void fail(String key, XMLStreamReader reader) { method in class:DeploymentDescriptorParser
/openjdk7/jdk/test/sun/nio/cs/
H A DFindDecoderBugs.java429 static void fail() {failed++; Thread.dumpStack();} method in class:FindDecoderBugs
430 static void fail(String format, Object... args) { method in class:FindDecoderBugs
432 static void fail(String msg) {System.out.println(msg); fail();} method in class:FindDecoderBugs
434 static void check(boolean cond) {if (cond) pass(); else fail();}
437 else fail(x + " not equal to " + y);}
440 else fail(x + " not equal to " + y);}
H A DFindEncoderBugs.java510 static void fail() {failed++; Thread.dumpStack();} method in class:FindEncoderBugs
511 static void fail(String format, Object... args) { method in class:FindEncoderBugs
513 static void fail(String msg) {System.out.println(msg); fail();} method in class:FindEncoderBugs
515 static void check(boolean cond) {if (cond) pass(); else fail();}
518 else fail(x + " not equal to " + y);}
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/agent/
H A DSnmpMibTable.java1132 * would fail.
2361 * @param fail Tells whether a SnmpStatusException must be generated
2371 * table and <code>fail</code> is <code>true</code>.
2374 private final int getInsertionPoint(SnmpOid oid, boolean fail) argument
2393 if (fail)
/openjdk7/jdk/make/tools/reorder/tools/
H A Dmcount.c119 static void fail(const char *err, ...) function
204 fail("Unable to open ELF file %s.\n", fullName);
207 fail("elf_begin failed.\n");
222 fail("Unable to find symbol table.\n");
237 fail("Unable to find string table.\n");
252 fail("Unable to find .stab.index.\n");
267 fail("Unable to find .stab.indexstr table.\n");
424 fail("Unable to find symbol for address 0x%x.\n", value);
444 fail("Failed to identify %s.\n", name);
453 fail("n
[all...]

Completed in 112 milliseconds

<<11121314