/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 | 37 "actual": "IMAGE", 41 "actual": "SKIP", 45 "actual": "PASS TEXT", 50 "actual": "TIMEOUT TEXT", 55 "actual": "PASS", 62 "actual": "TEXT", 66 "actual": "TEXT", 87 analyzer = new results.ResultAnalyzer({expected: 'PASS', actual: 'TEXT', is_unexpected: true}); 93 analyzer = new results.ResultAnalyzer({expected: 'PASS TIMEOUT', actual: 'TEXT', is_unexpected: true}); 99 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();
|
Not.java | 24 public boolean matches(Object actual) { 25 return !first.matches(actual);
|
NotNull.java | 23 public boolean matches(Object actual) { 24 return actual != null;
|
Null.java | 22 public boolean matches(Object actual) { 23 return actual == null;
|
/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();
|
/cts/tests/src/android/text/method/cts/ |
TextMethodUtils.java | 28 * @param actual the actual char array. 30 public static void assertEquals(char[] expected, char[] actual) { 31 if (expected != actual) { 32 if (expected == null || actual == null) { 36 Assert.assertEquals(String.valueOf(expected), String.valueOf(actual));
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PermissionInfoTest.java | 54 private void checkInfoSame(PermissionInfo expected, PermissionInfo actual) { 55 assertEquals(expected.name, actual.name); 56 assertEquals(expected.group, actual.group); 57 assertEquals(expected.descriptionRes, actual.descriptionRes); 58 assertEquals(expected.protectionLevel, actual.protectionLevel); 59 assertEquals(expected.nonLocalizedDescription, actual.nonLocalizedDescription);
|
/frameworks/av/media/libnbaio/ |
LibsndfileSource.cpp | 54 sf_count_t actual = sf_readf_short(mSndfile, (short *) buffer, (sf_count_t) count); local 56 if (actual == 0) { 69 mFramesRead += actual; 70 if (actual >= mEstimatedFramesUntilEOF) { 73 mEstimatedFramesUntilEOF -= actual; 77 return actual;
|
/external/chromium_org/base/ |
md5_unittest.cc | 28 std::string actual = MD5DigestToBase16(digest); local 31 EXPECT_EQ(expected, actual); 146 std::string actual = MD5String(""); local 148 EXPECT_EQ(expected, actual); 152 std::string actual = MD5String("a"); local 154 EXPECT_EQ(expected, actual); 158 std::string actual = MD5String("abc"); local 160 EXPECT_EQ(expected, actual); 164 std::string actual = MD5String("message digest"); local 166 EXPECT_EQ(expected, actual); 170 std::string actual = MD5String("abcdefghijklmnopqrstuvwxyz"); local 176 std::string actual = MD5String("ABCDEFGHIJKLMNOPQRSTUVWXYZ" local 184 std::string actual = MD5String("12345678901234567890" local 201 std::string actual = MD5DigestToBase16(digest); local [all...] |
/external/chromium_org/sync/internal_api/public/base/ |
model_type_invalidation_map_test_util.cc | 44 const ModelTypeInvalidationMap& 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/chromium_org/third_party/icu/source/common/ |
locbased.h | 52 * object. Either the valid or the actual locale may be 62 * object. Either the valid or the actual locale may be 74 * @param actual the ID of the actual locale 76 void setLocaleIDs(const char* valid, const char* actual); 82 char* actual; member in class:LocaleBased 86 valid(validAlias), actual(actualAlias) { 92 valid((char*)validAlias), actual((char*)actualAlias) {
|
/external/icu4c/common/ |
locbased.h | 52 * object. Either the valid or the actual locale may be 62 * object. Either the valid or the actual locale may be 74 * @param actual the ID of the actual locale 76 void setLocaleIDs(const char* valid, const char* actual); 82 char* actual; member in class:LocaleBased 86 valid(validAlias), actual(actualAlias) { 92 valid((char*)validAlias), actual((char*)actualAlias) {
|
/external/junit/src/org/junit/internal/ |
ComparisonCriteria.java | 26 * actual values 39 Object actual= Array.get(actuals, i); local 41 if (isArray(expected) && isArray(actual)) { 43 arrayEquals(message, expected, actual); 50 assertElementsEqual(expected, actual); 66 Assert.fail(header + "actual array was null"); 71 + expectedsLength + " actual.length=" + actualsLength); 75 protected abstract void assertElementsEqual(Object expected, Object actual);
|
/external/mockito/src/org/mockito/internal/matchers/apachecommons/ |
ReflectionEquals.java | 23 public boolean matches(Object actual) { 24 return EqualsBuilder.reflectionEquals(wanted, actual, excludeFields);
|
/external/openssh/regress/ |
host-expand.sh | 15 ${SSH} -F $OBJ/ssh_proxy -$p somehost true >$OBJ/actual 16 diff $OBJ/expect $OBJ/actual || fail "$tid proto $p"
|
/libcore/json/src/main/java/org/json/ |
JSON.java | 95 public static JSONException typeMismatch(Object indexOrName, Object actual, 97 if (actual == null) { 100 throw new JSONException("Value " + actual + " at " + indexOrName 101 + " of type " + actual.getClass().getName() 106 public static JSONException typeMismatch(Object actual, String requiredType) 108 if (actual == null) { 111 throw new JSONException("Value " + actual 112 + " of type " + actual.getClass().getName()
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
AbstractTest.java | 33 protected String actual; field in class:AbstractTest 54 public String getActual() { return this.actual; } 55 // return an escaped string of the actual result 57 String actual = getActual(); local 59 if ( actual!=null && !hasErrorMsg ) actual = JUnitCodeGen.escapeForJava(actual); 60 return actual; 78 public void setActual(String actual) { this.actual = actual; [all...] |
/external/chromium/chrome/common/ |
json_pref_store_unittest.cc | 101 const Value* actual; local 103 pref_store->GetValue(prefs::kHomePage, &actual)); 105 EXPECT_TRUE(actual->GetAsString(&string_value)); 110 EXPECT_EQ(PrefStore::READ_OK, pref_store->GetValue(kSomeDirectory, &actual)); 112 EXPECT_TRUE(actual->GetAsString(&path)); 118 EXPECT_EQ(PrefStore::READ_OK, pref_store->GetValue(kSomeDirectory, &actual)); 119 EXPECT_TRUE(actual->GetAsString(&path)); 124 pref_store->GetValue(kNewWindowsInTabs, &actual)); 126 EXPECT_TRUE(actual->GetAsBoolean(&boolean)); 132 pref_store->GetValue(kNewWindowsInTabs, &actual)); [all...] |
/external/chromium_org/third_party/leveldatabase/src/util/ |
coding_test.cc | 21 uint32_t actual = DecodeFixed32(p); local 22 ASSERT_EQ(v, actual); 39 uint64_t actual; local 40 actual = DecodeFixed64(p); 41 ASSERT_EQ(v-1, actual); 44 actual = DecodeFixed64(p); 45 ASSERT_EQ(v+0, actual); 48 actual = DecodeFixed64(p); 49 ASSERT_EQ(v+1, actual); 88 uint32_t actual; local [all...] |
/external/chromium/testing/gmock/test/ |
gmock_output_test_golden.txt | 40 Actual: 1 42 Actual: never called - unsatisfied and active 53 Actual: 1 55 Actual: never called - unsatisfied and active 63 Actual: called twice - over-saturated and active 70 Actual: called twice - over-saturated and active 97 Actual: it is retired 99 Actual: called once - saturated and retired 102 Actual: 1 104 Actual: [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathDashPathEffect_StyleTest.java | 39 Style[] actual = Style.values(); local 40 assertEquals(expected.length, actual.length); 41 for (int i = 0; i < actual.length; i ++) { 42 assertEquals(expected[i], actual[i]);
|