/openjdk7/jdk/test/java/util/concurrent/ConcurrentMap/ |
H A D | ConcurrentModification.java | 46 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/javax/management/openmbean/ |
H A D | IsValueTest.java | 57 check(ctOld.isValue(cdNew), "isValue: " + ctOld + "[" + cdNew + "]"); 60 check(!ctNew.isValue(cdOld), "isValue: " + ctNew + "[" + cdOld + "]"); 73 check(true, "CompositeDataSupport containing CompositeDataSupport"); 76 check(false, "CompositeDataSupport containing CompositeDataSupport: " + e); 89 check(false, "CompositeDataSupport containing old did not get exception"); 91 check(true, "CompositeDataSupport containing old got expected exception: " + e); 101 check(true, "TabularDataSupport adding extended CompositeData"); 104 check(false, "TabularDataSupport adding extended CompositeData: " + e); 121 check(true, "CompositeDataSupport adding extended TabularData"); 124 check(fals 131 private static void check(boolean value, String what) { method in class:IsValueTest [all...] |
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/ |
H A D | StateTestService.java | 51 static void check(boolean okay) { method in class:StateTestService 86 check( sc.isBlocking() ); 87 check( sc.socket().isBound() ); 88 check( sc.socket().isConnected() ); 93 check( ssc.isBlocking() ); 94 check( ssc.socket().isBound() ); 99 check( dc.isBlocking() ); 100 check( dc.socket().isBound() );
|
/openjdk7/jdk/test/java/util/ResourceBundle/ |
H A D | Bug6356571.java | 37 void check() { method in class:Bug6356571 45 new Bug6356571().check();
|
/openjdk7/langtools/test/tools/javac/ |
H A D | NameCollision2.java | 45 void check() { method in class:NameCollision2 51 new NameCollision2().check();
|
H A D | QualifiedThisExactMatch.java | 59 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());
|
/openjdk7/langtools/test/tools/javac/implicitThis/ |
H A D | WhichImplicitThis1.java | 40 boolean check() { method in class:WhichImplicitThis1.Middle 47 if (!m.check()) throw new Error();
|
H A D | WhichImplicitThis2.java | 42 boolean check() { method in class:WhichImplicitThis2.X 49 if (!x.check()) throw new Error();
|
/openjdk7/jdk/test/java/io/RandomAccessFile/ |
H A D | OpsAfterClose.java | 4 * @summary Test if RandomAccessFile methods will check if the stream 12 READ { boolean check(RandomAccessFile r) { 22 READ_BUF { boolean check(RandomAccessFile r) { 33 GET_CHANNEL { boolean check(RandomAccessFile r) { 37 GET_FD { boolean check(RandomAccessFile r) { 46 GET_FILE_PTR { boolean check(RandomAccessFile r) { 55 GET_LENGTH { boolean check(RandomAccessFile r) { 64 SEEK { boolean check(RandomAccessFile r) { 73 SET_LENGTH { boolean check(RandomAccessFile r) { 82 SKIP_BYTES { boolean check(RandomAccessFil 121 abstract boolean check(RandomAccessFile r); method in class:OpsAfterClose [all...] |
/openjdk7/jdk/test/java/nio/charset/StandardCharsets/ |
H A D | Standard.java | 47 check(StandardCharsets.US_ASCII instanceof Charset); 48 check(StandardCharsets.ISO_8859_1 instanceof Charset); 49 check(StandardCharsets.UTF_8 instanceof Charset); 50 check(StandardCharsets.UTF_16BE instanceof Charset); 51 check(StandardCharsets.UTF_16LE instanceof Charset); 52 check(StandardCharsets.UTF_16 instanceof Charset); 54 check("US-ASCII".equals(StandardCharsets.US_ASCII.name())); 55 check("ISO-8859-1".equals(StandardCharsets.ISO_8859_1.name())); 56 check("UTF-8".equals(StandardCharsets.UTF_8.name())); 57 check("UT 91 static void check(boolean cond) { if (cond) pass(); else fail(); } method in class:Standard [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/com/sun/nio/sctp/ |
H A D | MessageInfoTests.java | 52 check(info.association().equals(assoc), "incorrect association"); 57 check(info.address() == null, "address should be null"); 58 check(info.association() == null, "association should be null"); 60 check(info.address() == null, "address should be null"); 84 check(info.isUnordered() == false, "default unordered value not false"); 85 check(info.timeToLive() == 0L, "timeToLive should be 0L"); 86 check(info.isComplete() == true, "default complete value not true"); 87 check(info.payloadProtocolID() == 0, "default PPID not 0"); 88 check(info.bytes() == 0, "default bytes value not 0"); 89 check(inf 135 void check(boolean cond) {if (cond) pass(); else fail();} method in class:MessageInfoTests 136 void check(boolean cond, String failMessage) {if (cond) pass(); method in class:MessageInfoTests [all...] |
/openjdk7/jdk/test/java/util/PriorityQueue/ |
H A D | ForgetMeNot.java | 35 check(Arrays.equals(q.toArray(), elts)); 42 check(! it.hasNext()); 69 check(q.isEmpty()); 70 check(! q.contains(1)); 75 check(q.isEmpty()); 82 check(! q.isEmpty()); 83 check(q.contains(1)); 86 check(it.hasNext()); 90 check(q.isEmpty()); 105 check(i 141 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:ForgetMeNot [all...] |
/openjdk7/jdk/test/java/io/PrintWriter/ |
H A D | OpsAfterClose.java | 27 * @summary Test if PrintWriter methods check if the stream 35 WRITE_BUF { boolean check(PrintWriter w) { 41 WRITE_BUF_OFF { boolean check(PrintWriter w) { 47 WRITE_INT { boolean check(PrintWriter w) { 51 WRITE_STR { boolean check(PrintWriter w) { 56 WRITE_STR_OFF { boolean check(PrintWriter w) { 62 abstract boolean check(PrintWriter w); method in class:OpsAfterClose 77 result = op.check(pw);
|
/openjdk7/jdk/test/java/util/Collections/ |
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/sun/security/krb5/canonicalize/ |
H A D | Test.java | 43 check("c1", "c1.this.domain"); 44 check("c1.this", "c1.this.domain"); 45 check("c1.this.domain", "c1.this.domain"); 48 check("c2", "c2"); 51 check("c3", "c3"); 54 check("c4", "c4"); 57 static void check(String input, String output) throws Exception { method in class:Test
|
/openjdk7/jdk/test/java/util/Collection/ |
H A D | MOAT.java | 153 check(c.containsAll(c)); 154 check(c.containsAll(Arrays.asList(c.toArray()))); 155 check(c.containsAll(Arrays.asList(c.toArray(new Integer[0])))); 159 check(c.containsAll(new ArrayList<Integer>())); 163 check(c.isEmpty()); 168 check(c.toArray(new Object[]{42})[0] == null); 178 check(! it.hasNext()); 189 check(! it.hasNext()); 249 check(m.isEmpty()); 256 try { check(! 1176 static void check(boolean cond) { if (cond) pass(); else fail(); } method in class:MOAT [all...] |
/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/util/zip/ |
H A D | InfoZip.java | 47 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);
|
/openjdk7/jdk/test/java/util/AbstractCollection/ |
H A D | ToArrayTest.java | 101 check(res instanceof String[]); 102 check(res.length == 2); 103 check(res[1] == "2"); 108 check(false); 110 check(t instanceof ArrayStoreException); 116 check(res != a); 117 check(res[LAST] != null); 122 check(res == a); 123 check(res[last()] != null); 128 check(re 208 static void check(boolean cond) { if (cond) pass(); else fail(); } method in class:ToArrayTest [all...] |
/openjdk7/jdk/test/javax/management/ObjectName/ |
H A D | SerialCompatTest.java | 58 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/src/share/classes/com/sun/jndi/toolkit/dir/ |
H A D | AttrFilter.java | 40 public boolean check(Attributes targetAttrs) throws NamingException; method in interface:AttrFilter
|
/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/jdk/test/javax/swing/border/ |
H A D | Test4129681.java | 45 JCheckBox check = new JCheckBox("disable"); 46 check.addItemListener(this); 50 this.label.setEnabled(!check.isSelected()); 52 add(BorderLayout.NORTH, check);
|
/openjdk7/jdk/test/sun/net/www/httptest/ |
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
|