Searched defs:fail (Results 176 - 200 of 342) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/tools/javac/AccessMethods/
H A DAccessMethodsLHS.java36 static void fail(String msg) throws Exception { method in class:AccessMethodsLHS
48 AccessMethodsLHS.fail("bad argument");
59 AccessMethodsLHS.fail("bad argument");
71 AccessMethodsLHS.fail("bad argument");
83 AccessMethodsLHS.fail("bad argument");
124 AccessMethodsLHS.fail("incorrect side-effect behavior (" + effects + "): " + i);
154 AccessMethodsLHS.fail("simple assignment");
159 AccessMethodsLHS.fail("add-assign result");
163 AccessMethodsLHS.fail("add-assign effect");
168 AccessMethodsLHS.fail("conca
[all...]
/openjdk7/jdk/test/java/util/AbstractMap/
H A DSimpleEntries.java60 try { e.setValue(v2); fail(); }
76 try { e.setValue(null); fail(); }
85 static void fail() {failed++; Thread.dumpStack();} method in class:SimpleEntries
86 static void fail(String msg) {System.out.println(msg); fail();} method in class:SimpleEntries
88 static void check(boolean cond) {if (cond) pass(); else fail();}
91 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/ArrayList/
H A DBug6533203.java48 void fail() {failed++; Thread.dumpStack();} method in class:Bug6533203
49 void fail(String msg) {System.out.println(msg); fail();} method in class:Bug6533203
51 void check(boolean cond) {if (cond) pass(); else fail();}
54 else fail(x + " not equal to " + y);}
64 try {f.f(); fail("Expected " + k.getName() + " not thrown");}
/openjdk7/jdk/test/java/util/BitSet/
H A DImportExport.java142 void fail() {failed++; Thread.dumpStack();} method in class:ImportExport
143 void fail(String msg) {System.err.println(msg); fail();} method in class:ImportExport
145 void check(boolean cond) {if (cond) pass(); else fail();}
148 else fail(x + " not equal to " + y);}
H A DPreviousBits.java137 void fail() {failed++; Thread.dumpStack();} method in class:PreviousBits
138 void fail(String msg) {System.err.println(msg); fail();} method in class:PreviousBits
140 void check(boolean cond) {if (cond) pass(); else fail();}
143 else fail(x + " not equal to " + y);}
153 try {f.f(); fail("Expected " + k.getName() + " not thrown");}
H A DStickySize.java78 static void fail() {failed++; Thread.dumpStack();} method in class:StickySize
79 static void fail(String msg) {System.out.println(msg); fail();} method in class:StickySize
81 static void check(boolean cond) {if (cond) pass(); else fail();}
84 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/Collection/
H A DHotPotatoes.java91 static void fail() {failed++; Thread.dumpStack();} method in class:HotPotatoes
92 static void fail(String msg) {System.out.println(msg); fail();} method in class:HotPotatoes
94 static void check(boolean cond) {if (cond) pass(); else fail();}
97 else fail(x + " not equal to " + y);}
H A DIteratorAtEnd.java124 static void fail() {failed++; Thread.dumpStack();} method in class:IteratorAtEnd
125 static void fail(String msg) {System.out.println(msg); fail();} method in class:IteratorAtEnd
127 static void check(boolean cond) {if (cond) pass(); else fail();}
130 else fail(x + " not equal to " + y);}
138 try { f.f(); fail("Expected " + k.getName() + " not thrown"); }
/openjdk7/jdk/test/java/util/Collections/
H A DAsLifoQueue.java80 static void fail() {failed++; Thread.dumpStack();} method in class:AsLifoQueue
81 static void fail(String msg) {System.out.println(msg); fail();} method in class:AsLifoQueue
83 static void check(boolean cond) {if (cond) pass(); else fail();}
86 else fail(x + " not equal to " + y);}
94 try { f.f(); fail("Expected " + k.getName() + " not thrown"); }
H A DBigBinarySearch.java104 static void fail() {failed++; Thread.dumpStack();} method in class:BigBinarySearch
105 static void fail(String msg) {System.out.println(msg); fail();} method in class:BigBinarySearch
107 static void check(boolean cond) {if (cond) pass(); else fail();}
110 else fail(x + " not equal to " + y);}
H A DCheckedIdentityMap.java59 void fail() {failed++; Thread.dumpStack();} method in class:CheckedIdentityMap
60 void fail(String msg) {System.err.println(msg); fail();} method in class:CheckedIdentityMap
62 void check(boolean cond) {if (cond) pass(); else fail();}
65 else fail(x + " not equal to " + y);}
75 try {f.f(); fail("Expected " + k.getName() + " not thrown");}
H A DReverseOrder2.java101 static void fail() {failed++; Thread.dumpStack();} method in class:ReverseOrder2
102 static void fail(String msg) {System.out.println(msg); fail();} method in class:ReverseOrder2
104 static void check(boolean cond) {if (cond) pass(); else fail();}
107 else fail(x + " not equal to " + y);}
H A DT6433170.java65 void fail() {failed++; Thread.dumpStack();} method in class:T6433170
66 void fail(String msg) {System.err.println(msg); fail();} method in class:T6433170
68 void check(boolean cond) {if (cond) pass(); else fail();}
71 else fail(x + " not equal to " + y);}
81 try {f.f(); fail("Expected " + k.getName() + " not thrown");}
/openjdk7/jdk/test/java/util/Deque/
H A DChorusLine.java76 try {deq.iterator().next(); fail();}
80 try {deq.descendingIterator().next(); fail();}
101 try {it.remove(); fail();}
108 try {it.remove(); fail();}
175 try {it.next(); fail();}
184 static void fail() {failed++; Thread.dumpStack();} method in class:ChorusLine
185 static void fail(String msg) {System.out.println(msg); fail();} method in class:ChorusLine
187 static void check(boolean cond) {if (cond) pass(); else fail();}
190 else fail(
[all...]
/openjdk7/jdk/test/java/util/Map/
H A DGet.java86 try { m.get(null); fail(m.getClass().getName() + " did not reject null key"); }
90 try { m.put(null, true); fail(m.getClass().getName() + " did not reject null key"); }
102 try { m.put('A', null); fail(m.getClass().getName() + " did not reject null key"); }
106 try { m.put('C', null); fail(m.getClass().getName() + " did not reject null key"); }
115 static void fail() { failed++; (new Error("Failure")).printStackTrace(System.err); } method in class:Get
116 static void fail(String msg) { failed++; (new Error("Failure: " + msg)).printStackTrace(System.err); } method in class:Get
119 static void check(boolean cond) { if (cond) pass(); else fail(); }
120 static void check(String desc, boolean cond) { if (cond) pass(); else fail(desc); }
122 if(Objects.equals(x,y)) pass(); else fail(x + " not equal to " + y);
H A DLockStep.java114 void fail() {failed++; Thread.dumpStack();} method in class:LockStep
115 void fail(String msg) {System.err.println(msg); fail();} method in class:LockStep
117 void check(boolean cond) {if (cond) pass(); else fail();}
120 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/PriorityQueue/
H A DForgetMeNot.java138 static void fail() {failed++; Thread.dumpStack();} method in class:ForgetMeNot
139 static void fail(String msg) {System.out.println(msg); fail();} method in class:ForgetMeNot
141 static void check(boolean cond) {if (cond) pass(); else fail();}
144 else fail(x + " not equal to " + y);}
152 try { f.f(); fail("Expected " + k.getName() + " not thrown"); }
H A DNoNulls.java184 void fail() {failed++; Thread.dumpStack();} method in class:NoNulls
185 void fail(String msg) {System.err.println(msg); fail();} method in class:NoNulls
187 void check(boolean cond) {if (cond) pass(); else fail();}
190 else fail(x + " not equal to " + y);}
200 try {f.f(); fail("Expected " + k.getName() + " not thrown");}
/openjdk7/jdk/test/java/util/Timer/
H A DDelayOverflow.java55 fail(String.valueOf(how));
99 void fail() {failed++; Thread.dumpStack();} method in class:DelayOverflow
100 void fail(String msg) {System.err.println(msg); fail();} method in class:DelayOverflow
102 void check(boolean cond) {if (cond) pass(); else fail();}
105 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/concurrent/BlockingQueue/
H A DInterrupt.java45 fail("Expected InterruptedException not thrown");
128 static void fail() {failed++; Thread.dumpStack();} method in class:Interrupt
129 static void fail(String msg) {System.out.println(msg); fail();} method in class:Interrupt
131 static void check(boolean cond) {if (cond) pass(); else fail();}
134 else fail(x + " not equal to " + y);}
H A DOfferDrainToLoops.java170 void fail() {failed++; Thread.dumpStack();} method in class:OfferDrainToLoops
171 void fail(String msg) {System.err.println(msg); fail();} method in class:OfferDrainToLoops
173 void check(boolean cond) {if (cond) pass(); else fail();}
176 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/concurrent/ConcurrentQueues/
H A DGCRetention.java132 fail();
145 void fail() {failed++; Thread.dumpStack();} method in class:GCRetention
146 void fail(String msg) {System.err.println(msg); fail();} method in class:GCRetention
148 void check(boolean cond) {if (cond) pass(); else fail();}
151 else fail(x + " not equal to " + y);}
H A DOfferRemoveLoops.java161 void fail() {failed++; Thread.dumpStack();} method in class:OfferRemoveLoops
162 void fail(String msg) {System.err.println(msg); fail();} method in class:OfferRemoveLoops
164 void check(boolean cond) {if (cond) pass(); else fail();}
167 else fail(x + " not equal to " + y);}
H A DRemovePollRace.java200 fail(msg);
207 void fail() {failed++; Thread.dumpStack();} method in class:RemovePollRace
208 void fail(String msg) {System.err.println(msg); fail();} method in class:RemovePollRace
210 void check(boolean cond) {if (cond) pass(); else fail();}
213 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/concurrent/CountDownLatch/
H A DBasic.java50 catch (Throwable t) { fail(t); }
192 private static void fail(String msg) { method in class:Basic
193 fail(new AssertionError(msg));
196 private static void fail(Throwable t) { method in class:Basic
203 fail("Count = " + b.getCount() +

Completed in 309 milliseconds

1234567891011>>