/openjdk7/jdk/test/java/io/FileInputStream/ |
H A D | OpsAfterClose.java | 4 * @summary Test if FileInputStream methods will check if the stream 12 READ { boolean check(FileInputStream r) { 22 READ_BUF { boolean check(FileInputStream r) { 32 READ_BUF_OFF { boolean check(FileInputStream r) { 43 GET_CHANNEL { boolean check(FileInputStream r) { 47 GET_FD { boolean check(FileInputStream r) { 56 SKIP { boolean check(FileInputStream r) { 65 CLOSE { boolean check(FileInputStream r) { 75 abstract boolean check(FileInputStream r); method in class:OpsAfterClose 89 " on FileInputStream, check th [all...] |
/openjdk7/jdk/test/java/io/FileOutputStream/ |
H A D | OpsAfterClose.java | 4 * @summary Test if FileOutputStream methods will check if the stream 12 WRITE { boolean check(FileOutputStream r) { 22 WRITE_BUF { boolean check(FileOutputStream r) { 32 WRITE_BUF_OFF { boolean check(FileOutputStream r) { 43 GET_CHANNEL { boolean check(FileOutputStream r) { 47 GET_FD { boolean check(FileOutputStream r) { 56 CLOSE { boolean check(FileOutputStream r) { 66 abstract boolean check(FileOutputStream r); method in class:OpsAfterClose 80 " on FileOutputStream, check the messages"); 91 result = op.check( [all...] |
/openjdk7/jdk/test/java/io/LineNumberInputStream/ |
H A D | Available.java | 34 static void check(int a, int bound) throws Exception { method in class:Available 42 check(in.available(), 5); 45 check(in.available(), 4); 49 check(in.available(), 2);
|
/openjdk7/jdk/test/java/io/Reader/ |
H A D | OpsAfterClose.java | 27 * @summary Test if Reader methods will check if the stream 35 READ { boolean check(Reader r) { 44 READ_BUF { boolean check(Reader r) { 54 READY { boolean check(Reader r) { 62 MARK { boolean check(Reader r) { 70 SKIP { boolean check(Reader r) { 78 RESET { boolean check(Reader r) { 86 CLOSE { boolean check(Reader r) { 95 abstract boolean check(Reader r); method in class:OpsAfterClose 155 " on some of the reader{s}, check th [all...] |
/openjdk7/jdk/test/java/io/pathNames/unix/ |
H A D | TrailingSlash.java | 37 static void check(String what, String fns, method in class:TrailingSlash 60 check("FileInputStream", fns, fis, threw); 70 check("RandomAccessFile", fns, raf, threw); 80 check("FileOutputStream", fns, fos, threw);
|
/openjdk7/jdk/test/java/lang/Float/ |
H A D | ParseFloat.java | 32 private static void check(String val, float expected) { method in class:ParseFloat 40 check(new String(""+Float.MIN_VALUE), Float.MIN_VALUE); 41 check(new String(""+Float.MAX_VALUE), Float.MAX_VALUE); 43 check("10", (float) 10.0); 44 check("10.0", (float) 10.0); 45 check("10.01", (float) 10.01); 47 check("-10", (float) -10.0); 48 check("-10.00", (float) -10.0); 49 check("-10.01", (float) -10.01);
|
/openjdk7/jdk/test/java/net/Socket/setReuseAddress/ |
H A D | Basic.java | 54 void check(boolean pass) { method in class:Basic 66 check(!s1.getReuseAddress()); 70 check(s1.getReuseAddress()); 74 check(!s1.getReuseAddress() ); 98 check(s1.getReuseAddress()); 102 check(!s1.getReuseAddress() ); 125 check(!s1.getReuseAddress()); 129 check(s1.getReuseAddress()); 133 check(!s1.getReuseAddress() ); 191 check(s [all...] |
/openjdk7/jdk/test/java/nio/charset/Charset/ |
H A D | RegisteredCharsets.java | 168 static void check(String csn, boolean testRegistered) throws Exception { method in class:RegisteredCharsets 188 check(ianaRegistered[i], true); 191 check(ianaUnRegistered[i], false);
|
/openjdk7/jdk/test/java/nio/file/attribute/BasicFileAttributeView/ |
H A D | Basic.java | 38 static void check(boolean okay, String msg) { method in class:Basic 47 check(attrs.isDirectory(), "is a directory"); 48 check(!attrs.isRegularFile(), "is not a regular file"); 49 check(!attrs.isSymbolicLink(), "is not a link"); 50 check(!attrs.isOther(), "is not other"); 54 check(f.lastModified() == attrs.lastModifiedTime().toMillis(), 62 check(attrs.isRegularFile(), "is a regular file"); 63 check(!attrs.isDirectory(), "is not a directory"); 64 check(!attrs.isSymbolicLink(), "is not a link"); 65 check(!attr [all...] |
/openjdk7/jdk/test/java/nio/file/attribute/DosFileAttributeView/ |
H A D | Basic.java | 38 static void check(boolean okay) { method in class:Basic 46 check(view.readAttributes().isReadOnly()); 48 check(!view.readAttributes().isReadOnly()); 50 check(view.readAttributes().isHidden()); 52 check(!view.readAttributes().isHidden()); 54 check(view.readAttributes().isArchive()); 56 check(!view.readAttributes().isArchive()); 58 check(view.readAttributes().isSystem()); 60 check(!view.readAttributes().isSystem()); 103 // check tha [all...] |
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/ |
H A D | ClosedChannelList.java | 54 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/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | Assert.java | 43 public static void check(boolean cond) { method in class:Assert 68 public static void check(boolean cond, int value) { method in class:Assert 76 public static void check(boolean cond, long value) { method in class:Assert 84 public static void check(boolean cond, Object value) { method in class:Assert 92 public static void check(boolean cond, String msg) { method in class:Assert
|
/openjdk7/langtools/test/tools/javac/6400383/ |
H A D | T6400383.java | 42 check(out.toString()); 50 check(out.toString()); 56 private static void check(String s) { method in class:T6400383
|
/openjdk7/langtools/test/tools/javac/6627362/ |
H A D | T6627362.java | 51 // compile and disassemble E.java, check for reference to Object.clone() 61 check(sw.toString(), "Method \"[LE;\".clone:()Ljava/lang/Object;"); 67 // check for reference to System.arraycopy 78 check(sw.toString(), "// Method java/lang/System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V"); 94 void check(String s, String require) { method in class:T6627362
|
/openjdk7/langtools/test/tools/javac/6917288/ |
H A D | GraphicalInstallerTest.java | 49 check(classes, 82 void check(File dir, String... paths) { method in class:GraphicalInstallerTest
|
/openjdk7/langtools/test/tools/javac/AccessMethods/ |
H A D | ConstructorAccess.java | 78 void check(int j, char c, boolean b) throws Exception { method in class:ConstructorAccess.Inner 87 x.check(0, 'x', false); 90 y.check(747, 'z', true); 95 z.check(777, 'x' , true); 114 x.check(0, 'x', false); 117 y.check(767, 'w', true); 122 z.check(777, 'x' , true);
|
/openjdk7/jdk/src/share/native/java/lang/ |
H A D | SecurityManager.c | 38 check(JNIEnv *env, jobject this) function 73 if (!check(env, this)) { 84 if (!check(env, this)) { 95 if (!check(env, this)) { 107 if (!check(env, this)) { 123 if (!check(env, this)) {
|
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngrio.c | 81 png_size_t check; local 89 check = fread(data, 1, length, (png_FILE_p)png_ptr->io_ptr); 91 if (check != length) 106 png_size_t check; local 119 check = fread(n_data, 1, length, io_ptr); 126 check = 0; 139 check += err; 147 if ((png_uint_32)check != (png_uint_32)length)
|
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/ |
H A D | UntrustedChecker.java | 38 * A <code>PKIXCertPathChecker</code> implementation to check whether a 72 public void check(Certificate cert, method in class:UntrustedChecker
|
/openjdk7/jdk/src/share/classes/sun/tools/tree/ |
H A D | CaseStatement.java | 52 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { method in class:CaseStatement
|
/openjdk7/jdk/test/java/text/BreakIterator/ |
H A D | ExceptionTest.java | 59 check(bi.following(i), DONE); 61 check(bi.following(i), mirror.following(i)); 62 check(bi.current(), mirror.current()); 67 check(bi.current(), mirror.current()); 72 check(bi.current(), mirror.current()); 80 check(bi.preceding(i), DONE); 82 check(bi.preceding(i), mirror.preceding(i)); 83 check(bi.current(), mirror.current()); 88 check(bi.current(), mirror.current()); 93 check(b 113 private static void check(int i1, int i2) { method in class:ExceptionTest 119 private static void check(boolean b1, boolean b2) { method in class:ExceptionTest [all...] |
/openjdk7/jdk/test/java/util/Arrays/ |
H A D | Fill.java | 66 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:Fill
|
/openjdk7/jdk/test/java/util/Collections/ |
H A D | NCopies.java | 51 static void check(boolean condition, String msg) { method in class:NCopies 58 static void check(boolean condition) { method in class:NCopies 59 check(condition, "Assertion failure"); 63 check(x.isEmpty()); 64 check(x.size() == 0); 65 check(x.indexOf("foo") == -1); 66 check(x.lastIndexOf("foo") == -1); 67 check(x.toArray().length == 0); 68 check(x.toArray().getClass() == Object[].class); 72 check(! [all...] |
H A D | SetFromMap.java | 38 static void check(boolean cond) { if (cond) pass(); else fail(); } method in class:SetFromMap 57 check(s.add(foo1)); 58 check(s.add(foo2)); 59 check(s.add(bar)); 61 check(s.contains(foo1)); 62 check(s.contains(foo2)); 63 check(! s.contains(new String(foo1)));
|
/openjdk7/jdk/test/java/util/PriorityQueue/ |
H A D | RemoveContains.java | 51 static void check(boolean condition, String msg) { method in class:RemoveContains 58 static void check(boolean condition) { method in class:RemoveContains 59 check(condition, "Assertion failure"); 86 check(q.contains(word)); 87 check(! q.contains("flurble")); 89 check(q.remove("fi")); 91 check(q.contains(word) ^ word.equals("fi")); 93 check(! q.remove("fi")); 94 check(! q.remove("flurble"));
|