/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageStatsTest.java | 56 private void checkInfoSame(PackageStats expected, PackageStats actual) { 57 assertEquals(expected.packageName, actual.packageName); 58 assertEquals(expected.cacheSize, actual.cacheSize); 59 assertEquals(expected.dataSize, actual.dataSize); 60 assertEquals(expected.codeSize, actual.codeSize);
|
PackageItemInfoTest.java | 84 private void checkInfoSame(PackageItemInfo expected, PackageItemInfo actual) { 85 assertEquals(expected.name, actual.name); 86 assertEquals(expected.packageName, actual.packageName); 87 assertEquals(expected.labelRes, actual.labelRes); 88 assertEquals(expected.nonLocalizedLabel, actual.nonLocalizedLabel); 89 assertEquals(expected.icon, actual.icon); 90 assertEquals(expected.metaData.size(), actual.metaData.size()); 91 assertEquals(R.xml.pm_test, actual.metaData.getInt(METADATA_NAME));
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
test_custom_bindings.js | 146 apiFunctions.setHandleRequest('checkDeepEq', function(expected, actual) { 147 if ((expected === null) != (actual === null)) 150 if (expected === actual) 153 if (typeof(expected) !== typeof(actual)) 156 for (var p in actual) { 157 if ($Object.hasOwnProperty(actual, p) && 164 !$Object.hasOwnProperty(actual, p)) { 173 eq = chromeTest.checkDeepEq(expected[p], actual[p]); 176 eq = (typeof(actual[p]) != 'undefined' && 177 expected[p].toString() == actual[p].toString()) [all...] |
/cts/tests/tests/nativeopengl/standalone/jni/tests/ |
GLTest_test.cpp | 155 bool checkPixel(GLubyte * actual, GLubyte * expected, int tolerance) { 157 if (abs(actual[i] - expected[i]) > tolerance) { 165 const char* e_expr, const char* t_expr, GLubyte * actual, 168 if (checkPixel(actual, expected, tolerance)) { 174 << "Actual: r=" << (int)actual[0] << " g=" << (int)actual[1] 175 << " b=" << (int)actual[2] << " a=" << (int)actual[3] << "\n"
|
/external/chromium_org/net/disk_cache/flash/ |
log_store_unittest.cc | 43 std::vector<char> actual(kSize, 0); 44 EXPECT_TRUE(log_store.ReadData(id, &actual[0], kSize, 0)); 47 EXPECT_EQ(expected, actual); 81 std::vector<char> actual(kSize, 0); 82 EXPECT_TRUE(log_store.ReadData(id1, &actual[0], kSize, id1)); 85 EXPECT_EQ(expected, actual); 120 std::vector<char> actual(kSize, 0); 121 EXPECT_TRUE(log_store.ReadData(id1, &actual[0], kSize, id1)); 124 EXPECT_EQ(expected, actual);
|
/external/icu4c/test/intltest/ |
genderinfotest.cpp | 73 const GenderInfo* actual = GenderInfo::getInstance("xx", status); local 79 if (expected != actual) { 80 errln("For Neutral, expected %d got %d", expected, actual); 82 actual = GenderInfo::getInstance("fr_CA", status); 88 if (expected != actual) { 89 errln("For Male Taints, Expected %d got %d", expected, actual); 108 UGender actual = gi->getListGender(genderList, listLength, status); local 113 if (actual != expected) { 114 errln("For locale: %s expected: %d got %d", locale.getName(), expected, actual);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
EvenMoreAsserts.java | 81 public static void assertImageRawData(Context context, byte[] expected, byte[] actual) { 83 if (expected.length != actual.length) { 85 " expected=" + expected.length + " actual=" + actual.length; 86 } else if (!Arrays.equals(expected, actual)) { 93 String actualFile = TestUtils.dumpToCacheDir(context, "actual", ".jpg", actual); 97 " actual dimentions=" + getImageDimensions(actual) +
|
/cts/tests/tests/content/src/android/content/cts/ |
ComponentNameTest.java | 94 String actual = getComponentName().getShortClassName(); local 95 assertEquals("android.content.cts.ComponentNameTest", actual); 103 actual = componentName.getShortClassName(); 105 assertEquals(".View", actual); 113 ComponentName actual = ComponentName.readFromParcel(parcel1); local 114 assertEquals(expected, actual); 123 final String actual = getComponentName().getPackageName(); local 124 assertEquals("com.android.cts.stub", actual); 131 ComponentName actual = ComponentName.unflattenFromString(flattenString); local 132 assertEquals(componentName, actual); 137 String actual = getComponentName().flattenToShortString(); local [all...] |
/external/chromium/net/disk_cache/ |
file_win.cc | 133 DWORD actual; 135 if (!ReadFile(sync_platform_file_, buffer, size, &actual, NULL)) 137 return actual == size; 150 DWORD actual; 152 if (!WriteFile(sync_platform_file_, buffer, size, &actual, NULL)) 154 return actual == size; 175 DWORD actual; local 176 if (!ReadFile(platform_file_, buffer, size, &actual, data->overlapped())) { 185 *completed = (actual == size); 186 DCHECK(actual == size) 215 DWORD actual; local [all...] |
/external/chromium_org/net/disk_cache/ |
file_win.cc | 136 DWORD actual; 138 if (!ReadFile(sync_platform_file_, buffer, size, &actual, NULL)) 140 return actual == size; 153 DWORD actual; 155 if (!WriteFile(sync_platform_file_, buffer, size, &actual, NULL)) 157 return actual == size; 178 DWORD actual; local 179 if (!ReadFile(platform_file_, buffer, size, &actual, data->overlapped())) { 188 *completed = (actual == size); 189 DCHECK_EQ(size, actual); 218 DWORD actual; local [all...] |
/external/chromium_org/net/websockets/ |
websocket_deflater_test.cc | 26 scoped_refptr<IOBufferWithSize> actual = local 28 EXPECT_EQ(std::string("\x02\00", 2), ToString(actual.get())); 71 scoped_refptr<IOBufferWithSize> actual; local 77 actual = deflater.GetOutput(deflater.CurrentOutputSize()); 78 EXPECT_EQ(std::string("\x4a\x4c\xc4\x0f\x00\x00", 6), ToString(actual.get())); 84 scoped_refptr<IOBufferWithSize> actual; local 94 actual = deflater.GetOutput(deflater.CurrentOutputSize()); 98 ToString(actual.get())); 109 scoped_refptr<IOBufferWithSize> actual; local 113 actual = deflater.GetOutput(deflater.CurrentOutputSize()) 126 scoped_refptr<IOBufferWithSize> actual; local [all...] |
/device/generic/goldfish/camera/ |
EmulatedCamera.h | 42 * disconnection from the actual camera device is handled by calls to 122 /* Actual handler for camera_device_ops_t::set_preview_window callback. 128 /* Actual handler for camera_device_ops_t::set_callbacks callback. 137 /* Actual handler for camera_device_ops_t::enable_msg_type callback. 142 /* Actual handler for camera_device_ops_t::disable_msg_type callback. 147 /* Actual handler for camera_device_ops_t::msg_type_enabled callback. 154 /* Actual handler for camera_device_ops_t::start_preview callback. 160 /* Actual handler for camera_device_ops_t::stop_preview callback. 165 /* Actual handler for camera_device_ops_t::preview_enabled callback. 172 /* Actual handler for camera_device_ops_t::store_meta_data_in_buffers callback [all...] |
/external/chromium_org/chromeos/network/onc/ |
onc_test_utils.cc | 68 const base::Value* actual) { 70 if (actual == NULL) 71 return ::testing::AssertionFailure() << "Actual value pointer is NULL"; 73 if (expected->Equals(actual)) 78 << "Actual value:\n" << *actual;
|
/external/junit/src/junit/framework/ |
ComparisonCompactor.java | 19 public ComparisonCompactor(int contextLength, String expected, String actual) { 22 fActual= actual; 34 String actual= compactString(fActual); local 36 return format(message, expected, actual); 81 private static String format(String message, Object expected, Object actual) { 85 return formatted+"expected:<"+expected+"> but was:<"+actual+">";
|
/external/mockito/src/org/mockito/internal/invocation/ |
ArgumentsComparator.java | 16 public boolean argumentsMatch(InvocationMatcher invocationMatcher, Invocation actual) {
17 Object[] actualArgs = actual.getArguments();
18 return argumentsMatch(invocationMatcher, actualArgs) || varArgsMatch(invocationMatcher, actual);
34 private boolean varArgsMatch(InvocationMatcher invocationMatcher, Invocation actual) {
35 if (!actual.getMethod().isVarArgs()) {
41 Object[] rawArgs = actual.getRawArguments();
|
/external/skia/gm/tests/ |
rebaseline.sh | 20 # Copy all the actual output files into the "expected" directories, 22 ACTUAL_FILES=$(find outputs/*/output-actual -type f | grep -v /\.svn/) 24 EXPECTED_FILE=${ACTUAL_FILE//actual/expected} 31 # Delete all the "actual" directories, so we can svn-add any new "expected" 32 # directories without adding the "actual" ones. 33 rm -rf outputs/*/output-actual
|
/external/valgrind/main/exp-sgcheck/tests/ |
bad_percentify.stderr.exp-glibc28-amd64 | 9 Address 0x........ expected vs actual: 11 Actual: unknown 12 Actual: is 0 after Expected 24 Address 0x........ expected vs actual: 26 Actual: unknown 27 Actual: is 0 after Expected
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
GenericReflectionTestsBase.java | 65 public static void assertInstanceOf(Class<?> expectedClass, Object actual) { 66 TestCase.assertTrue(actual.getClass().getName() + " is not instance of :" + expectedClass.getName(), expectedClass 67 .isInstance(actual)); 70 public static void assertNotEquals(Object expected, Object actual) { 71 TestCase.assertFalse(actual.toString() + " has not to be equal to " + expected.toString(), expected.equals(actual));
|
/external/chromium_org/base/prefs/ |
json_pref_store_unittest.cc | 98 const Value* actual; local 99 EXPECT_TRUE(pref_store->GetValue(kHomePage, &actual)); 101 EXPECT_TRUE(actual->GetAsString(&string_value)); 106 EXPECT_TRUE(pref_store->GetValue(kSomeDirectory, &actual)); 108 EXPECT_TRUE(actual->GetAsString(&path)); 113 EXPECT_TRUE(pref_store->GetValue(kSomeDirectory, &actual)); 114 EXPECT_TRUE(actual->GetAsString(&path)); 118 EXPECT_TRUE(pref_store->GetValue(kNewWindowsInTabs, &actual)); 120 EXPECT_TRUE(actual->GetAsBoolean(&boolean)); 124 EXPECT_TRUE(pref_store->GetValue(kNewWindowsInTabs, &actual)); [all...] |
/packages/apps/Email/tests/src/com/android/email/provider/ |
AccountBackupRestoreTests.java | 60 public static void assertRestoredAccountEqual(Account expect, Account actual) { 61 assertEquals(" mDisplayName", expect.mDisplayName, actual.mDisplayName); 62 assertEquals(" mEmailAddress", expect.mEmailAddress, actual.mEmailAddress); 64 assertEquals(" mSyncLookback", expect.mSyncLookback, actual.mSyncLookback); 65 assertEquals(" mSyncInterval", expect.mSyncInterval, actual.mSyncInterval); 66 assertEquals(" mFlags", expect.mFlags, actual.mFlags); 67 assertEquals(" mSenderName", expect.mSenderName, actual.mSenderName); 69 actual.mProtocolVersion); 71 actual.mNewMessageCount); 72 assertEquals(" mSignature", expect.mSignature, actual.mSignature) [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
TransformationTest.java | 72 private void assertTransformationNotSame(Transformation expected, Transformation actual) { 73 assertNotSame(expected.getAlpha(), actual.getAlpha()); 74 assertFalse(expected.getMatrix().equals(actual.getMatrix())); 75 assertNotSame(expected.getTransformationType(), actual.getTransformationType()); 78 private void assertTransformationEquals(Transformation expected, Transformation actual) { 79 assertEquals(expected.getAlpha(), actual.getAlpha()); 80 assertEquals(expected.getMatrix(), actual.getMatrix()); 81 assertEquals(expected.getTransformationType(), actual.getTransformationType());
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_model_test_utils.h | 18 BookmarkModel* actual, 24 const BookmarkNode* actual,
|
/external/chromium_org/ash/ |
screenshot_delegate.h | 23 // The actual task of taking a screenshot for each root window. 27 // The actual task of taking a partial screenshot for the given
|
/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
PreprocessorTest.cpp | 27 std::string actual = stream.str(); local 28 EXPECT_STREQ(expected, actual.c_str());
|
/external/chromium_org/third_party/icu/source/common/ |
locbased.cpp | 30 return actual; 42 uprv_strcpy(actual, actualID);
|