/openjdk7/jdk/test/java/net/URL/ |
H A D | Equals.java | 86 System.out.println("Urls are not equal, so the test cannot run."); 95 boolean equal = jarUrl1.equals(jarUrl2); 96 if (expectEqual && !equal) { 97 System.out.println("URLs should be equal, but are not. " + 100 } else if (!expectEqual && equal) { 101 System.out.println("URLs should NOT be equal, but are. " + 107 // hashCode MUST produce the same integer result for equal urls
|
/openjdk7/jdk/test/java/util/Collections/ |
H A D | BigBinarySearch.java | 66 try { equal(i, Collections.binarySearch(l, l.get(i))); } 73 try { equal(i, Collections.binarySearch(l, l.get(i), comparator)); } 108 static void equal(Object x, Object y) { method in class:BigBinarySearch 110 else fail(x + " not equal to " + y);}
|
/openjdk7/jdk/test/java/util/zip/ |
H A D | DataDescriptor.java | 93 equal(length1, length2); 107 equal(length1, length3); 118 static void equal(Object x, Object y) { method in class:DataDescriptor 120 else fail(x + " not equal to " + y);}
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | utf8.hpp | 55 static bool equal(const jbyte* base1, int length1, const jbyte* base2,int length2);
|
/openjdk7/jdk/test/java/io/FileOutputStream/ |
H A D | AtomicAppend.java | 59 equal(file.length(), (long) (nThreads * writes)); 72 void equal(Object x, Object y) { method in class:AtomicAppend 74 else fail(x + " not equal to " + y);}
|
/openjdk7/jdk/test/tools/jar/ |
H A D | UpdateJar.java | 65 equal(pm, Files.getPosixFilePermissions(Paths.get(jar))); 79 static void equal(Object x, Object y) { method in class:UpdateJar 81 else fail(x + " not equal to " + y);}
|
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/ |
H A D | ModifyCorePoolSize.java | 41 equal(pool.getCorePoolSize(), n); 68 static void equal(Object x, Object y) { method in class:ModifyCorePoolSize 70 else fail(x + " not equal to " + y);}
|
/openjdk7/langtools/test/tools/javac/ |
H A D | T6238612.java | 84 if (!equal(array[i], expected)) 88 // check if two strings are both null or are equal 89 boolean equal(String s1, String s2) { method in class:T6238612
|
/openjdk7/jdk/test/java/util/concurrent/Phaser/ |
H A D | PhaseOverflow.java | 48 equal(phase, phaser.getPhase()); 49 equal(parties, phaser.getRegisteredParties()); 50 equal(unarrived, phaser.getUnarrivedParties()); 107 equal(3, ph); 139 equal(3, ph); 149 void equal(Object x, Object y) { method in class:PhaseOverflow 151 else fail(x + " not equal to " + y);}
|
H A D | TieredArriveLoops.java | 61 equal(phase, (prevPhase + 1) & Integer.MAX_VALUE); 100 void equal(Object x, Object y) { method in class:TieredArriveLoops 102 else fail(x + " not equal to " + y);}
|
/openjdk7/jdk/test/java/util/concurrent/locks/Lock/ |
H A D | TimedAcquireLeak.java | 82 equal(error, ""); 83 equal(p.waitFor(), 0); 84 equal(p.exitValue(), 0); 165 equal(p.waitFor(), 0); 166 equal(p.exitValue(), 0); 228 equal(null, q.poll(t, NANOSECONDS)); 265 static void equal(Object x, Object y) { method in class:TimedAcquireLeak 267 else fail(x + " not equal to " + y);}
|
/openjdk7/jdk/test/com/oracle/security/ucrypto/ |
H A D | TestAES.java | 309 boolean equal = true; 312 equal = false; 317 equal = false; 322 return equal; 326 boolean equal = true; 329 equal = false; 332 equal = false; 335 equal = false; 337 return equal;
|
/openjdk7/langtools/test/tools/javac/util/list/ |
H A D | TList.java | 42 { "1", "2" }, // different but equal 223 if (expectException || !equal(expectValue, foundValue)) 282 if (!equal(l.iterator(), ref.iterator())) 307 if (!equal(l.listIterator(), ref.listIterator())) 318 if (!equal(l.listIterator(i), ref.listIterator(i))) 412 if (!equal(l.subList(lwb, upb), ref.subList(lwb,upb))) 424 if (!equal(l.toArray(), ref.toArray())) 434 if (!equal(l.toArray(new String[0]), ref.toArray(new String[0]))) 450 if (!equal(expect, found)) { 458 if (!equal( 496 static <T> boolean equal(T t1, T t2) { method in class:TList 500 static <T> boolean equal(Iterator<T> iter1, Iterator<T> iter2) { method in class:TList 512 static <T> boolean equal(ListIterator<T> iter1, ListIterator<T> iter2) { method in class:TList 527 static <T> boolean equal(T[] a1, T[] a2) { method in class:TList [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/dynamicany/ |
H A D | DynAnyImpl.java | 157 if ((any != null) && (! any.type().equal(dyn_any.type()))) { 171 if ((any != null) && (! any.type().equal(value.type()))) { 189 public abstract boolean equal (org.omg.DynamicAny.DynAny dyn_any); method in class:DynAnyImpl
|
H A D | DynValueBoxImpl.java | 77 if ( ! isNull && ! boxed.type().equal(this.type())) { 100 if ( ! isNull && ! boxed.type().equal(this.type())) {
|
/openjdk7/jdk/test/java/nio/charset/StandardCharsets/ |
H A D | Standard.java | 92 static void equal(Object x, Object y) { method in class:Standard 94 else {System.out.println(x + " not equal to " + y); fail();}} 95 static void equal2(Object x, Object y) {equal(x, y); equal(y, x);}
|
/openjdk7/jdk/test/java/nio/file/Path/ |
H A D | MacPathTest.java | 72 private static boolean equal(Object x, Object y) { method in class:MacPathTest 121 if (!equal(pfp, Files.getPosixFilePermissions(fpath_nfc)) ) { 132 if (!equal(pfp, Files.getPosixFilePermissions(fpath_nfd))) { 149 throw new RuntimeException("File.equal() failed");
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | MandatoryWarningHandler.java | 148 && !equal(deferredDiagnosticSource, currentSource)) { 160 !equal(deferredDiagnosticSource, currentSource)) { 184 * Check two objects, each possibly null, are either both null or are equal. 186 private static boolean equal(Object o1, Object o2) { method in class:MandatoryWarningHandler
|
/openjdk7/jdk/test/java/util/Map/ |
H A D | Get.java | 56 equal(m.put(key, value), oldValue); 57 equal(m.get(key), value); 121 static void equal(Object x, Object y) { method in class:Get 122 if(Objects.equals(x,y)) pass(); else fail(x + " not equal to " + y);
|
/openjdk7/jdk/test/java/util/concurrent/BlockingQueue/ |
H A D | OfferDrainToLoops.java | 125 equal(list.size(), n); 127 equal((Long) list.get(j) + 1L, list.get(j + 1)); 174 void equal(Object x, Object y) { method in class:OfferDrainToLoops 176 else fail(x + " not equal to " + y);}
|
/openjdk7/jdk/test/java/util/concurrent/ScheduledThreadPoolExecutor/ |
H A D | DelayOverflow.java | 122 equal(runLatch.getCount(), 0L); 146 equal(runLatch.getCount(), 0L); 160 void equal(Object x, Object y) { method in class:DelayOverflow 162 else fail(x + " not equal to " + y);}
|
H A D | DecorateTask.java | 88 equal(decoratorCount.get(), 2 * jobs); 98 void equal(Object x, Object y) { method in class:DecorateTask 100 else fail(x + " not equal to " + y);}
|
/openjdk7/jdk/test/java/util/Collection/ |
H A D | HotPotatoes.java | 55 equal(coll.toString(), "[1]"); 95 static void equal(Object x, Object y) { method in class:HotPotatoes 97 else fail(x + " not equal to " + y);}
|
/openjdk7/jdk/test/java/util/Timer/ |
H A D | DelayOverflow.java | 86 equal(count.get(), 1); 103 void equal(Object x, Object y) { method in class:DelayOverflow 105 else fail(x + " not equal to " + y);}
|
/openjdk7/jdk/test/java/util/concurrent/ConcurrentQueues/ |
H A D | IteratorWeakConsistency.java | 74 equal(list, Arrays.asList(0, 3, 4, 5, 6, 8, 9)); 108 void equal(Object x, Object y) { method in class:IteratorWeakConsistency 110 else fail(x + " not equal to " + y);}
|