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

1 2 3 4 5 6 7 8 91011>>

  /external/easymock/src/org/easymock/internal/matchers/
ArrayEquals.java 31 public boolean matches(Object actual) {
34 && (actual == null || actual instanceof boolean[])) {
35 return Arrays.equals((boolean[]) expected, (boolean[]) actual);
37 && (actual == null || actual instanceof byte[])) {
38 return Arrays.equals((byte[]) expected, (byte[]) actual);
40 && (actual == null || actual instanceof char[])) {
41 return Arrays.equals((char[]) expected, (char[]) actual);
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/store/imap/
ImapUtilityTests.java 42 String[] actual; local
46 actual = ImapUtility.getImapSequenceValues("1");
47 MoreAsserts.assertEquals(expected, actual);
50 actual = ImapUtility.getImapSequenceValues("1,3,2");
51 MoreAsserts.assertEquals(expected, actual);
54 actual = ImapUtility.getImapSequenceValues("4:6");
55 MoreAsserts.assertEquals(expected, actual);
58 actual = ImapUtility.getImapSequenceValues("9:7");
59 MoreAsserts.assertEquals(expected, actual);
62 actual = ImapUtility.getImapSequenceValues("1,2:4,9:7")
97 String[] actual; local
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/
DxAbstractMain.java 21 static public void assertEquals(int expected, int actual) {
22 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals. Expected " + expected + " actual " + actual);
25 static public void assertEquals(String message, int expected, int actual) {
26 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals: " + message + " Expected " + expected + " actual " + actual);
30 static public void assertEquals(long expected, long actual) {
31 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals. Expected " + expected + " actual " (…)
    [all...]
  /external/chromium_org/cc/test/
geometry_test_utils.h 16 #define EXPECT_FLOAT_RECT_EQ(expected, actual) \
18 EXPECT_FLOAT_EQ((expected).x(), (actual).x()); \
19 EXPECT_FLOAT_EQ((expected).y(), (actual).y()); \
20 EXPECT_FLOAT_EQ((expected).width(), (actual).width()); \
21 EXPECT_FLOAT_EQ((expected).height(), (actual).height()); \
24 #define EXPECT_RECT_NEAR(expected, actual, abs_error) \
26 EXPECT_NEAR((expected).x(), (actual).x(), (abs_error)); \
27 EXPECT_NEAR((expected).y(), (actual).y(), (abs_error)); \
28 EXPECT_NEAR((expected).width(), (actual).width(), (abs_error)); \
29 EXPECT_NEAR((expected).height(), (actual).height(), (abs_error));
    [all...]
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
SearchUtilTest.java 30 final String actual = "this is a long test string.\nWith potentially many lines.\n" + local
33 SearchUtil.MatchedLine matched = SearchUtil.findMatchingLine(actual, "poten");
38 matched = SearchUtil.findMatchingLine(actual, "hello");
43 matched = SearchUtil.findMatchingLine(actual, "this");
48 matched = SearchUtil.findMatchingLine(actual, "punc");
54 final String actual = "this is a long test string.\nWith potentially many lines.\n" + local
56 assertEquals(0, SearchUtil.contains(actual, "this"));
57 assertEquals(10, SearchUtil.contains(actual, "lon"));
65 final String actual = "this is a long test string.\nWith potentially many lines.\n" + local
69 assertEquals(-1, SearchUtil.contains(actual, "ith"))
82 final String actual = "....hello.kitty"; local
    [all...]
  /external/valgrind/main/memcheck/tests/
wrap1.c 10 void actual ( void ) function
12 printf("in actual\n");
18 void I_WRAP_SONAME_FNNAME_ZU(NONE,actual) ( void )
32 actual();
wrap7.c 10 extern void actual ( void );
14 void I_WRAP_SONAME_FNNAME_ZU(wrap7soZdso,actual) ( void )
28 actual();
wrap1.stdout.exp 3 in actual
wrap7so.c 6 void actual ( void ) function
8 printf("in actual-so\n");
  /external/valgrind/main/none/tests/amd64/
amd64locked.stdout.exp 1 amd64locked: PASS: CRCs actual 0x1F677629 expected 0x1F677629
  /external/valgrind/main/none/tests/x86/
x86locked.stdout.exp 1 x86locked: PASS: CRCs actual 0x8235DC9C expected 0x8235DC9C
  /art/test/021-string2/src/junit/framework/
Assert.java 59 static public void assertEquals(String message, Object expected, Object actual) {
60 if (expected == null && actual == null)
62 if (expected != null && expected.equals(actual))
64 failNotEquals(message, expected, actual);
70 static public void assertEquals(Object expected, Object actual) {
71 assertEquals(null, expected, actual);
76 static public void assertEquals(String message, String expected, String actual) {
77 if (expected == null && actual == null)
79 if (expected != null && expected.equals(actual))
81 throw new ComparisonFailure(message, expected, actual);
    [all...]
  /art/test/082-inline-execute/src/junit/framework/
Assert.java 59 static public void assertEquals(String message, Object expected, Object actual) {
60 if (expected == null && actual == null)
62 if (expected != null && expected.equals(actual))
64 failNotEquals(message, expected, actual);
70 static public void assertEquals(Object expected, Object actual) {
71 assertEquals(null, expected, actual);
76 static public void assertEquals(String message, String expected, String actual) {
77 if (expected == null && actual == null)
79 if (expected != null && expected.equals(actual))
81 throw new ComparisonFailure(message, expected, actual);
    [all...]
  /dalvik/tests/021-string2/src/junit/framework/
Assert.java 59 static public void assertEquals(String message, Object expected, Object actual) {
60 if (expected == null && actual == null)
62 if (expected != null && expected.equals(actual))
64 failNotEquals(message, expected, actual);
70 static public void assertEquals(Object expected, Object actual) {
71 assertEquals(null, expected, actual);
76 static public void assertEquals(String message, String expected, String actual) {
77 if (expected == null && actual == null)
79 if (expected != null && expected.equals(actual))
81 throw new ComparisonFailure(message, expected, actual);
    [all...]
  /dalvik/tests/082-inline-execute/src/junit/framework/
Assert.java 59 static public void assertEquals(String message, Object expected, Object actual) {
60 if (expected == null && actual == null)
62 if (expected != null && expected.equals(actual))
64 failNotEquals(message, expected, actual);
70 static public void assertEquals(Object expected, Object actual) {
71 assertEquals(null, expected, actual);
76 static public void assertEquals(String message, String expected, String actual) {
77 if (expected == null && actual == null)
79 if (expected != null && expected.equals(actual))
81 throw new ComparisonFailure(message, expected, actual);
    [all...]
  /external/mockito/src/org/mockito/internal/matchers/
ArrayEquals.java 21 public boolean matches(Object actual) {
23 if (wanted == null || actual == null) {
24 return super.matches(actual);
25 } else if (wanted instanceof boolean[] && actual instanceof boolean[]) {
26 return Arrays.equals((boolean[]) wanted, (boolean[]) actual);
27 } else if (wanted instanceof byte[] && actual instanceof byte[]) {
28 return Arrays.equals((byte[]) wanted, (byte[]) actual);
29 } else if (wanted instanceof char[] && actual instanceof char[]) {
30 return Arrays.equals((char[]) wanted, (char[]) actual);
31 } else if (wanted instanceof double[] && actual instanceof double[])
    [all...]
  /external/chromium_org/ppapi/shared_impl/
unittest_utils.h 15 bool TestEqual(const PP_Var& expected, const PP_Var& actual);
  /external/compiler-rt/test/Unit/
extebdsfdf2vfp_test.c 24 double actual = __extendsfdf2vfp(a); local
26 if (actual != expected)
28 a, actual, expected);
29 return actual != expected;
fixdfsivfp_test.c 24 int actual = __fixdfsivfp(a); local
26 if (actual != expected)
28 a, actual, expected);
29 return actual != expected;
fixunsdfsivfp_test.c 24 unsigned int actual = __fixunsdfsivfp(a); local
26 if (actual != expected)
28 a, actual, expected);
29 return actual != expected;
fixunssfsivfp_test.c 24 unsigned int actual = __fixunssfsivfp(a); local
26 if (actual != expected)
28 a, actual, expected);
29 return actual != expected;
negdf2vfp_test.c 24 double actual = __negdf2vfp(a); local
26 if (actual != expected)
28 a, actual, expected);
29 return actual != expected;
negsf2vfp_test.c 24 float actual = __negsf2vfp(a); local
26 if (actual != expected)
28 a, actual, expected);
29 return actual != expected;
truncdfsf2vfp_test.c 24 float actual = __truncdfsf2vfp(a); local
26 if (actual != expected)
28 a, actual, expected);
29 return actual != expected;
  /external/junit/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))
85 throw new ComparisonFailure(cleanMessage, expected, actual);
    [all...]

Completed in 461 milliseconds

1 2 3 4 5 6 7 8 91011>>