HomeSort by relevance Sort by last modified time
    Searched refs:expected (Results 126 - 150 of 2153) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/compiler-rt/test/Unit/
paritysi2_test.c 33 si_int expected = naive_parity(a); local
34 if (x != expected)
35 printf("error in __paritysi2(0x%X) = %d, expected %d\n",
36 a, x, expected);
37 return x != expected;
subvdi3_test.c 27 di_int expected = a - b; local
28 if (x != expected)
29 printf("error in test__subvsi3(0x%llX, 0x%llX) = %lld, expected %lld\n",
30 a, b, x, expected);
31 return x != expected;
subvsi3_test.c 27 si_int expected = a - b; local
28 if (x != expected)
29 printf("error in test__subvsi3(0x%X, 0x%X) = %d, expected %d\n",
30 a, b, x, expected);
31 return x != expected;
unorddf2vfp_test.c 26 int expected = (isnan(a) || isnan(b)) ? 1 : 0; local
27 if (actual != expected)
28 printf("error in __unorddf2vfp(%f, %f) = %d, expected %d\n",
29 a, b, actual, expected);
30 return actual != expected;
unordsf2vfp_test.c 26 int expected = (isnan(a) || isnan(b)) ? 1 : 0; local
27 if (actual != expected)
28 printf("error in __unordsf2vfp(%f, %f) = %d, expected %d\n",
29 a, b, actual, expected);
30 return actual != expected;
absvti2_test.c 29 ti_int expected = a; local
30 if (expected < 0)
31 expected = -expected;
32 if (x != expected || expected < 0)
39 expectedt.all = expected;
41 "0x%llX%.16llX, expected positive 0x%llX%.16llX\n",
45 return x != expected;
  /external/easymock/src/org/easymock/
ArgumentsMatcher.java 37 * @param expected
38 * the expected arguments.
43 boolean matches(Object[] expected, Object[] actual);
AbstractMatcher.java 38 * Checks whether an expected argument matches an actual argument; the method
43 * @param expected
44 * the expected argument.
49 protected boolean argumentMatches(Object expected, Object actual) {
50 return expected.equals(actual);
68 * Checks whether an expected argument array matches an actual argument array.
76 * @param expected
77 * the expected arguments.
82 public boolean matches(Object[] expected, Object[] actual) {
83 if (expected == actual) {
    [all...]
  /external/easymock/src/org/easymock/internal/matchers/
CompareTo.java 26 private final Comparable<T> expected; field in class:CompareTo
29 this.expected = value;
39 return matchResult(((Comparable) actual).compareTo(expected));
43 buffer.append(getName() + "(" + expected + ")");
  /libcore/luni/src/test/java/libcore/java/nio/
NoArrayTest.java 36 } catch (ReadOnlyBufferException expected) {
37 } catch (UnsupportedOperationException expected) {
42 } catch (ReadOnlyBufferException expected) {
43 } catch (UnsupportedOperationException expected) {
  /cts/tests/tests/widget/src/android/widget/cts/
ChronometerTest.java 53 int expected = 100000; local
54 chronometer.setBase(expected);
55 assertEquals(expected, chronometer.getBase());
58 expected = 100;
60 chronometer.setBase(expected);
61 assertEquals(expected, chronometer.getBase());
64 expected = -1;
66 chronometer.setBase(expected);
67 assertEquals(expected, chronometer.getBase());
70 expected = Integer.MAX_VALUE
80 String expected = "header-%S-trail"; local
112 CharSequence expected = chronometer.getText(); local
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
MessageTest.java 65 Message expected = Message.obtain(mHandler, mRunnable); local
66 assertEquals(mRunnable, expected.getCallback());
94 Message expected = Message.obtain(message); local
96 assertEquals(message.getTarget(), expected.getTarget());
97 assertEquals(message.what, expected.what);
98 assertEquals(message.arg1, expected.arg1);
99 assertEquals(message.arg2, expected.arg2);
100 assertEquals(message.obj, expected.obj);
104 Message expected = Message.obtain(mHandler); local
105 assertEquals(mHandler, expected.getTarget())
109 Message expected = Message.obtain(mHandler, mRunnable); local
115 Message expected = Message.obtain(mHandler, WHAT); local
121 Message expected = Message.obtain(mHandler, WHAT, OBJ); local
128 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2); local
136 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2, OBJ); local
149 Bundle expected = new Bundle(); local
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
InstrumentationInfoTest.java 55 private void checkInfoSame(InstrumentationInfo expected, InstrumentationInfo actual) {
56 assertEquals(expected.name, actual.name);
57 assertEquals(expected.dataDir, actual.dataDir);
58 assertEquals(expected.handleProfiling, actual.handleProfiling);
59 assertEquals(expected.functionalTest, actual.functionalTest);
60 assertEquals(expected.targetPackage, actual.targetPackage);
61 assertEquals(expected.sourceDir, actual.sourceDir);
62 assertEquals(expected.publicSourceDir, actual.publicSourceDir);
  /cts/tests/tests/graphics/src/android/graphics/cts/
Region_OpTest.java 38 // set the expected value
39 Op[] expected = { local
47 assertEquals(expected.length, actual.length);
48 assertEquals(expected[0], actual[0]);
49 assertEquals(expected[1], actual[1]);
50 assertEquals(expected[2], actual[2]);
51 assertEquals(expected[3], actual[3]);
52 assertEquals(expected[4], actual[4]);
53 assertEquals(expected[5], actual[5]);
  /external/easymock/src/org/easymock/internal/
ArrayMatcher.java 27 public boolean argumentMatches(Object expected, Object actual) {
28 return new ArrayEquals(expected).matches(actual);
IMocksBehavior.java 21 void addExpected(ExpectedInvocation expected, Result result, Range count);
23 void addStub(ExpectedInvocation expected, Result result);
  /external/elfutils/tests/
hash.c 35 check (const char *name, unsigned long int expected)
39 return actual != expected;
48 /* Check some names. We know what the expected result is. */
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListGetTester.java 38 } catch (IndexOutOfBoundsException expected) {
46 } catch (IndexOutOfBoundsException expected) {
  /external/icu4c/test/intltest/
plurults.h 33 void assertRuleValue(const UnicodeString& rule, double expected);
35 double expected);
  /external/junit/src/org/junit/internal/
ComparisonCriteria.java 23 * expected values.
38 Object expected= Array.get(expecteds, i); local
41 if (isArray(expected) && isArray(actual)) {
43 arrayEquals(message, expected, actual);
50 assertElementsEqual(expected, actual);
57 private boolean isArray(Object expected) {
58 return expected != null && expected.getClass().isArray();
64 Assert.fail(header + "expected array was null");
70 Assert.fail(header + "array lengths differed, expected.length=
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
ViewHasTextMatcher.java 12 private String expected; field in class:ViewHasTextMatcher
16 public ViewHasTextMatcher(String expected) {
17 this.expected = expected;
22 this.expected = null;
33 expected = actual.getContext().getResources().getString(expectedResourceId);
42 return actualText.equals(expected);
49 description.appendText("[" + expected + "]");
  /frameworks/base/test-runner/src/android/test/
ComparisonFailure.java 27 public ComparisonFailure(String message, String expected, String actual) {
28 mComparison = new junit.framework.ComparisonFailure(message, expected, actual);
  /libcore/dom/src/test/java/org/w3c/domts/level1/core/
hc_nodechildnodes.java 73 java.util.List expected = new java.util.ArrayList(); local
74 expected.add("em");
75 expected.add("strong");
76 expected.add("code");
77 expected.add("sup");
78 expected.add("var");
79 expected.add("acronym");
97 assertEqualsAutoCase("element", "elementNames", expected, actual);
hc_nodelisttraverselist.java 72 java.util.List expected = new java.util.ArrayList(); local
73 expected.add("em");
74 expected.add("strong");
75 expected.add("code");
76 expected.add("sup");
77 expected.add("var");
78 expected.add("acronym");
97 assertEqualsAutoCase("element", "nodeNames", expected, result);
  /ndk/sources/cxx-stl/llvm-libc++/test/strings/basic.string/string.modifiers/string_erase/
pop_back.pass.cpp 19 test(S s, S expected)
23 assert(s == expected);

Completed in 1188 milliseconds

1 2 3 4 56 7 8 91011>>