Searched defs:fail (Results 26 - 50 of 342) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/lang/reflect/ReflectPermission/
H A DExceptions.java32 private static int fail = 0; field in class:Exceptions
41 static void fail(String fs, Throwable ex) { method in class:Exceptions
46 fail++;
53 fail("null", re);
57 fail("null", x);
61 fail("\"\"", re);
65 fail("\"\"", x);
70 fail("null, null", re);
74 fail("null, null", x);
78 fail("\"\", nul
[all...]
/openjdk7/jdk/test/java/net/CookieHandler/
H A DB6644726.java67 fail("Should have 5 cookies. Got only "+ cookies.size() + ", expires probably didn't parse correctly");
73 fail("Default path for myCookie1 is " + c.getPath());
84 fail("We should have only 1 cookie, not " + clst.size());
87 fail("The cookie should be myCookie4, not " + clst.get(0));
94 fail("Cookies didn't cross from http to https. Got only " + clst.size());
100 fail("We should have gotten only 4 cookies over http (non secure), got " +
105 fail("Got the secure cookie over a non secure link");
119 fail("Missing a cookie when using an empty path");
134 fail("Missing a cookie when using an empty path");
152 fail("
208 private static void fail(String msg) throws Exception { method in class:B6644726
[all...]
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DArgs.java36 static void fail(String s) { method in class:Args
55 fail(ex.getName() + " not thrown");
/openjdk7/jdk/test/java/nio/charset/spi/
H A DTest.java34 private static void fail(String csn, String msg) { method in class:Test
40 fail(csn, "Not supported");
47 fail(csn, "Not in available charsets: " + available.keySet());
49 fail(csn, "Available charset != looked-up charset");
53 fail(csn, "instanceof failed");
59 fail(csn, "Supported");
61 fail(csn, "Available");
68 fail(csn, "Lookup succeeded");
/openjdk7/jdk/test/java/util/Collections/
H A DCheckedListBash.java53 fail("List algebra identity 2 failed");
55 fail("List algebra identity 3 failed");
57 fail("List algebra identity 4 failed");
59 fail("List algebra identity 5 failed");
61 fail("List algebra identity 6 failed");
63 fail("List algebra identity 7 failed");
68 fail("List algebra identity 1 failed");
74 fail("Copy nonempty after deleting all elements.");
80 fail("List doesn't contain one of its elements.");
84 fail("Lis
224 static void fail(String s) { method in class:CheckedListBash
[all...]
H A DCheckedMapBash.java55 fail("Size not as expected.");
62 fail("Incorrect hashCode computation.");
70 fail("Incorrect equals computation.");
76 fail("Collection views test failed.");
81 fail("Linked list doesn't contain a link.");
84 fail("Could not retrieve a link.");
90 fail("Map nonempty after removing all links.");
92 fail("Linked list size not as expected.");
98 fail("put returns a non-null value erroenously.");
101 fail("contain
146 static void fail(String s) { method in class:CheckedMapBash
[all...]
H A DCheckedSetBash.java54 fail("Set algebra identity 2 failed");
56 fail("Set algebra identity 3 failed");
58 fail("Set algebra identity 4 failed");
60 fail("Set algebra identity 5 failed");
62 fail("Set algebra identity 6 failed");
64 fail("Set algebra identity 7 failed");
68 fail("Set algebra identity 1 failed");
71 fail("Incorrect hashCode computation.");
76 fail("Couldn't remove element from copy.");
78 fail("Cop
139 static void fail(String s) { method in class:CheckedSetBash
[all...]
H A DNCopies.java37 static void fail(String msg) { method in class:NCopies
55 fail(msg);
H A DSetFromMap.java36 static void fail() { failed++; Thread.dumpStack(); } method in class:SetFromMap
38 static void check(boolean cond) { if (cond) pass(); else fail(); }
41 else {System.out.println(x + " not equal to " + y); fail(); }}
/openjdk7/jdk/test/java/util/IllegalFormatException/
H A DConstructors.java35 private static int fail = 0; field in class:Constructors
44 private static void fail(Throwable t, Class c) { method in class:Constructors
49 fail++;
56 fail(ex, NPE);
63 fail(ex, NPE);
70 fail(ex, NPE);
77 fail(ex, NPE);
84 fail(ex, NPE);
91 fail(ex, NPE);
98 fail(e
[all...]
/openjdk7/jdk/test/javax/management/mxbean/
H A DComparatorExceptionTest.java57 private static void fail(String why) { method in class:ComparatorExceptionTest
70 fail("get " + attr + " did not throw exception");
81 fail("get " + attr + " got wrong exception");
/openjdk7/jdk/test/javax/swing/JSlider/6794836/
H A Dbug6794836.java59 fail("invalid getHighestValueLabel result");
63 fail("invalid getLowestValueLabel result");
77 private static void fail(String s) { method in class:bug6794836
/openjdk7/jdk/test/javax/swing/SwingUtilities/7170657/
H A Dbug7170657.java69 fail(me, newme);
73 private static void fail(final MouseEvent exp, final MouseEvent act) { method in class:bug7170657
/openjdk7/langtools/test/tools/javac/api/6411333/
H A DT6411333.java45 void testInferBinaryName(String binaryName, boolean fail) { argument
50 String inferred = fm.inferBinaryName(fail ? CLASS_PATH : PLATFORM_CLASS_PATH,
52 if (inferred == null && fail)
64 void testRelativeUri(String name, boolean fail) { argument
68 if (fail)
73 if (fail)
/openjdk7/jdk/test/com/sun/jdi/
H A DEnumTest.java75 void fail(String reason) throws Exception { method in class:EnumTest
96 fail("failure: Superclass of enum class is not java.lang.Enum: " + superClass.name());
99 fail("failure: isEnum() is false but should be true");
102 fail("failure: isEnum() is true for EnumTarg but should be false");
106 fail("failure: The 'penny' field is not marked " +
/openjdk7/jdk/test/java/lang/StringBuffer/
H A DExceptions.java33 private static void fail(Throwable ex, String s, Throwable got) { method in class:Exceptions
59 fail(ex, s, t);
63 fail(ex, s, t);
/openjdk7/jdk/test/java/lang/StringBuilder/
H A DExceptions.java33 private static void fail(Throwable ex, String s, Throwable got) { method in class:Exceptions
59 fail(ex, s, t);
63 fail(ex, s, t);
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DIdentity.java47 static void fail(String msg) { method in class:Identity
134 fail("Expected 1 byte to be written");
136 fail("Handler invoked by thread with the wrong identity");
145 fail(exc.getMessage());
/openjdk7/jdk/test/java/util/Arrays/
H A DFill.java40 fail("Expected ArrayStoreException");
47 fail("Expected ArrayStoreException");
54 fail("Expected ArrayIndexOutOfBoundsException");
63 static void fail() {failed++; Thread.dumpStack();} method in class:Fill
64 static void fail(String msg) {System.out.println(msg); fail();} method in class:Fill
66 static void check(boolean cond) {if (cond) pass(); else fail();}
69 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/Formatter/
H A DBasic.java37 private static int fail = 0; field in class:Basic
46 static void fail(String fs, Class ex) { method in class:Basic
51 fail++;
54 static void fail(String fs, String exp, String got) { method in class:Basic
59 fail++;
72 fail(fs, exp, got);
99 if (fail != 0)
100 throw new RuntimeException((fail + pass) + " tests: "
101 + fail + " failure(s), first", first);
103 out.println("all " + (fail
[all...]
H A DConstructors.java35 private static int fail = 0; field in class:Constructors
44 static void fail(String fs) { method in class:Constructors
49 fail++;
52 static void fail(String fs, Throwable ex) { method in class:Constructors
57 fail++;
71 fail(x.getMessage());
83 fail(x.getMessage());
94 fail("new Formatter()", x);
103 fail("new Formatter((Appendable)null)", x);
112 fail("ne
[all...]
/openjdk7/jdk/test/java/util/PriorityQueue/
H A DRemoveContains.java37 static void fail(String msg) { method in class:RemoveContains
55 fail(msg);
/openjdk7/jdk/test/java/util/Random/
H A DNextBytes.java50 static void fail() {failed++; Thread.dumpStack();} method in class:NextBytes
51 static void fail(String msg) {System.out.println(msg); fail();} method in class:NextBytes
53 static void check(boolean cond) {if (cond) pass(); else fail();}
56 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/TreeMap/
H A DEmptyMapAndNulls.java46 fail("null shouldn't be accepted");
56 fail();
62 fail("null shouldn't be accepted");
73 fail("null shouldn't be accepted");
83 fail();
89 fail("null shouldn't be accepted");
99 fail("Object shouldn't be accepted");
109 static void fail() {failed++; Thread.dumpStack();} method in class:EmptyMapAndNulls
110 static void fail(String msg) {System.out.println(msg); fail();} method in class:EmptyMapAndNulls
[all...]
H A DNullAtEnd.java37 static void fail(String msg) { method in class:NullAtEnd
55 fail(msg);

Completed in 70 milliseconds

1234567891011>>