/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);
|
ProviderInfoTest.java | 70 private void checkInfoSame(ProviderInfo expected, ProviderInfo actual) { 71 assertEquals(expected.name, actual.name); 72 assertEquals(expected.authority, actual.authority); 73 assertEquals(expected.readPermission, actual.readPermission); 74 assertEquals(expected.writePermission, actual.writePermission); 75 assertEquals(expected.grantUriPermissions, actual.grantUriPermissions); 76 assertEquals(expected.uriPermissionPatterns, actual.uriPermissionPatterns); 77 assertEquals(expected.multiprocess, actual.multiprocess); 78 assertEquals(expected.initOrder, actual.initOrder); 79 assertEquals(expected.isSyncable, actual.isSyncable) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Region_OpTest.java | 46 Op[] actual = Op.values(); 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/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListToArrayTester.java | 38 Object[] actual = getList().toArray(); local 40 createSamplesArray(), actual); 45 Object[] actual = getList().toArray(new Object[0]); local 47 createSamplesArray(), actual); 51 Object[] actual = getList().toArray(new Object[getNumElements()]); local 53 createSamplesArray(), actual); 57 Object[] actual) { 58 assertEquals(message, Arrays.asList(expected), Arrays.asList(actual));
|
/external/valgrind/main/exp-sgcheck/tests/ |
preen_invars.stderr.exp-glibc28-amd64 | 4 Address 0x........ expected vs actual: 6 Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/database/ |
MoreDatabaseUtilTest.java | 38 String actual = MoreDatabaseUtils.buildCreateIndexSql("testtable", "testfield") local 40 assertEquals(expected, actual); 43 actual = MoreDatabaseUtils.buildCreateIndexSql("test_table", "test_field").toLowerCase(); 44 assertEquals(expected, actual); 49 String actual = MoreDatabaseUtils.buildDropIndexSql("testtable", "testfield").toLowerCase(); local 50 assertEquals(expected, actual);
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/sets/ |
ANTLRBitSetTest.m | 20 CFIndex actual = (CFIndex)[bitSet numBits]; 23 STAssertEquals(actual, expected, @"There should be three bits set in bitvector. But I have %d", actual); 43 CFIndex actual = (CFIndex)[bitSet numBits]; 45 STAssertEquals(actual, expected, @"There should be four bits set in bitvector. But I have %d", actual); 56 CFIndex actual = (CFIndex)[bitSet numBits]; 58 STAssertEquals(actual, expected, @"There should be three bits set in bitvector. But I have %d", actual); 66 CFIndex actual = (CFIndex)[bitSet numBits] [all...] |
/external/junit/src/org/junit/ |
ComparisonFailure.java | 25 * @param actual the actual string value 27 public ComparisonFailure (String message, String expected, String actual) { 30 fActual= actual; 35 * place of common suffix between expected and actual. 45 * Returns the actual string value 46 * @return the actual string value 65 * The maximum length for <code>expected</code> and <code>actual</code>. When <code>contextLength</code> 75 * @param contextLength the maximum length for <code>expected</code> and <code>actual</code>. When contextLength 78 * @param actual the actual string valu 93 String actual= compactString(fActual); local [all...] |
Assert.java | 106 * <code>expected</code> and <code>actual</code> are <code>null</code>, 114 * @param actual 115 * actual value 118 Object actual) { 119 if (expected == null && actual == null) 121 if (expected != null && isEquals(expected, actual)) 123 else if (expected instanceof String && actual instanceof String) { 126 (String) actual); 128 failNotEquals(message, expected, actual); 131 private static boolean isEquals(Object expected, Object actual) { [all...] |
/external/e2fsprogs/lib/ext2fs/ |
imager.c | 66 ssize_t actual; local 108 actual = write(fd, cp, fs->blocksize * d); 109 if (actual == -1) { 113 if (actual != (ssize_t) (fs->blocksize * d)) { 140 ssize_t actual; local 158 actual = read(fd, buf, fs->blocksize * c); 159 if (actual == -1) { 163 if (actual != (ssize_t) (fs->blocksize * c)) { 189 ssize_t actual; local 201 actual = write(fd, buf, fs->blocksize) 239 ssize_t actual, size; local 282 ssize_t actual; local 362 ssize_t actual; local [all...] |
/art/runtime/ |
utils_test.cc | 221 std::vector<std::string> actual; local 226 actual.clear(); 227 Split("", ':', actual); 228 EXPECT_EQ(expected, actual); 230 actual.clear(); 231 Split(":", ':', actual); 232 EXPECT_EQ(expected, actual); 237 actual.clear(); 238 Split(":foo", ':', actual); 239 EXPECT_EQ(expected, actual); [all...] |
/external/chromium_org/components/autofill/core/common/ |
form_field_data.h | 63 #define EXPECT_FORM_FIELD_DATA_EQUALS(expected, actual) \ 65 EXPECT_EQ(expected.label, actual.label); \ 66 EXPECT_EQ(expected.name, actual.name); \ 67 EXPECT_EQ(expected.value, actual.value); \ 68 EXPECT_EQ(expected.form_control_type, actual.form_control_type); \ 69 EXPECT_EQ(expected.autocomplete_attribute, actual.autocomplete_attribute); \ 70 EXPECT_EQ(expected.max_length, actual.max_length); \ 71 EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \ 72 EXPECT_EQ(expected.is_checked, actual.is_checked); \ 73 EXPECT_EQ(expected.is_checkable, actual.is_checkable); [all...] |
/external/chromium_org/components/sessions/ |
serialized_navigation_entry_test_helper.cc | 19 const SerializedNavigationEntry& actual) { 20 EXPECT_EQ(expected.referrer_.url, actual.referrer_.url); 21 EXPECT_EQ(expected.referrer_.policy, actual.referrer_.policy); 22 EXPECT_EQ(expected.virtual_url_, actual.virtual_url_); 23 EXPECT_EQ(expected.title_, actual.title_); 24 EXPECT_EQ(expected.page_state_, actual.page_state_); 25 EXPECT_EQ(expected.transition_type_, actual.transition_type_); 26 EXPECT_EQ(expected.has_post_data_, actual.has_post_data_); 27 EXPECT_EQ(expected.original_request_url_, actual.original_request_url_); 29 actual.is_overriding_user_agent_) [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardBuilderTest.java | 44 final String actual = builder.toString(); local 52 assertTrue("Actual value:\n" + actual + " expected to contain\n" + expectedName + 53 "\nbut does not.", actual.contains(expectedName)); 54 assertTrue("Actual value:\n" + actual + " expected to contain\n" + expectedFullName + 55 "\nbut does not.", actual.contains(expectedFullName));
|
/external/easymock/src/org/easymock/ |
AbstractMatcher.java | 38 * Checks whether an expected argument matches an actual argument; the method
45 * @param actual
46 * the actual 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.
78 * @param actual
79 * the actual arguments.
82 public boolean matches(Object[] expected, Object[] actual) {
83 if (expected == actual) {
[all...] |
/external/chromium_org/components/dom_distiller/core/ |
dom_distiller_test_util.cc | 40 actual; local 41 for (expected = expected_updates_.begin(), actual = actual_updates.begin(); 43 ++expected, ++actual) { 44 if (expected->entry_id != actual->entry_id) { 46 << " actual: " << actual->entry_id; 49 if (expected->update_type != actual->update_type) { 52 << " actual: " << actual->update_type;
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/ |
address_field_util_test.cc | 37 std::vector<AddressField> actual; local 38 ParseAddressFieldsFormat("%O%n%N%n%A%nAX-%Z %C%nÅLAND", &actual); 51 EXPECT_EQ(expected, actual); 55 std::vector<AddressField> actual; local 56 ParseAddressFieldsFormat("%%R", &actual); 58 EXPECT_EQ(expected, actual); 62 std::vector<AddressField> actual; local 63 ParseAddressFieldsFormat("%", &actual); 64 EXPECT_TRUE(actual.empty());
|
/external/embunit/inc/ |
AssertImpl.h | 44 void assertImplementationInt(int expected,int actual, long line, const char *file); 45 void assertImplementationCStr(const char *expected,const char *actual, long line, const char *file); 47 #define TEST_ASSERT_EQUAL_STRING(expected,actual)\ 48 if (expected && actual && (stdimpl_strcmp(expected,actual)==0)) {} else {assertImplementationCStr(expected,actual,__LINE__,__FILE__);return;} 50 #define TEST_ASSERT_EQUAL_INT(expected,actual)\ 51 if (expected == actual) {} else {assertImplementationInt(expected,actual,__LINE__,__FILE__);return;}
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
util.py | 21 def sorted_list_difference(expected, actual): 25 elements in the "expected" list but not in the "actual" list, and the 26 second contains those elements in the "actual" list but not in the 35 a = actual[j] 44 while actual[j] == a: 53 while actual[j] == a: 57 unexpected.extend(actual[j:]) 62 def unorderable_list_difference(expected, actual, ignore_duplicate=False): 74 actual.remove(item) 78 for lst in expected, actual [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
util.py | 21 def sorted_list_difference(expected, actual): 25 elements in the "expected" list but not in the "actual" list, and the 26 second contains those elements in the "actual" list but not in the 35 a = actual[j] 44 while actual[j] == a: 53 while actual[j] == a: 57 unexpected.extend(actual[j:]) 62 def unorderable_list_difference(expected, actual, ignore_duplicate=False): 74 actual.remove(item) 78 for lst in expected, actual [all...] |
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ |
results_unittests.js | 39 "actual": "IMAGE", 43 "actual": "SKIP", 47 "actual": "PASS TEXT", 52 "actual": "TIMEOUT TEXT", 57 "actual": "PASS", 64 "actual": "TEXT", 68 "actual": "TEXT", 89 analyzer = new results.ResultAnalyzer({expected: 'PASS', actual: 'TEXT', is_unexpected: true}); 95 analyzer = new results.ResultAnalyzer({expected: 'PASS TIMEOUT', actual: 'TEXT', is_unexpected: true}); 101 analyzer = new results.ResultAnalyzer({expected: 'TEXT', actual: 'TEXT TIMEOUT', is_unexpected: true}) [all...] |
/external/llvm/test/Transforms/GlobalOpt/ |
storepointer-compare.ll | 2 ; RUN: grep "call void @Actual" 9 define internal void @Actual() { 14 store void ()* @Actual, void ()** @G
|
/external/mockito/src/org/mockito/internal/matchers/ |
Find.java | 23 public boolean matches(Object actual) { 24 return actual != null && Pattern.compile(regex).matcher((String) actual).find();
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/ |
TextViewHasTextMatcher.java | 18 public boolean matchesSafely(T actual) { 19 if (actual == null) { 22 final CharSequence charSequence = actual.getText();
|
/external/valgrind/main/memcheck/tests/ |
wrap7.c | 10 extern void actual ( void ); 14 void I_WRAP_SONAME_FNNAME_ZU(wrap7soZdso,actual) ( void ) 28 actual();
|