Searched defs:assertEquals (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Camera2/tests/src/com/android/camera/unittest/
H A DCameraUnitTest.java37 assertEquals(expected, points);
43 assertEquals(expected, points);
49 assertEquals(expected, points);
55 assertEquals(expected, points);
58 private void assertEquals(int expected[], float[] actual) { method in class:CameraUnitTest
60 assertEquals("Array index " + i + " mismatch", expected[i], Math.round(actual[i]));
/packages/apps/Camera2/tests_camera/src/com/android/camera/unittest/
H A DCameraUnitTest.java37 assertEquals(expected, points);
43 assertEquals(expected, points);
49 assertEquals(expected, points);
55 assertEquals(expected, points);
58 private void assertEquals(int expected[], float[] actual) { method in class:CameraUnitTest
60 assertEquals("Array index " + i + " mismatch", expected[i], Math.round(actual[i]));
/packages/apps/LegacyCamera/tests/src/com/android/camera/unittest/
H A DCameraTest.java34 assertEquals(0, Util.roundOrientation(0, 0));
35 assertEquals(0, Util.roundOrientation(359, 0));
36 assertEquals(0, Util.roundOrientation(0 + 44 + h, 0));
37 assertEquals(90, Util.roundOrientation(0 + 45 + h, 0));
38 assertEquals(0, Util.roundOrientation(360 - 44 - h, 0));
39 assertEquals(270, Util.roundOrientation(360 - 45 - h, 0));
41 assertEquals(90, Util.roundOrientation(90, 90));
42 assertEquals(90, Util.roundOrientation(90 + 44 + h, 90));
43 assertEquals(180, Util.roundOrientation(90 + 45 + h, 90));
44 assertEquals(9
106 private void assertEquals(int expected[], float[] actual) { method in class:CameraTest
[all...]
/packages/apps/TV/src/com/android/tv/parental/
H A DContentRatingsParser.java114 assertEquals(eventType, XmlPullParser.START_TAG, "Malformed XML: Not a valid XML file");
115 assertEquals(parser.getName(), TAG_RATING_SYSTEM_DEFINITIONS,
145 assertEquals(eventType, XmlPullParser.END_DOCUMENT,
159 private static void assertEquals(int a, int b, String msg) throws XmlPullParserException { method in class:ContentRatingsParser
165 private static void assertEquals(String a, String b, String msg) throws XmlPullParserException { method in class:ContentRatingsParser
350 assertEquals(parser.getAttributeCount(), 0,
364 assertEquals(parser.getName(), TAG_RATING_ORDER,
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTests.java332 assertEquals("eas", Account.getProtocol(mMockContext, account1.mId));
333 assertEquals("eas", account1.getProtocol(mMockContext));
445 assertEquals("body text", text2, body2.mTextContent);
446 assertEquals("body html", html2, body2.mHtmlContent);
447 assertEquals("source key", sourceKey2, body2.mSourceKey);
487 assertEquals(3, numAtts);
539 assertEquals(3, numAtts);
554 assertEquals(3, size);
579 assertEquals(
594 assertEquals(
2198 private void assertEquals(Mailbox expected, Mailbox actual) { method in class:ProviderTests
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/event/
H A DEditEventHelperTest.java420 assertEquals(expectedOps, ops);
466 assertEquals(expectedOps, ops);
521 assertEquals(expectedOps, ops);
602 assertEquals(expectedOps, ops);
662 assertEquals(expectedOps, ops);
718 assertEquals(expectedOps, ops);
776 assertEquals(expectedOps, ops);
831 assertEquals(expectedOps, ops);
889 assertEquals(expectedOps, ops);
906 assertEquals(expecte
1460 private static void assertEquals(ArrayList<ContentProviderOperation> expected, method in class:EditEventHelperTest
[all...]

Completed in 279 milliseconds