Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 13 of 13) sorted by relevance

/development/samples/ApiDemos/tests/src/com/example/android/apis/os/
DMorseCodeConverterTest.java46 private void assertArraysEqual(long[] expected, long[] actual) { in assertArraysEqual() argument
47 assertEquals("Unexpected array length.", expected.length, actual.length); in assertArraysEqual()
48 for (int i = 0; i < expected.length; i++) { in assertArraysEqual()
49 long expectedLong = expected[i]; in assertArraysEqual()
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
DTestHelper.java29 public void assertSourceEquals(String expected, String actual) { in assertSourceEquals() argument
30 String en = expected.replaceAll("[\\s]+", " ").trim(); in assertSourceEquals()
34 … String.format("Source comparison failure: expected:<%s> but was:<%s>", expected, actual), in assertSourceEquals()
/development/ndk/platforms/android-L/include/
Dstdatomic.h243 #define atomic_compare_exchange_strong_explicit(object, expected, \ argument
245 __c11_atomic_compare_exchange_strong(object, expected, desired, \
247 #define atomic_compare_exchange_weak_explicit(object, expected, \ argument
249 __c11_atomic_compare_exchange_weak(object, expected, desired, \
268 #define atomic_compare_exchange_strong_explicit(object, expected, \ argument
270 __atomic_compare_exchange_n(&(object)->__val, expected, \
272 #define atomic_compare_exchange_weak_explicit(object, expected, \ argument
274 __atomic_compare_exchange_n(&(object)->__val, expected, \
295 #define atomic_compare_exchange_strong_explicit(object, expected, \ argument
297 __typeof__(expected) __ep = (expected); \
[all …]
/development/samples/Vault/tests/src/com/example/android/vault/
DVaultProviderTest.java85 try { mProvider.queryDocument(dir, null); } catch (Exception expected) { } in testDeleteDirectory()
86 try { mProvider.queryDocument(dirfile, null); } catch (Exception expected) { } in testDeleteDirectory()
87 try { mProvider.queryDocument(dirdir, null); } catch (Exception expected) { } in testDeleteDirectory()
88 try { mProvider.queryDocument(dirdirfile, null); } catch (Exception expected) { } in testDeleteDirectory()
DEncryptedDocumentTest.java81 } catch (IOException expected) { in testEmptyFile()
88 } catch (IOException expected) { in testEmptyFile()
174 } catch (IOException expected) { in testNormalMetadataOnly()
191 } catch (DigestException expected) { in testCopiedFile()
211 } catch (DigestException expected) { in testBitTwiddle()
/development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson2/
DMyFirstTestActivityTest.java66 final String expected = mFirstTestActivity.getString(R.string.my_first_test); in testMyFirstTestTextView_labelText() local
68 assertEquals("mFirstTestText contains wrong text", expected, actual); in testMyFirstTestTextView_labelText()
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivityTest.java75 int expected = View.VISIBLE; in testLoginOffered() local
76 assertEquals(expected, loginbutton.getVisibility()); in testLoginOffered()
/development/ndk/platforms/android-L/include/linux/
Datm_zatm.h44 struct timeval expected; member
Dbtrfs.h196 __u64 expected; member
/development/testrunner/
Dadb_interface.py379 def _WaitForShellCommandContents(self, command, expected, wait_time, argument
408 if ((not invert and expected in output)
409 or (invert and expected not in output)):
/development/samples/UiAutomator/
DREADME6 from the expected package
/development/tutorials/ReverseDebug/
DREADME.txt92 Now the program crashes as expected as "p" has been clobbered. The
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt357 expectancy - n. something expected (as on the basis of a norm)
527 irony - n. incongruity between what might be expected and what actually occurs