Searched defs:fail (Results 201 - 225 of 342) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/util/concurrent/DelayQueue/
H A DIterate.java65 static void fail() {failed++; Thread.dumpStack();} method in class:Iterate
66 static void fail(String msg) {System.out.println(msg); fail();} method in class:Iterate
68 static void check(boolean cond) {if (cond) pass(); else fail();}
71 else fail(x + " not equal to " + y);}
H A DPollUnexpired.java54 static void fail() {failed++; Thread.dumpStack();} method in class:PollUnexpired
55 static void fail(String msg) {System.out.println(msg); fail();} method in class:PollUnexpired
57 static void check(boolean cond) {if (cond) pass(); else fail();}
60 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/concurrent/Executors/
H A DThrows.java114 static void fail() {failed++; Thread.dumpStack();} method in class:Throws
115 static void fail(String msg) {System.out.println(msg); fail();} method in class:Throws
117 static void check(boolean cond) {if (cond) pass(); else fail();}
120 else fail(x + " not equal to " + y);}
128 try { f.f(); fail("Expected " + k.getName() + " not thrown"); }
/openjdk7/jdk/test/java/util/concurrent/FutureTask/
H A DBlockingTaskExecutor.java152 static void fail() {failed++; Thread.dumpStack();} method in class:BlockingTaskExecutor
153 static void fail(String msg) {System.out.println(msg); fail();} method in class:BlockingTaskExecutor
155 static void check(boolean cond) {if (cond) pass(); else fail();}
158 else fail(x + " not equal to " + y);}
H A DDoneTimedGetLoops.java123 try { future.get(0L, TimeUnit.HOURS); fail(); }
150 void fail() {failed++; Thread.dumpStack();} method in class:DoneTimedGetLoops
151 void fail(String msg) {System.err.println(msg); fail();} method in class:DoneTimedGetLoops
153 void check(boolean cond) {if (cond) pass(); else fail();}
156 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/concurrent/Phaser/
H A DFickleRegister.java129 void fail() {failed++; Thread.dumpStack();} method in class:FickleRegister
130 void fail(String msg) {System.err.println(msg); fail();} method in class:FickleRegister
132 void check(boolean cond) {if (cond) pass(); else fail();}
135 else fail(x + " not equal to " + y);}
H A DPhaseOverflow.java145 void fail() {failed++; Thread.dumpStack();} method in class:PhaseOverflow
146 void fail(String msg) {System.err.println(msg); fail();} method in class:PhaseOverflow
148 void check(boolean cond) {if (cond) pass(); else fail();}
151 else fail(x + " not equal to " + y);}
H A DTieredArriveLoops.java96 void fail() {failed++; Thread.dumpStack();} method in class:TieredArriveLoops
97 void fail(String msg) {System.err.println(msg); fail();} method in class:TieredArriveLoops
99 void check(boolean cond) {if (cond) pass(); else fail();}
102 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/concurrent/ScheduledThreadPoolExecutor/
H A DBasicCancelTest.java93 void fail() {failed++; Thread.dumpStack();} method in class:BasicCancelTest
94 void fail(String msg) {System.err.println(msg); fail();} method in class:BasicCancelTest
96 void check(boolean cond) {if (cond) pass(); else fail();}
99 else fail(x + " not equal to " + y);}
109 try {f.f(); fail("Expected " + k.getName() + " not thrown");}
H A DDelayOverflow.java64 fail(String.valueOf(how));
84 fail(String.valueOf(how));
106 public void run() { fail(); }};
156 void fail() {failed++; Thread.dumpStack();} method in class:DelayOverflow
157 void fail(String msg) {System.err.println(msg); fail();} method in class:DelayOverflow
159 void check(boolean cond) {if (cond) pass(); else fail();}
162 else fail(x + " not equal to " + y);}
H A DZeroCorePoolSize.java63 void fail() {failed++; Thread.dumpStack();} method in class:ZeroCorePoolSize
64 void fail(String msg) {System.err.println(msg); fail();} method in class:ZeroCorePoolSize
66 void check(boolean cond) {if (cond) pass(); else fail();}
69 else fail(x + " not equal to " + y);}
79 try {f.f(); fail("Expected " + k.getName() + " not thrown");}
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DCoreThreadTimeOut.java96 void fail() {failed++; Thread.dumpStack();} method in class:CoreThreadTimeOut
97 void fail(String msg) {System.err.println(msg); fail();} method in class:CoreThreadTimeOut
99 void check(boolean cond) {if (cond) pass(); else fail();}
102 else fail(x + " not equal to " + y);}
H A DCustom.java37 static void fail() { failed++; Thread.dumpStack(); } method in class:Custom
39 static void check(boolean cond) { if (cond) pass(); else fail(); }
42 else {System.out.println(x + " not equal to " + y); fail(); }}
H A DShutdownNowExecuteRace.java73 static void fail() {failed++; Thread.dumpStack();} method in class:ShutdownNowExecuteRace
74 static void fail(String msg) {System.out.println(msg); fail();} method in class:ShutdownNowExecuteRace
76 static void check(boolean cond) {if (cond) pass(); else fail();}
79 else fail(x + " not equal to " + y);}
87 try { f.f(); fail("Expected " + k.getName() + " not thrown"); }
H A DTimeOutShrink.java70 static void fail() {failed++; Thread.dumpStack();} method in class:TimeOutShrink
71 static void fail(String msg) {System.out.println(msg); fail();} method in class:TimeOutShrink
73 static void check(boolean cond) {if (cond) pass(); else fail();}
76 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/zip/
H A DDeflateIn_InflateOut.java135 fail("datum out of range: " + datum);
234 static void fail() {failed++; Thread.dumpStack();} method in class:DeflateIn_InflateOut
235 static void fail(String msg) {System.out.println(msg); fail();} method in class:DeflateIn_InflateOut
237 static void check(boolean cond) {if (cond) pass(); else fail();}
240 else fail(x + " not equal to " + y);}
H A DTestEmptyZip.java73 fail();
108 fail();
130 static boolean fail() {failed++; Thread.dumpStack(); return false;} method in class:TestEmptyZip
131 static boolean fail(String msg) {System.out.println(msg); return fail();} method in class:TestEmptyZip
133 static boolean check(boolean cond) {if (cond) pass(); else fail(); return cond;}
136 else return fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DFinalizeZipFile.java88 static void fail() {failed++; Thread.dumpStack();} method in class:FinalizeZipFile
89 static void fail(String msg) {System.out.println(msg); fail();} method in class:FinalizeZipFile
91 static void check(boolean cond) {if (cond) pass(); else fail();}
94 else fail(x + " not equal to " + y);}
H A DLargeZipFile.java49 * comparison might fail.
146 static void fail() {failed++; Thread.dumpStack();} method in class:LargeZipFile
147 static void fail(String msg) {System.out.println(msg); fail();} method in class:LargeZipFile
151 static boolean check(boolean cond) {if (cond) pass(); else fail(); return cond;}
154 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/javax/management/Introspector/
H A DIdenticalMBeanInfoTest.java111 fail("Two MBeans of the same class should have identical " +
119 fail("Plain Standard MBean should have identical MBeanInfo " +
124 fail("Two MBeans of the same class should NOT have identical " +
137 private static void fail(String why) { method in class:IdenticalMBeanInfoTest
H A DSetWrongTypeAttributeTest.java192 fail(what, doing + " succeeded but should fail!");
199 fail(what, doing + " got wrong exception: " + e);
206 private static void fail(String what, String msg) { method in class:SetWrongTypeAttributeTest
/openjdk7/jdk/test/javax/management/mxbean/
H A DGenericTypeTest.java127 fail("Registering " + intfName + " should not succeed");
146 private static void fail(String msg) { method in class:GenericTypeTest
152 fail(msg + ": " + x);
H A DPreRegisterNameTest.java147 fail(what + " got " + e);
152 fail(what + " registered as " + registeredName);
154 fail(what + " not registered as expected");
166 private static void fail(String msg) { method in class:PreRegisterNameTest
/openjdk7/jdk/test/sun/net/idn/
H A DPunycodeTest.java59 static void fail(String msg, String input) { method in class:PunycodeTest
91 fail(invalid_input, inputS);
95 fail(invalid_input, inputS);
98 if (input_length == unicode_max_length) fail(too_big, inputS);
102 else fail(invalid_input, inputS);
113 fail(invalid_input, inputS);
132 fail(invalid_input, inputS);
142 fail(invalid_input, inputS);
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DHttpOnly.java259 void fail() {failed++;} method in class:HttpOnly
260 void fail(String msg) {System.err.println(msg); fail();} method in class:HttpOnly
263 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);}

Completed in 88 milliseconds

1234567891011>>