/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...] |
/external/chromium_org/cc/quads/ |
render_pass_unittest.cc | 41 RenderPass* actual = actual_list[i]; local 43 EXPECT_EQ(expected->id, actual->id); 44 EXPECT_RECT_EQ(expected->output_rect, actual->output_rect); 46 actual->transform_to_root_target); 47 EXPECT_RECT_EQ(expected->damage_rect, actual->damage_rect); 49 actual->has_transparent_background); 52 actual->shared_quad_state_list.size()); 53 EXPECT_EQ(expected->quad_list.size(), actual->quad_list.size()); 57 actual->quad_list[i]->rect.ToString()); 60 actual->quad_list[i]->shared_quad_state->content_bounds.ToString()) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_pref_value_map_unittest.cc | 368 std::string actual; local
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/tests/ |
utilities.js | 153 * Verify that actual values after a test step match expectations. 155 verify: function(expected, actual, message) { 156 if (this.areEqual_(expected, actual)) 159 this.fail(message, expected, actual); 171 * Fail the current test step. Expected and actual values are optional. 173 fail: function(message, expected, actual) { 178 failure.messages.push(this.getDescription_('actual: ', actual)); 437 var actual = display.slice(-expected.length); variable 438 this.verify(expected, actual, this.getDescription_(before, controller)) [all...] |
/external/chromium_org/components/dom_distiller/core/ |
dom_distiller_database_unittest.cc | 74 void ExpectEntryPointersEquals(EntryMap expected, const EntryVector& actual) { 75 EXPECT_EQ(expected.size(), actual.size()); 76 for (size_t i = 0; i < actual.size(); i++) { 78 expected.find(std::string(actual[i].entry_id())); 81 std::string serialized_actual = actual[i].SerializeAsString(); 149 EntryVector* actual = arg1; local 150 ExpectEntryPointersEquals(expected, *actual); 202 const EntryVector& actual = arg0; local 203 ExpectEntryPointersEquals(expected, actual); 266 const EntryVector& actual = arg1 local [all...] |
/external/chromium_org/gpu/command_buffer/tests/ |
gl_depth_texture_unittest.cc | 203 const uint8* actual = &actual_pixels[(yy * kResolution + xx) * 4]; local 204 const uint8* left = actual - 4; 205 const uint8* down = actual - kResolution * 4; 210 EXPECT_GT(actual[0], left[0]) 212 << " actual[0] =" << static_cast<unsigned>(actual[0]) 214 << " actual =" << reinterpret_cast<const void*>(actual) 216 bad_count += (actual[0] > left[0] ? 0 : 1); 220 EXPECT_GT(actual[0], down[0]) << "pixel at " << xx << ", " << yy [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/third_party/zlib/google/ |
zip_reader_unittest.cc | 425 std::string actual; local 427 test_dir_.AppendASCII("test.txt"), &actual)); 428 EXPECT_EQ(std::string("This is a test.\n"), actual);
|
/external/chromium_org/v8/test/cctest/ |
test-date.cc | 114 int64_t actual = date_cache->ToLocal(time); local 117 CHECK_EQ(actual, expected);
|
/external/e2fsprogs/e2fsck/ |
pass5.c | 112 int actual, bitmap; local 165 actual = ext2fs_fast_test_block_bitmap(ctx->block_found_map, i); 199 actual = (actual != 0); 203 if (actual == bitmap) 206 if (!actual && bitmap) { 337 int actual, bitmap; local 390 actual = ext2fs_fast_test_inode_bitmap(ctx->inode_used_map, i); 395 if (actual == bitmap) 398 if (!actual && bitmap) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractLinkedIteratorTest.java | 57 Iterable<Integer> actual = new Iterable<Integer>() { local 68 ASSERT.that(actual).hasContentsInOrder(1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096,
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
SignedBytesTest.java | 83 int actual = SignedBytes.compare(x, y); local 85 assertEquals(x + ", " + y, expected, actual); 87 assertTrue(x + ", " + y + " (expected: " + expected + ", actual" + actual + ")", 88 actual < 0); 90 assertTrue(x + ", " + y + " (expected: " + expected + ", actual" + actual + ")", 91 actual > 0);
|
/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...] |
/external/junit/src/org/junit/internal/runners/ |
MethodRoadie.java | 109 Throwable actual= e.getTargetException(); local 110 if (actual instanceof AssumptionViolatedException) 113 addFailure(actual); 114 else if (fTestMethod.isUnexpected(actual)) { 116 + actual.getClass().getName() + ">"; 117 addFailure(new Exception(message, actual));
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/ |
AudioFilePlayer.c | 244 ByteCount actual; local 255 result = FSReadFork(afp->mForkRefNum, fsAtMark, 0, sizeof(chunkHeader), &chunkHeader, &actual); 275 result = FSReadFork(afp->mForkRefNum, fsFromMark, offset, sizeof(chunk), &chunk, &actual); 287 result = FSReadFork(afp->mForkRefNum, fsAtMark, 0, sizeof(ssndData), &ssndData, &actual);
|
/external/v8/test/cctest/ |
test-date.cc | 113 int64_t actual = date_cache->ToLocal(time); local 116 CHECK_EQ(actual, expected);
|
/frameworks/av/media/libcpustats/ |
ThreadCpuUsage.cpp | 179 ssize_t actual = read(fd, kernelMax, sizeof(kernelMax)); local 180 if (actual >= 2 && kernelMax[actual-1] == '\n') { 237 ssize_t actual = pread(fd, kHz, sizeof(kHz), (off_t) 0); local 239 if (actual >= 2 && kHz[actual-1] == '\n') {
|
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/ |
OverlayBaseTest.java | 41 boolean actual = mResources.getBoolean(resId); 42 assertEquals(expected, actual); 47 String actual = mResources.getString(resId); local 48 assertEquals(expected, actual); 53 int[] actual = mResources.getIntArray(resId); local 54 assertEquals("length:", expected.length, actual.length); 55 for (int i = 0; i < actual.length; ++i) { 56 assertEquals("index " + i + ":", actual[i], expected[i]); 114 int actual = calculateRawResourceChecksum(resId); local 116 assertEquals(expected, actual); [all...] |
/frameworks/base/libs/androidfw/ |
ObbFile.cpp | 130 ssize_t actual; local 137 actual = TEMP_FAILURE_RETRY(read(fd, footer, kFooterTagSize)); 138 if (actual != kFooterTagSize) { 179 actual = TEMP_FAILURE_RETRY(read(fd, scanBuf, footerSize)); 181 if (actual != (ssize_t)footerSize) {
|
/libcore/json/src/test/java/org/json/ |
ParsingTest.java | 233 Object actual = new JSONTokener(json).nextValue(); local 234 actual = canonicalize(actual); 236 assertEquals("For input \"" + json + "\" " + message, expected, actual);
|
/libcore/luni/src/test/java/libcore/java/net/ |
NetworkInterfaceTest.java | 35 Set<InetAddress> actual = new HashSet<InetAddress>(Collections.list(lo.getInetAddresses())); local 41 assertEquals(expected, actual);
|
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/ |
X500PrincipalTest.java | 37 X500Principal actual = new X500Principal("C=US, " local 42 new SerializationTester<X500Principal>(actual, expected).test();
|
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ |
ContactDetailDisplayUtilsTest.java | 95 Spanned actual = (Spanned) actualCharSequence; local 96 assertEquals(Html.toHtml(expected), Html.toHtml(actual));
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/ |
ExternalAccountTypeTest.java | 211 String actual = actualKinds.size() > i ? actualKinds.get(i).toString() : "(n/a)"; local 216 if (!Objects.equal(actual, expected)) { 217 final int commonPrefixEnd = findCommonPrefixEnd(actual, expected); 219 + "\n[Actual]\n" + insertMarkerAt(actual, commonPrefixEnd)
|
/packages/apps/Dialer/tests/src/com/android/dialer/list/ |
PhoneFavoritesTileAdapterTest.java | 169 ArrayList<ContactEntry> actual) { 170 assertEquals(expected.size(), actual.size()); 171 for (int i = 0; i < actual.size(); i++) { 172 assertEquals(expected.get(i).id, actual.get(i).id); 173 assertEquals(expected.get(i).isFavorite, actual.get(i).isFavorite);
|