HomeSort by relevance Sort by last modified time
    Searched full:actual (Results 26 - 50 of 10182) sorted by null

12 3 4 5 6 7 8 91011>>

  /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...]
  /frameworks/base/test-runner/src/android/test/
MoreAsserts.java 41 * {@code actual}. This verifies {@code expected} is a parent class or a
42 * interface that {@code actual} implements.
44 public static void assertAssignableFrom(Class<?> expected, Object actual) {
45 assertAssignableFrom(expected, actual.getClass());
50 * {@code actual}. This verifies {@code expected} is a parent class or a
51 * interface that {@code actual} implements.
53 public static void assertAssignableFrom(Class<?> expected, Class<?> actual) {
56 " to be assignable from actual class " + actual.getCanonicalName(),
57 expected.isAssignableFrom(actual));
    [all...]
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/helpers/
spec-helper.js 6 Returns true if `actual` has the same length as `expected`, and
12 if (typeof(this.actual) == 'number')
13 return Math.abs(this.actual - expected) < EPSILON;
15 if (this.actual.length != expected.length) return false;
16 for (var i = 0; i < this.actual.length; i++) {
17 if (isNaN(this.actual[i]) !== isNaN(expected[i]))
19 if (Math.abs(this.actual[i] - expected[i]) >= EPSILON)
  /external/mockito/src/org/mockito/internal/reporting/
SmartPrinter.java 12 * Makes sure both wanted and actual are printed consistently (single line or multiline)
19 private final String actual; field in class:SmartPrinter
21 public SmartPrinter(InvocationMatcher wanted, Invocation actual, Integer ... indexesOfMatchersToBeDescribedWithExtraTypeInfo) {
23 printSettings.setMultiline(wanted.toString().contains("\n") || actual.toString().contains("\n"));
27 this.actual = printSettings.print(actual);
35 return actual;
  /art/test/021-string2/src/junit/framework/
ComparisonFailure.java 16 * @param actual the actual string value
18 public ComparisonFailure (String message, String expected, String actual) {
21 fActual= actual;
26 * place of common suffix between expected and actual.
47 String actual, expected; local
52 actual= fActual;
55 actual= fActual.substring(i, k+1);
58 actual= "..."+actual;
    [all...]
  /art/test/082-inline-execute/src/junit/framework/
ComparisonFailure.java 16 * @param actual the actual string value
18 public ComparisonFailure (String message, String expected, String actual) {
21 fActual= actual;
26 * place of common suffix between expected and actual.
47 String actual, expected; local
52 actual= fActual;
55 actual= fActual.substring(i, k+1);
58 actual= "..."+actual;
    [all...]
  /dalvik/tests/021-string2/src/junit/framework/
ComparisonFailure.java 16 * @param actual the actual string value
18 public ComparisonFailure (String message, String expected, String actual) {
21 fActual= actual;
26 * place of common suffix between expected and actual.
47 String actual, expected; local
52 actual= fActual;
55 actual= fActual.substring(i, k+1);
58 actual= "..."+actual;
    [all...]
  /dalvik/tests/082-inline-execute/src/junit/framework/
ComparisonFailure.java 16 * @param actual the actual string value
18 public ComparisonFailure (String message, String expected, String actual) {
21 fActual= actual;
26 * place of common suffix between expected and actual.
47 String actual, expected; local
52 actual= fActual;
55 actual= fActual.substring(i, k+1);
58 actual= "..."+actual;
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTestUtils.java 282 EmailContent actual) {
283 if (expect == actual) {
287 assertEquals(caller + " mId", expect.mId, actual.mId);
288 assertEquals(caller + " mBaseUri", expect.mBaseUri, actual.mBaseUri);
296 public static void assertAccountEqual(String caller, Account expect, Account actual) {
297 if (expect == actual) {
301 assertEmailContentEqual(caller, expect, actual);
302 assertEquals(caller + " mDisplayName", expect.mDisplayName, actual.mDisplayName);
303 assertEquals(caller + " mEmailAddress", expect.mEmailAddress, actual.mEmailAddress);
304 assertEquals(caller + " mSyncKey", expect.mSyncKey, actual.mSyncKey)
    [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.cc 18 const gfx::Transform& actual) {
20 (actual).matrix().getDouble(0, 0));
22 (actual).matrix().getDouble(1, 0));
24 (actual).matrix().getDouble(2, 0));
26 (actual).matrix().getDouble(3, 0));
28 (actual).matrix().getDouble(0, 1));
30 (actual).matrix().getDouble(1, 1));
32 (actual).matrix().getDouble(2, 1));
34 (actual).matrix().getDouble(3, 1));
36 (actual).matrix().getDouble(0, 2))
    [all...]
  /external/valgrind/main/exp-sgcheck/tests/
globalerr.stderr.exp-glibc28-amd64 4 Address 0x........ expected vs actual:
6 Actual: unknown
7 Actual: is 0 after Expected
11 Address 0x........ expected vs actual:
13 Actual: unknown
14 Actual: is 0 after Expected
  /cts/tests/tests/graphics/src/android/graphics/cts/
Paint_AlignTest.java 32 // set the actual value
33 Align[] actual = Align.values(); local
35 assertEquals(3, actual.length);
36 assertEquals(Align.LEFT, actual[0]);
37 assertEquals(Align.CENTER, actual[1]);
38 assertEquals(Align.RIGHT, actual[2]);
43 p.setTextAlign(actual[0]);
45 p.setTextAlign(actual[1]);
47 p.setTextAlign(actual[2]);
Paint_CapTest.java 33 // set the actual value
34 Cap[] actual = Cap.values(); local
36 assertEquals(3, actual.length);
37 assertEquals(Cap.BUTT, actual[0]);
38 assertEquals(Cap.ROUND, actual[1]);
39 assertEquals(Cap.SQUARE, actual[2]);
44 p.setStrokeCap(actual[0]);
46 p.setStrokeCap(actual[1]);
48 p.setStrokeCap(actual[2]);
Paint_JoinTest.java 32 // set the actual value
33 Join[] actual = Join.values(); local
35 assertEquals(3, actual.length);
36 assertEquals(Join.MITER, actual[0]);
37 assertEquals(Join.ROUND, actual[1]);
38 assertEquals(Join.BEVEL, actual[2]);
43 p.setStrokeJoin(actual[0]);
45 p.setStrokeJoin(actual[1]);
47 p.setStrokeJoin(actual[2]);
Paint_StyleTest.java 32 // set the actual value
33 Style[] actual = Style.values(); local
35 assertEquals(3, actual.length);
36 assertEquals(Style.FILL, actual[0]);
37 assertEquals(Style.STROKE, actual[1]);
38 assertEquals(Style.FILL_AND_STROKE, actual[2]);
43 p.setStyle(actual[0]);
45 p.setStyle(actual[1]);
47 p.setStyle(actual[2]);
  /external/chromium/testing/
gtest_mac.mm 23 id<NSObject> actual) {
24 if (expected == actual || [expected isEqual:actual]) {
30 String([[actual description] UTF8String]),
39 id<NSObject> actual) {
40 if (expected != actual && ![expected isEqual:actual]) {
45 << "), actual: " << String([[expected description] UTF8String])
46 << " vs " << String([[actual description] UTF8String]);
  /external/chromium_org/testing/
gtest_mac.mm 31 id<NSObject> actual) {
32 if (expected == actual || [expected isEqual:actual]) {
38 std::string(StringDescription(actual)),
47 id<NSObject> actual) {
48 if (expected != actual && ![expected isEqual:actual]) {
53 << "), actual: " << StringDescription(expected)
54 << " vs " << StringDescription(actual);
  /external/skia/tools/tests/skimage/output-expected/empty-dir/
expectations.json 2 "actual-results" : {
  /external/skia/tools/tests/skimage/output-expected/nonexistent-dir/
expectations.json 2 "actual-results" : {
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/
util.py 25 def sorted_list_difference(expected, actual):
29 elements in the "expected" list but not in the "actual" list, and the
30 second contains those elements in the "actual" list but not in the
39 a = actual[j]
48 while actual[j] == a:
57 while actual[j] == a:
61 unexpected.extend(actual[j:])
65 def unorderable_list_difference(expected, actual, ignore_duplicate=False):
77 actual.remove(item)
81 for lst in expected, actual
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/
JUnitTestCaseAdapter.java 184 public void assertTrue(DOMTestCase test, String assertID, boolean actual) {
185 assertTrue(assertID,actual);
188 public void assertFalse(DOMTestCase test, String assertID, boolean actual) {
189 if(actual) {
190 assertEquals(assertID,String.valueOf(false), String.valueOf(actual));
194 public void assertNull(DOMTestCase test, String assertID, Object actual) {
195 assertNull(assertID,actual);
198 public void assertNotNull(DOMTestCase test, String assertID, Object actual) {
199 assertNotNull(assertID,actual);
202 public void assertSame(DOMTestCase test, String assertID, Object expected, Object actual) {
    [all...]
  /external/chromium_org/ppapi/shared_impl/
unittest_utils.cc 23 // nodes in |actual| and check whether the graphs have equivalent topology.
25 const PP_Var& actual,
27 if (expected.type != actual.type) {
29 " actual type: " << actual.type;
36 if (it->second != actual.value.as_id) {
37 LOG(ERROR) << "expected id: " << it->second << " actual id: " <<
38 actual.value.as_id;
44 (*visited_map)[expected.value.as_id] = actual.value.as_id;
53 if (expected.value.as_bool != actual.value.as_bool)
    [all...]
  /external/llvm/test/Transforms/GlobalOpt/
storepointer.ll 5 define internal void @Actual() {
10 store void ()* @Actual, void ()** @G
  /art/compiler/
output_stream_test.cc 28 off_t actual = output_stream_->Seek(0, kSeekCurrent); local
29 EXPECT_EQ(expected, actual);
50 void CheckTestOutput(const std::vector<uint8_t>& actual) {
54 EXPECT_EQ(sizeof(expected), actual.size());
55 EXPECT_EQ(0, memcmp(expected, &actual[0], actual.size()));
68 std::vector<uint8_t> actual(in->GetLength());
69 bool readSuccess = in->ReadFully(&actual[0], actual.size());
71 CheckTestOutput(actual);
    [all...]

Completed in 840 milliseconds

12 3 4 5 6 7 8 91011>>