Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 62) sorted by relevance

123

/dalvik/tests/082-inline-execute/src/junit/framework/
DAssert.java59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
60 if (expected == null && actual == null) in assertEquals()
62 if (expected != null && expected.equals(actual)) in assertEquals()
64 failNotEquals(message, expected, actual); in assertEquals()
70 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument
71 assertEquals(null, expected, actual); in assertEquals()
76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
77 if (expected == null && actual == null) in assertEquals()
79 if (expected != null && expected.equals(actual)) in assertEquals()
81 throw new ComparisonFailure(message, expected, actual); in assertEquals()
[all …]
DComparisonFailure.java18 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument
20 fExpected= expected; in ComparisonFailure()
47 String actual, expected; in getMessage() local
51 expected= fExpected; in getMessage()
54 expected= fExpected.substring(i, j+1); in getMessage()
57 expected= "..."+expected; in getMessage()
62 expected= expected+"..."; in getMessage()
66 return Assert.format(super.getMessage(), expected, actual); in getMessage()
/dalvik/tests/021-string2/src/junit/framework/
DAssert.java59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
60 if (expected == null && actual == null) in assertEquals()
62 if (expected != null && expected.equals(actual)) in assertEquals()
64 failNotEquals(message, expected, actual); in assertEquals()
70 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument
71 assertEquals(null, expected, actual); in assertEquals()
76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
77 if (expected == null && actual == null) in assertEquals()
79 if (expected != null && expected.equals(actual)) in assertEquals()
81 throw new ComparisonFailure(message, expected, actual); in assertEquals()
[all …]
DComparisonFailure.java18 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument
20 fExpected= expected; in ComparisonFailure()
47 String actual, expected; in getMessage() local
51 expected= fExpected; in getMessage()
54 expected= fExpected.substring(i, j+1); in getMessage()
57 expected= "..."+expected; in getMessage()
62 expected= expected+"..."; in getMessage()
66 return Assert.format(super.getMessage(), expected, actual); in getMessage()
/dalvik/dx/src/junit/framework/
DAssert.java59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
60 if (expected == null && actual == null) in assertEquals()
62 if (expected != null && expected.equals(actual)) in assertEquals()
64 failNotEquals(message, expected, actual); in assertEquals()
70 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument
71 assertEquals(null, expected, actual); in assertEquals()
76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
77 if (expected == null && actual == null) in assertEquals()
79 if (expected != null && expected.equals(actual)) in assertEquals()
81 throw new ComparisonFailure(message, expected, actual); in assertEquals()
[all …]
DComparisonFailure.java18 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument
20 fExpected= expected; in ComparisonFailure()
47 String actual, expected; in getMessage() local
51 expected= fExpected; in getMessage()
54 expected= fExpected.substring(i, j+1); in getMessage()
57 expected= "..."+expected; in getMessage()
62 expected= expected+"..."; in getMessage()
66 return Assert.format(super.getMessage(), expected, actual); in getMessage()
/dalvik/tests/041-narrowing/
Dexpected.txt9 (byte) Double.NaN = 00 expected: 00
10 (short) Double.NaN = 0000 expected: 0000
11 (int) Double.NaN = 00000000 expected: 00000000
12 (long) Double.NaN = 0000000000000000 expected: 0000000000000000
14 (byte) Float.NaN = 00 expected: 00
15 (short) Float.NaN = 0000 expected: 0000
16 (int) Float.NaN = 00000000 expected: 00000000
17 (long) Float.NaN = 0000000000000000 expected: 0000000000000000
19 (byte) Double.POSITIVE_INFINITY = ff expected: ff
20 (short) Double.POSITIVE_INFINITY = ffff expected: ffff
[all …]
/dalvik/dx/tests/105-verify-load-store-ops/
Dexpected.txt2 aaload: expected failure occurred
4 aastore: expected failure occurred
6 astore: expected failure occurred
8 astore_0: expected failure occurred
10 astore_1: expected failure occurred
12 astore_2: expected failure occurred
14 astore_3: expected failure occurred
16 baload: expected failure occurred
18 bastore: expected failure occurred
20 caload: expected failure occurred
[all …]
/dalvik/dx/tests/101-verify-wide-math/
Dexpected.txt2 d2f: expected failure occurred
4 d2i: expected failure occurred
6 d2l: expected failure occurred
8 dadd: expected failure occurred
10 dcmpg: expected failure occurred
12 dcmpl: expected failure occurred
14 ddiv: expected failure occurred
16 dmul: expected failure occurred
18 dneg: expected failure occurred
20 drem: expected failure occurred
[all …]
/dalvik/tests/075-verification-error/
Dexpected.txt1 Got expected InstantationError
2 Got expected NoSuchFieldError
3 Got expected NoSuchFieldError
4 Got expected NoSuchMethodError
5 Got expected NoSuchMethodError
6 Got expected IllegalAccessError (ifield)
7 Got expected IllegalAccessError (sfield)
8 Got expected IllegalAccessError (method)
9 Got expected IllegalAccessError (smethod)
10 Got expected IllegalAccessError (meth-class)
[all …]
/dalvik/dx/tests/102-verify-nonwide-math/
Dexpected.txt2 f2d: expected failure occurred
4 f2i: expected failure occurred
6 f2l: expected failure occurred
8 fadd: expected failure occurred
10 fdiv: expected failure occurred
12 fmul: expected failure occurred
14 fneg: expected failure occurred
16 frem: expected failure occurred
18 fsub: expected failure occurred
20 i2d: expected failure occurred
[all …]
/dalvik/dx/tests/103-verify-branch-ops/
Dexpected.txt2 if_acmpeq: expected failure occurred
4 if_acmpne: expected failure occurred
6 if_icmpeq: expected failure occurred
8 if_icmpge: expected failure occurred
10 if_icmpgt: expected failure occurred
12 if_icmple: expected failure occurred
14 if_icmplt: expected failure occurred
16 if_icmpne: expected failure occurred
18 ifeq: expected failure occurred
20 ifge: expected failure occurred
[all …]
/dalvik/dx/tests/107-verify-stack-ops/
Dexpected.txt2 dup: expected failure occurred
4 dup_x1_case1: expected failure occurred
6 dup_x1_case2: expected failure occurred
8 dup_x2_case1: expected failure occurred
10 dup_x2_case2: expected failure occurred
12 dup_x2_case3: expected failure occurred
14 dup2: expected failure occurred
16 dup2_x1_case1: expected failure occurred
18 dup2_x1_case2: expected failure occurred
20 dup2_x1_case3: expected failure occurred
[all …]
/dalvik/dx/tests/106-verify-object-ops/
Dexpected.txt2 anewarray: expected failure occurred
4 arraylength: expected failure occurred
6 athrow: expected failure occurred
8 checkcast: expected failure occurred
10 getfield: expected failure occurred
12 instanceof: expected failure occurred
14 invokeinterface: expected failure occurred
16 invokespecial: expected failure occurred
18 invokestatic: expected failure occurred
20 invokevirtual: expected failure occurred
[all …]
/dalvik/dx/tests/104-verify-return-ops/
Dexpected.txt2 areturn: expected failure occurred
4 dreturn: expected failure occurred
6 freturn: expected failure occurred
8 ireturn: expected failure occurred
10 lreturn: expected failure occurred
12 sig_areturn: expected failure occurred
14 sig_dreturn: expected failure occurred
16 sig_freturn: expected failure occurred
18 sig_ireturn: expected failure occurred
20 sig_lreturn: expected failure occurred
[all …]
/dalvik/tests/042-new-instance/
Dexpected.txt2 Got expected PackageAccess complaint
4 Got expected InstantationError
5 Cons LocalClass failed as expected
7 Cons got expected PackageAccess complaint
8 Cons got expected InstantationException
/dalvik/tests/070-nio-buffer/
Dexpected.txt1 Got expected buffer overflow exception
2 Got expected out-of-bounds exception
3 Got expected buffer overflow exception
/dalvik/tests/044-proxy/
Dexpected.txt43 Got expected ioobe
46 Got expected ie
52 Dupe threw expected exception
53 Clash threw expected exception
54 Clash2 threw expected exception
55 Clash3 threw expected exception
56 Clash4 threw expected exception
59 Got expected UTE
62 Got expected IOE
65 Got expected IOE
[all …]
/dalvik/tests/068-classloader/
Dexpected.txt3 Got expected access exception #1
4 Got expected CNFE/IAE #2
5 Got expected CNFE/IAE #3
6 Got expected LinkageError on DE
/dalvik/tests/084-class-init/
Dexpected.txt1 Got expected EIIE for FIELD0
2 Got expected NCDFE for FIELD0
3 Got expected NCDFE for FIELD1
/dalvik/tests/046-reflect/
Dexpected.txt32 Invoke got expected exception:
44 got expected illegal obj store exc
45 got the other expected access exc
46 got expected arg exc
58 got expected long->int failure
59 got expected long->int failure
60 got expected string->int failure
61 got expected int->short failure
72 got expected double->long failure
73 as expected: aPrivateInt not found
[all …]
/dalvik/tests/024-illegal-access/
Dexpected.txt1 Got expected failure 1
2 Got expected failure 2
/dalvik/tests/032-concrete-sub/
Dexpected.txt3 Got expected exception from abs.doStuff().
6 Got expected failure
/dalvik/dx/tests/
Drun-test43 expected="expected.txt"
93 td_expected="$testdir"/"$expected"
123 cmp -s "$expected" "$output"
143 diff -u "$expected" "$output"
/dalvik/tests/077-method-override/
Dexpected.txt14 Got expected exception - ovws
15 Got expected exception - oswv

123