Searched refs:actual (Results 26 - 50 of 106) sorted by relevance

12345

/openjdk7/jdk/test/java/lang/reflect/Constructor/
H A DGenericStringTest.java46 String actual = ctor.toGenericString();
47 System.out.println(actual);
48 if (! egs.value().equals(actual)) {
51 egs.value(), actual);
/openjdk7/jdk/test/java/rmi/server/RMIClassLoader/useCodebaseOnlyDefault/
H A DUseCodebaseOnlyDefault.java54 * Gets the actual useCodebaseOnly value by creating an instance
94 boolean actual = getActualValue();
95 System.out.println("actual = " + actual);
97 if (expected != actual)
98 throw new AssertionError("actual does not match expected value");
/openjdk7/jdk/test/java/util/Random/
H A DNextBytes.java40 byte[] actual = new byte[i];
41 r.nextBytes(actual);
42 //System.out.println(Arrays.toString(actual));
43 check(Arrays.equals(actual, Arrays.copyOf(expected,i)));
/openjdk7/jdk/test/java/util/logging/bundlesearch/
H A DTwiceIndirectlyLoadABundle.java64 ClassLoader actual = loadItUp2InvokerClazz.getClassLoader();
65 if (actual != yetAnotherResourceCL) {
67 + actual);
/openjdk7/jdk/test/javax/swing/plaf/basic/BasicSplitPaneUI/
H A DTest6657026.java77 int actual = pane.getDividerLocation();
78 if (actual != expected) {
79 throw new Error(actual + ", but expected " + expected);
/openjdk7/langtools/test/tools/javac/annotations/pos/
H A DPrimitives.java51 static void check(Object actual, Object expected) { argument
52 if (actual != expected)
53 throw new Error("expected: " + expected + "; actual = " + actual);
/openjdk7/langtools/test/tools/javac/api/7086261/
H A DT7086261.java58 String actual = message.toString();
61 if (!actual.equals(expected)) {
62 throw new AssertionError("expected = " + expected + "\nfound = " + actual);
/openjdk7/langtools/test/tools/javap/classfile/deps/
H A DT6907575.java55 void diff(String actual, String ref) throws Exception { argument
57 System.out.println("ACTUAL:>>>" + actual + "<<<");
58 if (!actual.equals(ref))
/openjdk7/jdk/test/java/awt/WMSpecificTests/Metacity/
H A DFullscreenDialogModality.java91 Color actual = robot.getPixelColor(checkPoint.x, checkPoint.y);
92 System.out.println("Color = " + actual);
93 if (actual.getRGB() == Color.GREEN.getRGB()) {
95 } else if (actual.getRGB() == Color.RED.getRGB()) {
99 Integer.toHexString(actual.getRGB()) +
/openjdk7/jdk/src/share/classes/com/sun/beans/
H A DTypeResolver.java53 * with the actual type it has in the given {@code inClass}.
86 * with the actual types they have in the given {@code inClass}.
101 * with the types they stand for in the given {@code actual} type.
110 * <p>The {@code actual} argument to this method can also be a Class.
133 * Therefore if this method is called with {@code actual} being
137 * <p>In the case where {@code actual} is a "raw" ParameterizedType, the
151 * @param actual the type that supplies bindings for type variables
153 * in {@code actual} will be replaced by the corresponding bound values
156 public static Type resolve(Type actual, Type formal) { argument
162 comp = resolve(actual, com
214 resolve(Type actual, Type[] formals) argument
[all...]
/openjdk7/jdk/test/java/awt/regtesthelpers/
H A DAbstractPolicyTest.java116 void assertEquals(final String message, final Object expected, final Object actual) { argument
117 assertEquals(null, message, expected, actual);
120 void assertEquals(final String cont_id, final String message, final Object expected, final Object actual) { argument
121 if (actual == null && expected == null
122 || actual != null && actual.equals(expected))
128 "(actual = " + actual + ", expected = " + expected + ")");
/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/
H A DRETest.java500 String actual = r.subst("aaaabfooaaabgarplyaaabwackyb", "-");
501 assertEquals("Wrong result of substitution in \"a*b\"", expected, actual);
505 actual = r.subst("visit us: http://www.apache.org!",
507 assertEquals("Wrong subst() result", "visit us: 1234<a href=\"http://www.apache.org\">http://www.apache.org</a>!", actual);
512 actual = r.subst("variable=value",
514 assertEquals("Wrong subst() result", "variable_test_value12", actual);
518 actual = r.subst("a",
520 assertEquals("Wrong subst() result", "b", actual);
524 actual = r.subst("\r\na\r\n",
526 assertEquals("Wrong subst() result", "\r\nb\r\n", actual);
529 assertEquals(String message, String expected, String actual) argument
539 assertEquals(String message, int expected, int actual) argument
848 assertEquals(StringBuffer log, String message, String expected, String actual) argument
860 assertEquals(StringBuffer log, String message, int expected, int actual) argument
[all...]
/openjdk7/jdk/test/java/awt/FullScreen/FullScreenInsets/
H A DFullScreenInsets.java98 private static void testSize(final Dimension actual, final Dimension exp) { argument
99 if (!exp.equals(actual)) {
101 " Expected: " + exp + " Actual: " + actual);
106 private static void testInsets(final Insets actual, final Insets exp) { argument
107 if (!actual.equals(exp)) {
109 " Expected: " + exp + " Actual: " + actual);
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DRestart.java82 int actual = exceptionCount.get();
83 if (actual != 200)
84 throw new RuntimeException(actual + " exceptions, expected: " + 200);
/openjdk7/jdk/test/javax/management/query/
H A DCustomQueryTest.java109 private static void assertEquals(Object expected, Object actual) argument
111 if (!expected.equals(actual)) {
112 String failure = "FAILED: expected " + expected + ", got " + actual;
/openjdk7/langtools/test/tools/javac/processing/environment/round/
H A DTestContext.java74 <T> void check(T actual, T expected) { argument
76 // messager.printMessage(NOTE, "actual: " + actual);
78 if (actual != expected) {
80 "round " + round + " unexpected value for " + expected.getClass().getName() + ": " + actual);
/openjdk7/langtools/test/tools/javac/util/
H A DT6597678.java94 <T> void checkEqual(String label, T actual, T expected) { argument
95 if (actual != expected)
99 + "; found: " + actual);
/openjdk7/langtools/test/tools/javac/varargs/6199075/
H A DT6199075.java131 boolean isApplicable(TypeKind actual, ArgumentsArity argsArity) { argument
133 actual.isSubtypeOf(varargsElement);
150 for (TypeKind actual : TypeKind.values()) {
152 compileAndCheck(m1, m2, actual, argsArity);
165 void compileAndCheck(VarargsMethod m1, VarargsMethod m2, TypeKind actual, ArgumentsArity argsArity) throws Exception { argument
167 JavaSource source = new JavaSource(m1, m2, actual, argsArity);
172 check(source, ec, m1, m2, actual, argsArity);
175 void check(JavaSource source, ErrorChecker ec, VarargsMethod m1, VarargsMethod m2, TypeKind actual, ArgumentsArity argsArity) { argument
180 boolean m1_applicable = m1.isApplicable(actual, argsArity);
181 boolean m2_applicable = m2.isApplicable(actual, argsArit
255 JavaSource(VarargsMethod m1, VarargsMethod m2, TypeKind actual, ArgumentsArity argsArity) argument
[all...]
/openjdk7/jdk/test/java/lang/Class/getEnclosingClass/
H A DEnclosingClassTest.java79 static void match(String actual, String expected) { argument
80 assert((actual == null && expected == null) || actual.equals(expected));
82 actual + "' matches expected `" +
/openjdk7/langtools/test/tools/javac/
H A DT6993301.java99 private <T> void assertEquals(T expected, T actual) { argument
100 if (expected == null ? actual == null : expected.equals(actual))
102 throw new AssertionError("expected: " + expected + ", actual: " + actual);
/openjdk7/jdk/src/macosx/native/jobjc/src/tests/java/com/apple/jobjc/
H A DVarArgsTest.java41 String actual = Utils.get().strings().javaString(nstr);
43 assertEquals(expected, actual);
/openjdk7/langtools/test/tools/javac/javazip/
H A DTest.sh71 actual=ok
73 actual=err
75 if [ "$actual" != "$expected" ]; then
76 case "$actual" in
82 case "$actual" in
/openjdk7/langtools/test/tools/javac/file/
H A DT7018098.java111 <T> void checkEqual(String label, T actual, T expected) { argument
112 if (actual != expected)
116 + "; found: " + actual);
/openjdk7/langtools/test/tools/javac/processing/6499119/
H A DClassProcessor.java116 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/jdk/test/java/beans/PropertyEditor/6380849/
H A DTestPropertyEditor.java72 PropertyEditor actual = PropertyEditorManager.findEditor(type);
73 if ((actual == null) && (expected != null)) {
76 if ((actual != null) && !actual.getClass().equals(expected)) {

Completed in 359 milliseconds

12345