/openjdk7/langtools/test/tools/javap/ |
H A D | T6729471.java | 90 for (String expect: expects) { 91 if (output.indexOf(expect)< 0) 92 error(expect + " not found");
|
H A D | T6824493.java | 69 void test(String option, String... expect) { argument 87 for (String e: expect) {
|
H A D | TestSuperclass.java | 121 String expect = js.source.replaceAll("(?s)^(.* Test[^{]+?) *\\{.*", "$1"); 126 checkEqual("class signature", expect, found); 145 void checkEqual(String label, String expect, String found) { argument 146 if (!expect.equals(found)) 147 error("Unexpected " + label + " found: '" + found + "', expected: '" + expect + "'");
|
/openjdk7/langtools/test/tools/javap/classfile/ |
H A D | T6887895.java | 63 Set<String> expect = new TreeSet<String>(Arrays.asList(expectNames)); 64 if (!found.equals(expect)) { 66 System.err.println("expect: " + expect);
|
/openjdk7/langtools/test/tools/javac/4241573/ |
H A D | T4241573.java | 79 Set<File> expect = getFiles(outDir, 91 if (!found.equals(expect)) { 92 if (found.containsAll(expect)) 93 throw new Exception("unexpected files found: " + diff(found, expect)); 94 else if (expect.containsAll(found)) 95 throw new Exception("expected files not found: " + diff(expect, found)); 112 String expect = f.getName().replaceAll("([$.].*)?\\.class", ".java"); 113 if (!expect.equals(found)) { 114 error("bad value found: " + found + ", expected: " + expect);
|
/openjdk7/langtools/test/tools/javac/literals/ |
H A D | UnderscoreLiterals.java | 170 void test(int value, int expect) { argument 172 if (value != expect) 173 error("test " + count + "\nexpected: 0x" + Integer.toHexString(expect) + "\n found: 0x" + Integer.toHexString(value)); 176 void test(double value, double expect) { argument 178 if (value != expect) 179 error("test " + count + "\nexpected: 0x" + expect + "\n found: 0x" + value); 182 void test(long value, long expect) { argument 184 if (value != expect) 185 error("test " + count + "\nexpected: 0x" + Long.toHexString(expect) + "\n found: 0x" + Long.toHexString(value));
|
/openjdk7/langtools/test/tools/javac/ |
H A D | T6873849.java | 47 void test(String opt, String expect) throws Exception { argument 64 if (!out.equals(expect))
|
H A D | T6358024.java | 66 static void test(JavacFileManager fm, JavaFileObject f, Option[] opts, int expect) throws Throwable { argument 86 if (tl.started != expect) 88 + "expected " + expect + ", found " + tl.started);
|
H A D | T6406771.java | 76 int expect = Integer.parseInt(s.substring(prefix.length())); 77 if (expect != found) { 80 + " expect=" + expect + " found=" + found);
|
H A D | T6423583.java | 81 Class expect = map.get(tree.getKind()); 82 if (!check(tree.getValue(), expect)) { 84 System.err.println("expected class: " + expect);
|
H A D | T6999210.java | 72 String expect = "C.class:-:-: compiler.warn.future.attr: Signature, 49, 0, 48, 0"; 73 if (!out3.contains(expect)) 74 error("expected output \"" + expect + "\" not found");
|
H A D | VersionOpt.java | 94 void checkEqual(String kind, String found, String expect) { argument 95 if (!found.equals(expect)) { 97 System.err.println("expect: >>" + expect + "<<");
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/ |
H A D | AtomicLongFieldUpdater.java | 97 * @param expect the expected value 103 public abstract boolean compareAndSet(T obj, long expect, long update); argument 117 * @param expect the expected value 123 public abstract boolean weakCompareAndSet(T obj, long expect, long update); argument 307 public boolean compareAndSet(T obj, long expect, long update) { argument 309 return unsafe.compareAndSwapLong(obj, offset, expect, update); 312 public boolean weakCompareAndSet(T obj, long expect, long update) { argument 314 return unsafe.compareAndSwapLong(obj, offset, expect, update); 388 public boolean compareAndSet(T obj, long expect, long update) { argument 392 if (v != expect) 399 weakCompareAndSet(T obj, long expect, long update) argument [all...] |
/openjdk7/jdk/make/tools/src/build/tools/dtdbuilder/ |
H A D | DTDParser.java | 96 boolean expect(int c) throws IOException { method in class:DTDParser 289 expect(')'); 440 expect('>'); 471 expect(')'); 526 expect('-'); 562 expect('>'); 685 expect('>'); 747 expect('['); 755 expect(']'); 756 expect(']'); [all...] |
/openjdk7/langtools/test/tools/javac/processing/model/util/elements/doccomments/ |
H A D | TestDocComments.java | 223 String expect = (e.getKind() + " " + e.getSimpleName()); // default 233 expect = null; 239 expect = null; 247 expect = null; 254 expect = null; 259 System.err.println(" expect " + expect); 261 if (dc == null ? expect == null : dc.trim().equals(expect)) 268 "unexpected comment: \"" + dc + "\", expected \"" + expect [all...] |
/openjdk7/jdk/test/java/lang/invoke/7157574/ |
H A D | Test7157574.java | 105 private static void assertEquals(Object expect, Object observe) { argument 106 if (java.util.Objects.equals(expect, observe)) return; 107 String msg = ("expected "+expect+" but observed "+observe);
|
/openjdk7/jdk/test/java/net/URLClassLoader/closetest/ |
H A D | Common.java | 100 /* expect is true if you expect to find it, false if you expect not to */ 101 static Class loadClass (String name, URLClassLoader loader, boolean expect){ argument 104 if (!expect) { 109 if (expect) {
|
/openjdk7/langtools/test/tools/javac/api/ |
H A D | T6392782.java | 58 private static void check(TreeScanner<?,?> scanner, int expect, int found) { argument 59 if (found != expect) 60 throw new AssertionError(scanner.getClass().getName() + ": expected: " + expect + " found: " + found);
|
H A D | TestDocComments.java | 120 int check(Trees trees, String expect) { argument 124 if (dc != null && dc.trim().equals(expect)) 131 error("unexpected doc comment for " + k + "\nexpect: " + expect + "\nfound: " + dc);
|
H A D | TestJavacTask_Multiple.java | 75 int expect = TestKind.values().length * MAX_TASKS; 76 if (count != expect) { 78 + ", expected: " + expect);
|
H A D | TestJavacTask_ParseAttrGen.java | 94 int expect = (gk ? 2 : 0); // main class and anon class for TaskListener 95 if (genFiles.length != expect) 97 + ", expected: " + expect);
|
/openjdk7/langtools/test/tools/javac/policy/test1/ |
H A D | Test1b.java | 130 void check(String prefix, int expect) { argument 133 if (found == 0 || found == expect) { 137 error("Found " + found + " files for " + prefix + ": expected 0 or " + expect + " " + names);
|
/openjdk7/langtools/test/tools/javac/processing/6499119/ |
H A D | ClassProcessor.java | 42 @SupportedOptions({ "gen", "expect" }) 116 private void checkEqual(String label, String actual, String expect) { argument 117 if (!actual.equals(expect)) { 118 error("Unexpected value for " + label + "; actual=" + actual + ", expected=" + expect);
|
/openjdk7/langtools/test/tools/javac/processing/model/element/ |
H A D | TestTypeParameter.java | 45 if (found == expect) { 48 error("unexpected number of results: expected " + expect 128 final int expect = 5; // top level class, plus preceding examples field in class:TestTypeParameter
|
/openjdk7/langtools/test/tools/javadoc/6942366/ |
H A D | T6942366.java | 103 boolean expect = useSourcePath; 106 if (expect) 111 if (expect)
|