/external/llvm/test/Transforms/InstCombine/ |
README.txt | 2 dated tests are actual bug tests, whereas the named tests are used to test
|
/external/mockito/src/org/mockito/internal/matchers/ |
EqualsWithDelta.java | 26 public boolean matches(Object actual) { 27 Number actualNumber = (Number) actual; 28 if (wanted == null ^ actual == null) { 32 if (wanted == null && actual == null) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/ |
HasResourceMatcher.java | 20 public boolean matchesSafely(ImageView actual) { 21 if (actual == null) { 25 actualResourceId = shadowOf(actual).getResourceId(); 33 description.appendText("actual view was null");
|
/external/skia/tools/tests/skdiff/identical-bits/output-expected/ |
command_line | 1 out/Debug/skdiff --nodiffs --match identical-bits tools/tests/skdiff/baseDir tools/tests/skdiff/comparisonDir tools/tests/skdiff/identical-bits/output-actual
|
/external/skia/tools/tests/skdiff/identical-bits-or-pixels/output-expected/ |
command_line | 1 out/Debug/skdiff --nodiffs --match identical-bits --match identical-pixels tools/tests/skdiff/baseDir tools/tests/skdiff/comparisonDir tools/tests/skdiff/identical-bits-or-pixels/output-actual
|
/external/valgrind/main/memcheck/tests/ |
wrap1.c | 10 void actual ( void ) function 12 printf("in actual\n"); 18 void I_WRAP_SONAME_FNNAME_ZU(NONE,actual) ( void ) 32 actual();
|
/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/chromium_org/chrome/browser/bookmarks/ |
bookmark_model_test_utils.cc | 17 const BookmarkNode* actual, 20 ASSERT_TRUE(actual); 22 EXPECT_EQ(expected->id(), actual->id()); 23 EXPECT_EQ(expected->GetTitle(), actual->GetTitle()); 24 EXPECT_EQ(expected->type(), actual->type()); 25 EXPECT_TRUE(expected->date_added() == actual->date_added()); 27 EXPECT_EQ(expected->url(), actual->url()); 30 actual->date_folder_modified()); 31 ASSERT_EQ(expected->child_count(), actual->child_count()); 33 AssertNodesEqual(expected->GetChild(i), actual->GetChild(i), check_ids) [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/chromium_org/gpu/command_buffer/tests/ |
gl_depth_texture_unittest.cc | 209 const uint8* actual = &actual_pixels[(yy * kResolution + xx) * 4]; local 210 const uint8* left = actual - 4; 211 const uint8* down = actual - kResolution * 4; 213 EXPECT_EQ(actual[0], actual[1]) << "pixel at " << xx << ", " << yy; 214 EXPECT_EQ(actual[1], actual[2]) << "pixel at " << xx << ", " << yy; 215 bad_count += (actual[0] == actual[1] ? 0 : 1); 220 EXPECT_GT(actual[0], left[0] [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/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/sync/notifier/ |
object_id_invalidation_map_test_util.cc | 27 virtual bool MatchAndExplain(const ObjectIdInvalidationMap& actual, 43 const ObjectIdInvalidationMap& actual, 53 actual.begin(), actual.end(), 56 std::set_difference(actual.begin(), actual.end(), 59 actual.value_comp()); 64 actual.find(it->first); 65 if (find_it != actual.end() &&
|
/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...] |