HomeSort by relevance Sort by last modified time
    Searched refs:expected (Results 1 - 25 of 5491) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
reg_access_test.c 18 uint64_t val, expected; local
22 expected = 0x8000000100000000ull;
23 mtspr(SPRN_BESCR, expected);
26 FAIL_IF(val != expected);
28 expected = 0x0000000001000000ull;
29 mtspr(SPRN_EBBHR, expected);
32 FAIL_IF(val != expected);
  /art/test/406-fields/src/
TestCase.java 24 public static void assertSame(Object expected, Object value) {
25 if (expected != value) {
26 throw new AssertionError("Objects are not the same: expected " +
27 String.valueOf(expected) + ", got " + String.valueOf(value));
31 public static void assertNotSame(Object expected, Object value) {
32 if (expected == value) {
34 "Objects are the same: " + String.valueOf(expected));
38 public static void assertEquals(String message, int expected, int actual) {
39 if (expected != actual) {
44 public static void assertEquals(int expected, int actual)
    [all...]
  /art/test/407-arrays/src/
TestCase.java 24 public static void assertSame(Object expected, Object value) {
25 if (expected != value) {
26 throw new AssertionError("Objects are not the same: expected " +
27 String.valueOf(expected) + ", got " + String.valueOf(value));
31 public static void assertNotSame(Object expected, Object value) {
32 if (expected == value) {
34 "Objects are the same: " + String.valueOf(expected));
38 public static void assertEquals(String message, int expected, int actual) {
39 if (expected != actual) {
44 public static void assertEquals(int expected, int actual)
    [all...]
  /art/test/412-new-array/src/
TestCase.java 24 public static void assertSame(Object expected, Object value) {
25 if (expected != value) {
26 throw new AssertionError("Objects are not the same: expected " +
27 String.valueOf(expected) + ", got " + String.valueOf(value));
31 public static void assertNotSame(Object expected, Object value) {
32 if (expected == value) {
34 "Objects are the same: " + String.valueOf(expected));
38 public static void assertEquals(String message, int expected, int actual) {
39 if (expected != actual) {
44 public static void assertEquals(int expected, int actual)
    [all...]
  /art/test/414-static-fields/src/
TestCase.java 24 public static void assertSame(Object expected, Object value) {
25 if (expected != value) {
26 throw new AssertionError("Objects are not the same: expected " +
27 String.valueOf(expected) + ", got " + String.valueOf(value));
31 public static void assertNotSame(Object expected, Object value) {
32 if (expected == value) {
34 "Objects are the same: " + String.valueOf(expected));
38 public static void assertEquals(String message, int expected, int actual) {
39 if (expected != actual) {
44 public static void assertEquals(int expected, int actual)
    [all...]
  /external/easymock/src/org/easymock/internal/matchers/
ArrayEquals.java 26 public ArrayEquals(Object expected) {
27 super(expected);
32 Object expected = getExpected(); local
33 if (expected instanceof boolean[]
35 return Arrays.equals((boolean[]) expected, (boolean[]) actual);
36 } else if (expected instanceof byte[]
38 return Arrays.equals((byte[]) expected, (byte[]) actual);
39 } else if (expected instanceof char[]
41 return Arrays.equals((char[]) expected, (char[]) actual);
42 } else if (expected instanceof double[]
    [all...]
Equals.java 27 private final Object expected; field in class:Equals
29 public Equals(Object expected) {
30 this.expected = expected;
34 if (this.expected == null) {
37 return expected.equals(actual);
41 ArgumentToString.appendArgument(expected, buffer);
45 return expected;
53 return this.expected == null && other.expected == null
    [all...]
  /external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
ValidationTestUtilTest.java 53 ByteBuffer expected = ByteBuffer.allocateDirect(0); local
54 expected.order(ByteOrder.LITTLE_ENDIAN);
56 checkInputParser(input, true, expected, 0);
61 ByteBuffer expected = ByteBuffer.allocateDirect(0); local
62 expected.order(ByteOrder.nativeOrder());
64 checkInputParser(input, true, expected, 0);
69 ByteBuffer expected = ByteBuffer.allocateDirect(17); local
70 expected.order(ByteOrder.nativeOrder());
71 expected.put((byte) 0x10);
72 expected.putShort((short) 65535)
83 ByteBuffer expected = ByteBuffer.allocateDirect(15); local
95 ByteBuffer expected = ByteBuffer.allocateDirect(3); local
106 ByteBuffer expected = ByteBuffer.allocateDirect(12); local
116 ByteBuffer expected = ByteBuffer.allocateDirect(14); local
128 ByteBuffer expected = ByteBuffer.allocateDirect(8); local
144 ByteBuffer expected = ByteBuffer.allocateDirect(0); local
    [all...]
  /external/emma/core/java12/com/vladium/util/exception/
Exceptions.java 20 public static boolean unexpectedFailure (final Throwable t, final Class [] expected)
23 if (expected == null) return true;
27 for (int e = 0; e < expected.length; ++ e)
29 if (expected [e] == null) continue;
30 if (expected [e].isAssignableFrom (reClass))
  /external/testng/src/main/java/org/testng/
AssertJUnit.java 73 static public void assertEquals(String message, Object expected, Object actual) {
74 if((expected == null) && (actual == null)) {
77 if((expected != null) && expected.equals(actual)) {
80 failNotEquals(message, expected, actual);
87 static public void assertEquals(Object expected, Object actual) {
88 assertEquals(null, expected, actual);
94 static public void assertEquals(String message, String expected, String actual) {
95 if((expected == null) && (actual == null)) {
98 if((expected != null) && expected.equals(actual))
    [all...]
  /external/compiler-rt/test/builtins/Unit/
truncdfsf2_test.c 23 float expected = a; local
25 if (actual != expected) {
27 "expected %f\n", a, actual, expected);
absvsi2_test.c 27 si_int expected = a; local
28 if (expected < 0)
29 expected = -expected;
30 if (x != expected || expected < 0)
31 printf("error in __absvsi2(0x%X) = %d, expected positive %d\n",
32 a, x, expected);
33 return x != expected;
  /external/toybox/tests/
diff.test 13 expected='--- lll
22 testing "simple" "diff -L lll -L rrr left right" "$expected" "" ""
25 expected='--- tree1/file
35 testing "-r" "diff -r -L tree1/file -L tree2/file tree1 tree2 |tee out" "$expected" "" ""
  /development/tools/logblame/
test_logs.py 11 expected = [ logs.LogLine(None, "03-29 00:46:58.872", "1000", "1815", "1816", "I", "",
16 check_parsing(expected, text)
21 expected = [ logs.LogLine(None, "03-29 00:46:58.872", "1000", "1815", "1816", "I", "",
25 check_parsing(expected, text)
31 expected = [ logs.LogLine(None, "03-29 00:46:58.872", "1000", "1815", "1816", "I", "abcd",
38 check_parsing(expected, text)
43 expected = [ logs.LogLine(None, "03-29 00:46:58.872", "1000", "1815", "1816", "I", "abcd",
51 check_parsing(expected, text)
56 expected = [ logs.LogLine(None, "03-29 00:46:58.872", "1000", "1815", "1816", "I", "abcd",
63 check_parsing(expected, text
    [all...]
  /art/test/021-string2/src/junit/framework/
Assert.java 62 static public void assertEquals(String message, Object expected, Object actual) {
63 if (expected == null && actual == null)
65 if (expected != null && expected.equals(actual))
67 failNotEquals(message, expected, actual);
73 static public void assertEquals(Object expected, Object actual) {
74 assertEquals(null, expected, actual);
79 static public void assertEquals(String message, String expected, String actual) {
80 if (expected == null && actual == null)
82 if (expected != null && expected.equals(actual)
    [all...]
  /art/test/082-inline-execute/src/junit/framework/
Assert.java 62 static public void assertEquals(String message, Object expected, Object actual) {
63 if (expected == null && actual == null)
65 if (expected != null && expected.equals(actual))
67 failNotEquals(message, expected, actual);
73 static public void assertEquals(Object expected, Object actual) {
74 assertEquals(null, expected, actual);
79 static public void assertEquals(String message, String expected, String actual) {
80 if (expected == null && actual == null)
82 if (expected != null && expected.equals(actual)
    [all...]
  /external/junit/src/main/java/junit/framework/
Assert.java 71 static public void assertEquals(String message, Object expected, Object actual) {
72 if (expected == null && actual == null) {
75 if (expected != null && expected.equals(actual)) {
78 failNotEquals(message, expected, actual);
85 static public void assertEquals(Object expected, Object actual) {
86 assertEquals(null, expected, actual);
92 static public void assertEquals(String message, String expected, String actual) {
93 if (expected == null && actual == null) {
96 if (expected != null && expected.equals(actual))
    [all...]
  /art/test/1931-monitor-events/
check 17 # Art sends events for park/unpark, and the RI doesn't. Remove it from the expected output.
19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
  /art/test/1932-monitor-events-misc/
check 17 # The RI sends an extra event that art doesn't. Add it to the expected output.
19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
  /art/test/1936-thread-end-events/
check 17 # The RI sends an extra event that art doesn't. Add it to the expected output.
19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
  /art/test/1950-unprepared-transform/
check 17 # The RI sends an extra event that art doesn't. Add it to the expected output.
19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
  /art/test/1953-pop-frame/
check 21 (patch -p0 expected.txt < class-loading-expected.patch >/dev/null && ./default-check "$@")
  /art/test/1954-pop-frame-jit/
check 21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
  /art/test/1955-pop-frame-jit-called/
check 21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
  /art/test/1956-pop-frame-jit-calling/
check 21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")

Completed in 2111 milliseconds

1 2 3 4 5 6 7 8 91011>>