/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/ |
H A D | ModifyCorePoolSize.java | 58 check(pool.awaitTermination(1L, TimeUnit.DAYS)); 67 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:ModifyCorePoolSize
|
H A D | SelfInterrupt.java | 50 check(! Thread.interrupted()); 54 check(! Thread.interrupted()); 58 check(pool.awaitTermination(1000L, TimeUnit.SECONDS)); 67 void check(boolean cond) {if (cond) pass(); else fail();} method in class:SelfInterrupt
|
/openjdk7/jdk/test/java/util/concurrent/TimeUnit/ |
H A D | Basic.java | 40 check(u instanceof TimeUnit); 45 check(readObject(serializedForm(u)) == u); 66 check(elapsedMillis >= 0); 67 /* Might not sleep on windows: check(elapsedMillis >= 3); */ 68 check(elapsedMillis < 1000); 81 check(Arrays.equals(serializedForm(SECONDS), serializedForm)); 90 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:Basic
|
/openjdk7/jdk/test/java/util/logging/ |
H A D | LoggerSubclass.java | 53 check(logger.isLoggable(Level.WARNING)); 89 void check(boolean cond) {if (cond) pass(); else fail();} method in class:LoggerSubclass
|
/openjdk7/jdk/test/java/util/zip/ |
H A D | ConstructDeflaterInput.java | 109 check(len == 0); 123 check(!dis.markSupported()); 124 check(dis.available() == 1); 125 check(!def.getEnded()); 136 check(!def.getEnded()); 167 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:ConstructDeflaterInput
|
H A D | ConstructInflaterOutput.java | 106 check(!inf.getEnded()); 108 check(!inf.getEnded()); 110 check(!inf.getEnded()); 112 check(!inf.getEnded()); 143 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:ConstructInflaterOutput
|
H A D | DataDescriptor.java | 94 check(Arrays.equals(zipbytes1, zipbytes2)); 108 check(Arrays.equals(zipbytes1, zipbytes3)); 117 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:DataDescriptor
|
H A D | TotalInOut.java | 63 check(bytesReadDef == deflater.getBytesRead()); 68 check(bytesWrittenDef == deflater.getBytesWritten()); 74 check(bytesWrittenInf == inflater.getBytesWritten()); 76 check(bytesReadInf == inflater.getBytesRead()); 89 static boolean check(boolean cond) {if (cond) pass(); else fail(); return cond;} method in class:TotalInOut
|
/openjdk7/jdk/test/java/util/zip/GZIP/ |
H A D | ReadUByte.java | 64 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:ReadUByte
|
/openjdk7/jdk/test/java/util/zip/ZipFile/ |
H A D | ManyZipFiles.java | 44 // to succeed. Since this test is written to check for a 131 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:ManyZipFiles
|
H A D | ReadLongZipFileName.java | 80 check(je != null); 84 check(val == 1); 99 check(myJarFile.delete()); 104 check(f.delete()); 117 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:ReadLongZipFileName
|
/openjdk7/jdk/test/javax/management/MBeanInfo/ |
H A D | NotificationInfoTest.java | 147 check(mbean); 153 check(new RelationService(false)); 156 check(new RequiredModelMBean()); 174 private static void check(NotificationBroadcaster mbean) method in class:NotificationInfoTest 178 check(mbean.getClass().getName(), mbean.getNotificationInfo()); 190 check(name.toString(), mbi.getNotifications()); 198 check(connector); 201 private static void check(String what, MBeanNotificationInfo[] mbnis) { method in class:NotificationInfoTest
|
/openjdk7/jdk/test/javax/management/mxbean/ |
H A D | MXBeanRefTest.java | 60 check("ObjectName attribute value", on.equals(productName)); 65 check("ObjectName in proxy", mbsih.getObjectName().equals(productName)); 71 check("Proxy after setAttribute", 78 check("Proxy after proxied set", 86 check("Proxy for wrong MBeanServer worked but shouldn't", false); 90 check("Proxy for wrong MBeanServer correctly rejected", true); 93 check("Proxy for wrong MBeanServer got wrong exception", false); 102 check("Duplicate register succeeded but should fail", false); 104 check("Got correct exception from duplicate name", true); 107 check("Go 115 private static void check(String what, boolean ok) { method in class:MXBeanRefTest [all...] |
/openjdk7/jdk/test/javax/swing/MultiUIDefaults/ |
H A D | Test6860438.java | 41 void check(Object key, Object value, boolean present, int size) { method in class:Test6860438 42 check(UIManager.get(key) == value, "UIManager.get()"); 43 check(UIManager.getDefaults().size() == size, "MultiUIDefaults.size()"); 50 // check MultiUIDefaults.entrySet() 55 check(e.getValue() == value, "MultiUIDefaults.entrySet()"); 59 check(found == present, "MultiUIDefaults.entrySet()"); 70 check(found == present, error); 73 void check(boolean condition, String methodName) { method in class:Test6860438 84 check(KEY, VALUE, true, size + 1); 88 check(KE [all...] |
/openjdk7/jdk/test/sun/net/www/ |
H A D | HeaderTests.java | 97 check (hp, s23_expect); 100 check (hp, s23_expect); 103 check (hp, s23_expect1); 106 check (hp, s23_expect2); 113 boolean empty = check (p, expect[i]); 120 static boolean check (HeaderParser p, String[][]expect) { method in class:HeaderTests
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | EucJpLinux0212.java | 71 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:EucJpLinux0212
|
H A D | NIOJISAutoDetectTest.java | 47 private static void check(boolean cond, String msg) { method in class:NIOJISAutoDetectTest 69 check(cd.isAutoDetecting(), "isAutodecting()"); 70 check(! cd.isCharsetDetected(), "isCharsetDetected"); 72 check(! cd.isCharsetDetected(), "isCharsetDetected"); 78 check(cd.isCharsetDetected(), "isCharsetDetected"); 80 check(cs != null, "cs != null"); 81 check(! cs.newDecoder().isAutoDetecting(), "isAutodetecting()"); 99 check (reader.readLine().equals("ABCD"), "first read gets text"); 101 check (reader.readLine() == null, "second read gets null"); 148 check(ne [all...] |
H A D | UkrainianIsNotRussian.java | 36 check(Arrays.equals(s.getBytes(encoding), bytes)); 55 check(rcb == UnicodeBlock.BOX_DRAWING && 68 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:UkrainianIsNotRussian
|
/openjdk7/langtools/test/tools/javac/ |
H A D | QualifiedThisAndSuper_1.java | 64 void check(String expr, String result, String expected) { method in class:QualifiedThisAndSuper_1 97 check("this.m()", this.m(), "cm"); 99 check("A.this.m()", A.this.m(), "am"); 100 check("B.this.m()", B.this.m(), "bm"); 101 check("C.this.m()", C.this.m(), "cm"); 103 check("super.m()", super.m(), "csm"); 105 check("A.super.m()", A.super.m(), "asm"); 106 check("B.super.m()", B.super.m(), "bsm"); 107 check("C.super.m()", C.super.m(), "csm"); 110 check(" [all...] |
H A D | QualifiedThisAndSuper_2.java | 37 void check(String expr, String result, String expected) { method in class:QualifiedThisAndSuper_2 70 check("this.m()", this.m(), "cm"); 72 check("A.this.m()", A.this.m(), "am"); 73 check("B.this.m()", B.this.m(), "bm"); 74 check("C.this.m()", C.this.m(), "cm"); 78 check("this.n()", this.n(), "cn"); 80 check("A.this.n()", A.this.n(), "an"); 81 check("B.this.n()", B.this.n(), "bn"); 82 check("C.this.n()", C.this.n(), "cn"); 86 check("thi [all...] |
/openjdk7/langtools/test/tools/javac/api/ |
H A D | TestDocComments.java | 85 check(trees, "class-" + t.getSimpleName() + ".")); 94 check(trees, "method-" + t.getName() + ".")); 102 // for simplicity, only check fields, not parameters or local decls 104 ? check(trees, "field-" + t.getName() + ".") 118 * method-check. 120 int check(Trees trees, String expect) { method in class:TestDocComments.CommentScanner
|
/openjdk7/langtools/test/tools/javac/file/ |
H A D | T7068451.java | 81 check("compilation", task.call()); 94 check("compilation", task.call()); 105 check("compilation", task.call()); 108 void check(String msg, boolean ok) { method in class:T7068451
|
/openjdk7/langtools/test/tools/javadoc/6958836/ |
H A D | Test.java | 93 check(errOut, "Errors.java", expectErrs); 94 check(warnOut, " warning ", expectWarns); // requires -locale en_US 97 void check(String text, String expectText, int expectCount) { method in class:Test
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/ |
H A D | BasicLineNumberMapping.java | 102 if (check(addr, lowIdx)) { 108 if (check(addr, lowIdx)) { 110 } else if (check(addr, highIdx)) { 129 private boolean check(Address addr, int idx) { method in class:BasicLineNumberMapping
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/agent/ |
H A D | SnmpGenericObjectServer.java | 444 * check<i>AttributeName</i>() method on the MBean. If this method 466 public void check(SnmpGenericMetaServer meta, ObjectName name, method in class:SnmpGenericObjectServer 476 // call meta.check() here, and meta.check will call check() 477 check(meta,name,var.value,id,data); 497 * tries to invoke the check<i>AttributeName</i>() method on the MBean. 516 public void check(SnmpGenericMetaServer meta, ObjectName name, method in class:SnmpGenericObjectServer 529 server.invoke(name,"check"+attname,params,signature);
|