Searched defs:check (Results 101 - 125 of 496) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/util/Random/
H A DNextBytes.java43 check(Arrays.equals(actual, Arrays.copyOf(expected,i)));
53 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:NextBytes
/openjdk7/jdk/test/java/util/TreeMap/
H A DEmptyMapAndNulls.java112 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:EmptyMapAndNulls
H A DNullAtEnd.java51 static void check(boolean condition, String msg) { method in class:NullAtEnd
58 static void check(boolean condition) { method in class:NullAtEnd
59 check(condition, "Assertion failure");
83 check(eq(m1.put("a", "a"), null));
84 check(eq(m1.put("b", "b"), null));
85 check(eq(m1.put("c", "c"), null));
86 check(eq(m1.put(null, "d"), null));
90 check(eq(m1.lastKey(), null));
91 check(eq(m1.get(m1.lastKey()), "d"));
92 check(e
[all...]
/openjdk7/jdk/test/java/util/Vector/
H A DCopyInto.java54 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:CopyInto
/openjdk7/jdk/test/java/util/concurrent/ConcurrentMap/
H A DConcurrentModification.java46 static void check(boolean condition, String msg) { method in class:ConcurrentModification
53 static void check(boolean condition) { method in class:ConcurrentModification
54 check(condition, "Assertion failed");
61 check(m.isEmpty());
67 check(m.isEmpty());
68 check(e.getKey() == 1);
69 check(e.getValue() == 2);
75 check(m.isEmpty());
81 check(e.getKey() == 1);
82 check(
[all...]
/openjdk7/jdk/test/java/util/concurrent/ExecutorService/
H A DInvoke.java52 static void check(boolean condition, String msg) { method in class:Invoke
56 static void check(boolean condition) { method in class:Invoke
57 check(condition, "Assertion failure");
72 check(futures.size() == tasks.size());
73 check(count.get() == tasks.size());
77 check(gauss == ((tasks.size()+1)*tasks.size())/2);
81 check(single.invokeAny(tasks) == save + 1);
82 check(count.get() == save + 1);
/openjdk7/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/
H A DBug6571733.java48 check(! lock.writeLock().tryLock(0, TimeUnit.DAYS));
64 void check(boolean cond) {if (cond) pass(); else fail();} method in class:Bug6571733
/openjdk7/jdk/test/java/util/zip/
H A DInfoZip.java47 static void check(boolean condition, String msg) { method in class:InfoZip
52 static void check(boolean condition) { method in class:InfoZip
53 check(condition, "Something's wrong");
72 check(ze.getName().equals("someFile"), "filename");
73 check(ze.getExtra() != null, "extra");
74 check(contents.equals("Message in a Bottle\n"), "contents");
75 check(ze.getSize() == "Message in a Bottle\n".length());
109 check(! entries.hasMoreElements());
118 check(is.getNextEntry() == null);
H A DStoredCRC.java27 * @summary ZipInputStream does not check CRC for stored (uncompressed) files
75 check(writtenString.equals(new String(readData, 0, pos, "ASCII")));
93 check(msg != null && msg.startsWith("invalid entry CRC (expected 0x"));
106 static boolean check(boolean cond) {if (cond) pass(); else fail(); return cond;} method in class:StoredCRC
H A DTestZipError.java107 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:TestZipError
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DDeleteTempJar.java91 check(f.getEntry("entry") != null);
102 static boolean check(boolean cond) {if (cond) pass(); else fail(); return cond;} method in class:DeleteTempJar
/openjdk7/jdk/test/javax/crypto/spec/DESKeySpec/
H A DCheckParity.java60 static private void check(String alg, byte [] key, method in class:CheckParity
81 check("DES", testKey, expectedKey, new DESKeySpec(testKey));
96 check("DESede", key3, expectedKey3, new DESedeKeySpec(key3));
/openjdk7/jdk/test/javax/management/ObjectName/
H A DSerialCompatTest.java58 check(msg, on1.getDomain().equals("a"));
61 check(msg, on1.getCanonicalName().equals("a:b=c"));
64 check(msg, on1.getKeyPropertyListString()
68 check(msg, on1.getCanonicalKeyPropertyListString()
72 check(msg, on1.getKeyProperty("b").equals("c"));
75 check(msg, on1.getKeyPropertyList()
79 check(msg, !on1.isDomainPattern());
82 check(msg, !on1.isPattern());
85 check(msg, !on1.isPropertyPattern());
88 check(ms
257 private static void check(String msg, boolean condition) { method in class:SerialCompatTest
[all...]
/openjdk7/jdk/test/javax/management/loading/
H A DMLetContentTest.java118 if (myMlet.check(null, null, null, content) != content.getCodeBase()) {
119 throw new RuntimeException("Failed to overrid the protected methed check");
126 public URL check(String version, method in class:MLetContentTest.MyMLet
/openjdk7/jdk/test/javax/management/mxbean/
H A DOverloadTest.java44 check(p.notOverloaded(5), "notOverloaded");
45 check(p.overloaded(), "overloaded()");
46 check(p.overloaded(5), "overloaded(int)");
47 check(p.overloaded("x"), "overloaded(String)");
48 check(p.overloaded(36, 64), "overloaded(int, int)");
61 private static void check(String got, String expect) { method in class:OverloadTest
/openjdk7/jdk/test/javax/swing/JTabbedPane/6670274/
H A Dbug6670274.java46 check(ui, 0, 1);
49 check(ui, 0);
53 check(ui, 0, 2);
56 private static void check(TestTabbedPaneUI ui, int... indices) { method in class:bug6670274
/openjdk7/jdk/test/javax/swing/plaf/nimbus/
H A DColorCustomizationTest.java74 void check(Color c) { method in class:ColorCustomizationTest
99 check(Color.RED);
105 check(Color.GREEN);
109 check(defaultColor);
124 check(Color.RED);
128 check(Color.GREEN);
132 check(Color.RED);
138 check(defaultColor);
152 check(Color.BLUE);
154 check(Colo
[all...]
/openjdk7/jdk/test/sun/java2d/loops/
H A DRenderToCustomBufferTest.java53 check(dst_custom, dst_dcm);
56 private static void check(BufferedImage a, BufferedImage b) { method in class:RenderToCustomBufferTest
/openjdk7/jdk/test/sun/net/www/httptest/
H A DClosedChannelList.java54 public synchronized void check () { method in class:ClosedChannelList
55 check (false);
59 check (true);
62 public synchronized void check (boolean forceClose) { method in class:ClosedChannelList
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DIOStatus.java54 // assert IOStatus.check(n); // Checks other negative values
64 static boolean check(int n) { method in class:IOStatus
74 static boolean check(long n) { method in class:IOStatus
/openjdk7/langtools/test/tools/javac/
H A DQualifiedThisExactMatch.java59 void check(Object x, Object y) throws Exception { method in class:QualifiedThisExactMatch
69 check(a, a.getThisA());
70 check(a, b.getThisA());
71 check(b, b.getThisB());
H A DT6238612.java76 check(result, i++, s);
79 check(result, i, null);
82 // check a specific element of an array
83 void check(String[] array, int i, String expected) { method in class:T6238612
88 // check if two strings are both null or are equal
H A DT6725036.java65 check(je, jarEntryTime, zfi + ":" + TEST_ENTRY_NAME.getPath(), zfiTime);
75 check(je, jarEntryTime, jfo, jfoTime);
81 void check(Object ref, long refTime, Object test, long testTime) { method in class:T6725036
/openjdk7/langtools/test/tools/javac/annotations/pos/
H A DPrimitives.java51 static void check(Object actual, Object expected) { method in class:Primitives
57 check(T1.class.getAnnotation(A.class).value(), void.class);
58 check(T1.class.getAnnotation(B.class).value().length, 1);
59 check(T1.class.getAnnotation(B.class).value()[0], void.class);
61 check(T2.class.getAnnotation(A.class).value(), int.class);
62 check(T2.class.getAnnotation(B.class).value().length, 11);
63 check(T2.class.getAnnotation(B.class).value()[0], void.class);
64 check(T2.class.getAnnotation(B.class).value()[1], byte.class);
65 check(T2.class.getAnnotation(B.class).value()[2], char.class);
66 check(T
[all...]
/openjdk7/langtools/test/tools/javac/file/
H A DT7068437.java67 check("compilation", task.call());
74 check("compilation", task.call());
77 void check(String msg, boolean ok) { method in class:T7068437

Completed in 122 milliseconds

1234567891011>>