Searched refs:expected (Results 126 - 150 of 160) sorted by relevance

1234567

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
H A DTestsTamilLK.java26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
H A DTestsDvorakEmail.java28 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
H A DTestsDvorakUrl.java28 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
/packages/apps/Email/tests/src/com/android/email/
H A DLegacyConversionsTests.java283 * Compare attachment that was converted from Part (expected) to Provider Attachment (actual)
288 private void checkAttachment(String tag, Part expected, EmailContent.Attachment actual, argument
290 String contentType = MimeUtility.unfoldAndDecode(expected.getContentType());
292 assertEquals(tag, expected.getMimeType(), actual.mMimeType);
293 String disposition = expected.getDisposition();
298 assertEquals(tag, expected.getContentId(), actual.mContentId);
311 String[] storeData = expected.getHeader(MimeHeader.HEADER_ANDROID_ATTACHMENT_STORE_DATA);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
H A DArabic.java21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
22 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
H A DHindi.java22 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
23 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
H A DSymbols.java20 import com.android.inputmethod.keyboard.layout.expected.AbstractLayoutBase;
21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
22 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
H A DLayoutBase.java21 import com.android.inputmethod.keyboard.layout.expected.AbstractLayoutBase;
22 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
23 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
395 * Get the complete expected keyboard layout.
H A DFarsi.java21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
22 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
H A DPcQwerty.java20 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
21 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
H A DKeyChainTestActivity.java113 } catch (NullPointerException expected) {
114 log("KeyChain failed as expected with null argument.");
124 } catch (NullPointerException expected) {
125 log("KeyChain failed as expected with null argument.");
135 } catch (NullPointerException expected) {
136 log("KeyChain failed as expected with null argument.");
146 } catch (IllegalStateException expected) {
147 log("KeyChain failed as expected on main thread.");
H A DKeyChainServiceTest.java220 } catch (IllegalStateException expected) {
226 } catch (IllegalStateException expected) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DAbstractKeyboardBuilder.java17 package com.android.inputmethod.keyboard.layout.expected;
H A DExpectedKeyVisual.java17 package com.android.inputmethod.keyboard.layout.expected;
26 * This class represents an expected visual outlook of a key.
28 * There are two types of expected visual, an integer icon id and a string label.
H A DActualKeyboardBuilder.java17 package com.android.inputmethod.keyboard.layout.expected;
H A DExpectedKeyOutput.java17 package com.android.inputmethod.keyboard.layout.expected;
27 * This class represents an expected output of a key.
29 * There are two types of expected output, an integer code point and a string output text.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DNameSplitterTest.java324 private void assertJoinedName(String expected, String prefix, String givenNames, argument
326 assertJoinedName(expected, FullNameStyle.WESTERN, prefix, givenNames, middleName,
330 private void assertJoinedName(String expected, int nameStyle, String prefix, String givenNames, argument
340 assertEquals(expected, actual);
H A DGroupsTest.java231 public void assertRawContactVisible(long rawContactId, boolean expected) { argument
233 assertContactVisible(contactId, expected);
236 public void assertContactVisible(long contactId, boolean expected) { argument
243 assertEquals("Unexpected visibility", expected, actual);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DHermiteInterpolatorTests.java33 private static void assertFloatEquals(final String message, float expected, float actual) { argument
34 if (Math.abs(expected - actual) >= EPSLION) {
35 fail(String.format("%s expected:<%s> but was:<%s>", message, expected, actual));
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarProvider2Test.java168 * check that the state of the database is as expected.
200 int expected; field in class:CalendarProvider2Test.Delete
202 public Delete(String eventName, int expected, String account, String accountType) { argument
204 this.expected = expected;
212 assertEquals(expected, rows);
259 * expected value.
262 int expected; field in class:CalendarProvider2Test.QueryNumEvents
264 public QueryNumEvents(int expected) { argument
265 this.expected
318 int expected; field in class:CalendarProvider2Test.QueryNumInstances
322 QueryNumInstances(String startDate, String endDate, int expected) argument
614 InstanceInfo(String eventName, String startDate, String endDate, int expected) argument
1610 assertArrayEquals(T[] expected, T[] actual) argument
[all...]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DDownloadProviderFunctionalTest.java116 private void runUntilStatus(Uri downloadUri, int expected) throws Exception { argument
124 if (expected == actual) {
131 throw new TimeoutException("Expected status " + expected + "; only reached " + actual);
H A DThreadingTest.java96 final String expected = d.second;
/packages/apps/Calendar/tests/src/com/android/calendar/event/
H A DEditEventHelperTest.java412 // This call has a separate unit test so we'll use it to simplify making the expected vals
459 // This call has a separate unit test so we'll use it to simplify making the expected vals
596 // This call has a separate unit test so we'll use it to simplify making the expected vals
824 // This call has a separate unit test so we'll use it to simplify making the expected vals
881 // This call has a separate unit test so we'll use it to simplify making the expected vals
899 LinkedHashSet<Rfc822Token> expected = new LinkedHashSet<Rfc822Token>();
900 expected.add(new Rfc822Token(null, "ad1@email.com", ""));
901 expected.add(new Rfc822Token("First Last", "first@email.com", "comment"));
902 expected.add(new Rfc822Token(null, "one.two.three@email.grue", ""));
906 assertEquals(expected, actua
1460 assertEquals(ArrayList<ContentProviderOperation> expected, ArrayList<ContentProviderOperation> actual) argument
[all...]
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
H A DMimeMessageTest.java423 byte[] expected = expectedString.getBytes();
425 assertEquals("output length", expected.length, actual.length);
427 assertEquals("output byte["+i+"]", expected[i], actual[i]);
544 Date expected = new Date(Date.UTC(109, 11, 10, 15, 8, 8) + 7 * 60 * 60 * 1000);
545 assertEquals(expected, actual);
/packages/apps/Email/tests/src/com/android/email/mail/
H A DStoreTests.java96 } catch (MessagingException expected) {

Completed in 602 milliseconds

1234567