Searched refs:equal (Results 51 - 75 of 240) sorted by relevance

12345678910

/openjdk7/jdk/test/java/net/URL/
H A DEquals.java86 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 DBigBinarySearch.java66 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 DDataDescriptor.java93 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 Dutf8.hpp55 static bool equal(const jbyte* base1, int length1, const jbyte* base2,int length2);
/openjdk7/jdk/test/java/io/FileOutputStream/
H A DAtomicAppend.java59 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 DUpdateJar.java65 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 DModifyCorePoolSize.java41 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 DT6238612.java84 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 DPhaseOverflow.java48 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 DTieredArriveLoops.java61 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 DTimedAcquireLeak.java82 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 DTestAES.java309 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 DTList.java42 { "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 DDynAnyImpl.java157 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 DDynValueBoxImpl.java77 if ( ! isNull && ! boxed.type().equal(this.type())) {
100 if ( ! isNull && ! boxed.type().equal(this.type())) {
/openjdk7/jdk/test/java/nio/charset/StandardCharsets/
H A DStandard.java92 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 DMacPathTest.java72 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 DMandatoryWarningHandler.java148 && !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 DGet.java56 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 DOfferDrainToLoops.java125 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 DDelayOverflow.java122 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 DDecorateTask.java88 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 DHotPotatoes.java55 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 DDelayOverflow.java86 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 DIteratorWeakConsistency.java74 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);}

Completed in 123 milliseconds

12345678910