Searched refs:found (Results 26 - 50 of 248) sorted by relevance

12345678910

/openjdk7/jdk/test/java/io/Serializable/expectedStackTrace/
H A DExpectedStackTrace.java93 boolean found = false;
98 found = true;
101 if (found) {
/openjdk7/langtools/test/tools/javac/6440583/
H A DT6440583.java56 throw new AssertionError("no error trees found");
57 found = true;
65 if (!found)
66 throw new AssertionError("no ErroneousTree nodes found");
69 private static boolean found; field in class:T6440583
/openjdk7/jdk/test/javax/swing/JTabbedPane/6670274/
H A Dbug6670274.java60 boolean found = false;
63 found = true;
68 if (found) {
/openjdk7/langtools/test/tools/javac/api/6431257/
H A DT6431257.java53 boolean found = false;
58 found |= name.equals(binaryPackageName + ".package-info");
65 if (!found)
/openjdk7/langtools/test/tools/javac/api/ToolProvider/
H A DToolProviderTest2.java64 boolean found = false;
68 found = true;
74 if (!found)
75 System.err.println("expected class name not found");
/openjdk7/langtools/test/tools/javac/generics/
H A DT6751514.java76 static void equals(int found, int req) { argument
77 if (found != req) {
79 " - found: " + found + ")");
/openjdk7/langtools/test/tools/javap/
H A DT6866657.java48 throw new Error(errors + " found.");
70 void expectEqual(int found, int expected) { argument
71 if (found != expected)
72 error("bad value found: " + found + " expected: " + expected);
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DSpnegoReqFlags.java66 boolean found = false;
73 found = true;
88 if (!found) {
89 System.out.println("Warning: regFlags field not found, too new?");
H A DTest5653.java47 boolean found = false;
52 found = true;
56 if (!found) {
57 throw new Exception("Cannot found krb5 mech for old name type");
/openjdk7/jdk/src/share/classes/javax/crypto/spec/
H A DDESKeySpec.java228 boolean found = true;
229 for (int j = 0; j < DES_KEY_LEN && found == true; j++) {
231 found = false;
234 if (found == true) {
235 return found;
/openjdk7/langtools/test/tools/javac/
H A DT6406771.java65 long found;
68 found = lineMap.getLineNumber(pos);
72 found = lineMap.getColumnNumber(pos);
77 if (expect != found) {
80 + " expect=" + expect + " found=" + found);
H A DT6665791.java67 String found = sw.toString().replaceAll("\\s+", " ").trim();
69 if (!expect.equals(found)) {
71 System.out.println("found: " + found);
/openjdk7/jdk/test/demo/zipfs/
H A DBasic.java40 boolean found = false;
44 found = true;
48 if (!found)
71 found = false;
74 found = entry.toString().equals("/META-INF/");
75 if (found) break;
79 if (!found)
80 throw new RuntimeException("Expected file not found");
/openjdk7/langtools/test/tools/javac/4241573/
H A DT4241573.java51 // This next class references other classes that will be found on the source path
89 Set<File> found = findFiles(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));
98 for (File f: found)
[all...]
/openjdk7/langtools/test/tools/javac/api/6411310/
H A DTest.java72 throw new Exception(errors + " errors found");
116 String found = fo.getName();
117 // if ct.sym is found, replace it with the equivalent rt.jar
118 String found2 = found.replaceAll("lib([\\\\/])ct.sym\\(META-INF/sym/rt.jar/", "jre$1lib$1rt.jar(");
121 System.err.println(" found: " + found);
122 if (!found.equals(found2))
130 if (found.contains("(")) {
132 foundJars.add(new File(found.substring(0, found
136 checkCoverage(String label, Set<String> found, String... expect) argument
[all...]
/openjdk7/jdk/test/javax/management/Introspector/
H A DGetMBeanInfoExceptionTest.java104 boolean found = false;
109 found = true;
113 if (found) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/
H A DPolicyIntersector.java97 // check for "null" and "empty" policy: if such policy is found return "null" policy,
99 boolean found = false;
104 found = true;
107 found = true;
117 if (found && !allPoliciesEmpty) {
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DMonitorDeadlock.java139 boolean[] found = new boolean[EXPECTED_THREADS];
143 found[j] = true;
148 for (int j = 0; j < found.length; j++) {
149 ok = ok && found[j];
H A DSynchronizerDeadlock.java142 boolean[] found = new boolean[EXPECTED_THREADS];
146 found[j] = true;
151 for (int j = 0; j < found.length; j++) {
152 ok = ok && found[j];
H A DAllThreadIds.java148 boolean found = false;
155 found = true;
160 if (!found) {
164 if (!found) {
192 boolean found = false;
201 found = true;
206 if (live != found) {
210 if (live != found) {
/openjdk7/jdk/src/share/classes/sun/util/locale/
H A DLanguageTag.java233 boolean found = false;
237 found = true;
243 return found;
251 boolean found = false;
258 found = true;
272 return found;
280 boolean found = false;
284 found = true;
290 return found;
298 boolean found
[all...]
/openjdk7/langtools/test/tools/javac/processing/model/element/TestMissingElement/
H A DTestMissingElement.java74 String found = asString(te.getInterfaces(), ", ");
75 checkEqual("interfaces", te, found, expect);
80 String found = asString(te.getSuperclass());
81 checkEqual("supertype", te, found, expect);
84 private void checkEqual(String label, TypeElement te, String found, String expect) { argument
85 if (found.equals(expect)) {
86 // messager.printMessage(NOTE, "expected " + label + " found: " + expect, te);
89 + " found: " + found + "\n"
91 messager.printMessage(ERROR, "unexpected " + label + " found
[all...]
/openjdk7/langtools/test/tools/javac/tree/
H A DTreePosRoundsTest.java173 String found = source.substring(start, end);
174 //System.err.println(" found: " + found);
179 if (found.contains("\n")) {
180 String head = found.substring(0, found.indexOf("\n"));
181 String tail = found.substring(found.lastIndexOf("\n")).trim();
184 equal = expect.equals(found);
189 "unexpected value found
[all...]
/openjdk7/jdk/test/java/nio/file/DirectoryStream/
H A DBasic.java36 static boolean found; field in class:Basic
53 found = false;
57 if (found)
58 throw new RuntimeException("entry already found");
59 found = true;
68 if (!found)
69 throw new RuntimeException("entry not found");
/openjdk7/langtools/test/tools/javac/file/
H A DT7068437.java102 boolean found;
104 messager.printMessage(Kind.NOTE, "found previous content of length " +
106 found = true;
109 found = false;
112 found = false;
115 if (expectFile && !found) {
116 messager.printMessage(Kind.ERROR, "expected file but file not found");

Completed in 44 milliseconds

12345678910