/external/chromium_org/chrome/browser/chromeos/login/auth/ |
key_unittest.cc | 23 EXPECT_EQ(Key::KEY_TYPE_PASSWORD_PLAIN, key.GetKeyType()); 24 EXPECT_EQ(kPassword, key.GetSecret()); 25 EXPECT_EQ(kLabel, key.GetLabel()); 28 EXPECT_EQ(Key::KEY_TYPE_PASSWORD_PLAIN, key.GetKeyType()); 30 EXPECT_EQ(kLabel, key.GetLabel()); 36 EXPECT_EQ(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, key.GetKeyType()); 37 EXPECT_EQ("5b01941771e47fa408380aa675703f4f", key.GetSecret()); 43 EXPECT_EQ(Key::KEY_TYPE_SALTED_PBKDF2_AES256_1234, key.GetKeyType()); 44 EXPECT_EQ("GUkNnvqoULf/cXbZscVUnANmLBB0ovjGZsj1sKzP5BE=", key.GetSecret());
|
/external/chromium_org/gpu/command_buffer/common/ |
bitfield_helpers_test.cc | 15 EXPECT_EQ(0x8u, (BitField<0, 4>::Get(value))); 16 EXPECT_EQ(0x45u, (BitField<12, 8>::Get(value))); 17 EXPECT_EQ(0x12345678u, (BitField<0, 32>::Get(value))); 22 EXPECT_EQ(0x00000003u, (BitField<0, 4>::MakeValue(0x3))); 23 EXPECT_EQ(0x00023000u, (BitField<12, 8>::MakeValue(0x123))); 24 EXPECT_EQ(0x87654321u, (BitField<0, 32>::MakeValue(0x87654321))); 31 EXPECT_EQ(0x12345679u, value); 33 EXPECT_EQ(0x12323679u, value); 35 EXPECT_EQ(0x87654321u, value);
|
/external/chromium_org/printing/ |
page_number_unittest.cc | 12 EXPECT_EQ(printing::PageNumber::npos(), page); 14 EXPECT_EQ(0, page.ToInt()); 17 EXPECT_EQ(1, page.ToInt()); 21 EXPECT_EQ(1, page_copy.ToInt()); 22 EXPECT_EQ(1, page.ToInt()); 24 EXPECT_EQ(1, page_copy.ToInt()); 25 EXPECT_EQ(2, page.ToInt()); 27 EXPECT_EQ(printing::PageNumber::npos(), page); 29 EXPECT_EQ(printing::PageNumber::npos(), page);
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
verify_hhea.cc | 41 EXPECT_EQ(hhea->TableVersion(), Fixed1616::Fixed(1, 0)); 42 EXPECT_EQ(hhea->Ascender(), HHEA_ASCENDER); 43 EXPECT_EQ(hhea->Descender(), HHEA_DESCENDER); 44 EXPECT_EQ(hhea->AdvanceWidthMax(), HHEA_ADVANCE_WIDTH_MAX); 45 EXPECT_EQ(hhea->MinLeftSideBearing(), HHEA_MIN_LSB); 46 EXPECT_EQ(hhea->MinRightSideBearing(), HHEA_MIN_RSB); 47 EXPECT_EQ(hhea->XMaxExtent(), HHEA_X_MAX_EXTENT); 51 EXPECT_EQ(hhea->MetricDataFormat(), HHEA_METRIC_DATA_FORMAT); 52 EXPECT_EQ(hhea->NumberOfHMetrics(), HHEA_NUM_METRICS);
|
verify_maxp.cc | 46 EXPECT_EQ(maxp->TableVersion(), Fixed1616::Fixed(1, 0)); 47 EXPECT_EQ(maxp->NumGlyphs(), MAXP_NUM_GLYPHS); 48 EXPECT_EQ(maxp->MaxPoints(), MAXP_MAX_POINTS); 49 EXPECT_EQ(maxp->MaxContours(), MAXP_MAX_CONTOURS); 50 EXPECT_EQ(maxp->MaxCompositePoints(), MAXP_MAX_COMPOSITE_POINTS); 51 EXPECT_EQ(maxp->MaxCompositeContours(), MAXP_MAX_COMPOSITE_CONTOURS); 52 EXPECT_EQ(maxp->MaxZones(), MAXP_MAX_ZONES); 53 EXPECT_EQ(maxp->MaxTwilightPoints(), MAXP_MAX_TWILIGHT_POINTS); 54 EXPECT_EQ(maxp->MaxStorage(), MAXP_MAX_STORAGE); 55 EXPECT_EQ(maxp->MaxFunctionDefs(), MAXP_MAX_FUNCTION_DEFS) [all...] |
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/standard/ |
rtp_rtcp_before_streaming_test.cc | 29 EXPECT_EQ(0, voe_base_->DeleteChannel(channel_)); 35 EXPECT_EQ(0, voe_rtp_rtcp_->GetRTCPStatus(channel_, on)); 37 EXPECT_EQ(0, voe_rtp_rtcp_->SetRTCPStatus(channel_, false)); 38 EXPECT_EQ(0, voe_rtp_rtcp_->GetRTCPStatus(channel_, on)); 40 EXPECT_EQ(0, voe_rtp_rtcp_->SetRTCPStatus(channel_, true)); 41 EXPECT_EQ(0, voe_rtp_rtcp_->GetRTCPStatus(channel_, on)); 46 EXPECT_EQ(0, voe_rtp_rtcp_->SetLocalSSRC(channel_, 1234)); 48 EXPECT_EQ(0, voe_rtp_rtcp_->GetLocalSSRC(channel_, result)); 49 EXPECT_EQ(1234u, result);
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_vector_test.cc | 21 EXPECT_EQ(v.Size(), (uptr)0); 23 EXPECT_EQ(v.Size(), (uptr)1); 24 EXPECT_EQ(v[0], 42); 26 EXPECT_EQ(v.Size(), (uptr)2); 27 EXPECT_EQ(v[0], 42); 28 EXPECT_EQ(v[1], 43); 35 EXPECT_EQ(v.Size(), (uptr)(i + 1)); 36 EXPECT_EQ(v[i], i); 39 EXPECT_EQ(v[i], i);
|
/external/sfntly/cpp/src/test/ |
verify_hhea.cc | 41 EXPECT_EQ(hhea->TableVersion(), Fixed1616::Fixed(1, 0)); 42 EXPECT_EQ(hhea->Ascender(), HHEA_ASCENDER); 43 EXPECT_EQ(hhea->Descender(), HHEA_DESCENDER); 44 EXPECT_EQ(hhea->AdvanceWidthMax(), HHEA_ADVANCE_WIDTH_MAX); 45 EXPECT_EQ(hhea->MinLeftSideBearing(), HHEA_MIN_LSB); 46 EXPECT_EQ(hhea->MinRightSideBearing(), HHEA_MIN_RSB); 47 EXPECT_EQ(hhea->XMaxExtent(), HHEA_X_MAX_EXTENT); 51 EXPECT_EQ(hhea->MetricDataFormat(), HHEA_METRIC_DATA_FORMAT); 52 EXPECT_EQ(hhea->NumberOfHMetrics(), HHEA_NUM_METRICS);
|
verify_maxp.cc | 46 EXPECT_EQ(maxp->TableVersion(), Fixed1616::Fixed(1, 0)); 47 EXPECT_EQ(maxp->NumGlyphs(), MAXP_NUM_GLYPHS); 48 EXPECT_EQ(maxp->MaxPoints(), MAXP_MAX_POINTS); 49 EXPECT_EQ(maxp->MaxContours(), MAXP_MAX_CONTOURS); 50 EXPECT_EQ(maxp->MaxCompositePoints(), MAXP_MAX_COMPOSITE_POINTS); 51 EXPECT_EQ(maxp->MaxCompositeContours(), MAXP_MAX_COMPOSITE_CONTOURS); 52 EXPECT_EQ(maxp->MaxZones(), MAXP_MAX_ZONES); 53 EXPECT_EQ(maxp->MaxTwilightPoints(), MAXP_MAX_TWILIGHT_POINTS); 54 EXPECT_EQ(maxp->MaxStorage(), MAXP_MAX_STORAGE); 55 EXPECT_EQ(maxp->MaxFunctionDefs(), MAXP_MAX_FUNCTION_DEFS) [all...] |
/external/chromium_org/chrome/browser/spellchecker/ |
word_trimmer_unittest.cc | 15 EXPECT_EQ(base::string16(), TrimWords(&start, end, base::string16(), 0)); 16 EXPECT_EQ(0UL, start); 22 EXPECT_EQ(ASCIIToUTF16("one two three"), 24 EXPECT_EQ(0UL, start); 30 EXPECT_EQ(ASCIIToUTF16("two three four"), 32 EXPECT_EQ(10UL, start); 38 EXPECT_EQ(ASCIIToUTF16("two three four five six seven"), TrimWords( 40 EXPECT_EQ(10UL, start); 46 EXPECT_EQ(ASCIIToUTF16("two three four five six"), TrimWords( 48 EXPECT_EQ(14UL, start) [all...] |
/external/chromium_org/chrome/browser/themes/ |
theme_properties_unittest.cc | 17 EXPECT_EQ(ThemeProperties::ALIGN_TOP | ThemeProperties::ALIGN_LEFT, 19 EXPECT_EQ(top_left, ThemeProperties::AlignmentToString(alignment)); 23 EXPECT_EQ(ThemeProperties::ALIGN_TOP, alignment); 24 EXPECT_EQ("center top", ThemeProperties::AlignmentToString(alignment)); 27 EXPECT_EQ(ThemeProperties::ALIGN_LEFT, alignment); 28 EXPECT_EQ("left center", ThemeProperties::AlignmentToString(alignment)); 31 EXPECT_EQ(ThemeProperties::ALIGN_RIGHT, alignment); 32 EXPECT_EQ("right center", ThemeProperties::AlignmentToString(alignment)); 35 EXPECT_EQ(ThemeProperties::ALIGN_CENTER, alignment); 36 EXPECT_EQ("center center", ThemeProperties::AlignmentToString(alignment)) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
ratetracker_unittest.cc | 45 EXPECT_EQ(0U, tracker.total_units()); 46 EXPECT_EQ(0U, tracker.units_second()); 53 EXPECT_EQ(1234U, tracker.total_units()); 54 EXPECT_EQ(0U, tracker.units_second()); 59 EXPECT_EQ(1234U * 2, tracker.total_units()); 60 EXPECT_EQ(0U, tracker.units_second()); 65 EXPECT_EQ(1234U * 2, tracker.total_units()); 66 EXPECT_EQ(1234U * 2, tracker.units_second()); 69 EXPECT_EQ(1234U * 2, tracker.total_units()); 70 EXPECT_EQ(1234U * 2, tracker.units_second()) [all...] |
stringutils_unittest.cc | 60 // EXPECT_EQ(0, ascii_string_compare(NULL, NULL, 1, identity)); 65 EXPECT_EQ(-1, ascii_string_compare(L"Test", "Test1", 5, identity)); 71 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test1", 3, identity)); 76 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test", 10, identity)); 81 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test", 5, identity)); 82 EXPECT_EQ(0, ascii_string_compare(L"TeSt", "tEsT", 5, tolowercase)); 87 EXPECT_EQ(-1, ascii_string_compare(L"abc", "abd", 4, identity)); 88 EXPECT_EQ(-1, ascii_string_compare(L"ABC", "abD", 5, tolowercase)); 93 EXPECT_EQ(1, ascii_string_compare(L"xyz", "xy", 5, identity)); 94 EXPECT_EQ(1, ascii_string_compare(L"abc", "ABB", 5, tolowercase)) [all...] |
/external/chromium_org/third_party/libyuv/unit_test/ |
basictypes_test.cc | 20 EXPECT_EQ(0x34u, first_byte); 22 EXPECT_EQ(0x12u, first_byte); 35 EXPECT_EQ(1u, sizeof(i8)); 36 EXPECT_EQ(1u, sizeof(u8)); 37 EXPECT_EQ(2u, sizeof(i16)); 38 EXPECT_EQ(2u, sizeof(u16)); 39 EXPECT_EQ(4u, sizeof(i32)); 40 EXPECT_EQ(4u, sizeof(u32)); 41 EXPECT_EQ(8u, sizeof(i64)); 42 EXPECT_EQ(8u, sizeof(u64)) [all...] |
/external/chromium_org/third_party/webrtc/base/ |
ratetracker_unittest.cc | 28 EXPECT_EQ(0U, tracker.total_units()); 29 EXPECT_EQ(0U, tracker.units_second()); 36 EXPECT_EQ(1234U, tracker.total_units()); 37 EXPECT_EQ(0U, tracker.units_second()); 42 EXPECT_EQ(1234U * 2, tracker.total_units()); 43 EXPECT_EQ(0U, tracker.units_second()); 48 EXPECT_EQ(1234U * 2, tracker.total_units()); 49 EXPECT_EQ(1234U * 2, tracker.units_second()); 52 EXPECT_EQ(1234U * 2, tracker.total_units()); 53 EXPECT_EQ(1234U * 2, tracker.units_second()) [all...] |
stringutils_unittest.cc | 43 // EXPECT_EQ(0, ascii_string_compare(NULL, NULL, 1, identity)); 48 EXPECT_EQ(-1, ascii_string_compare(L"Test", "Test1", 5, identity)); 54 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test1", 3, identity)); 59 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test", 10, identity)); 64 EXPECT_EQ(0, ascii_string_compare(L"Test", "Test", 5, identity)); 65 EXPECT_EQ(0, ascii_string_compare(L"TeSt", "tEsT", 5, tolowercase)); 70 EXPECT_EQ(-1, ascii_string_compare(L"abc", "abd", 4, identity)); 71 EXPECT_EQ(-1, ascii_string_compare(L"ABC", "abD", 5, tolowercase)); 76 EXPECT_EQ(1, ascii_string_compare(L"xyz", "xy", 5, identity)); 77 EXPECT_EQ(1, ascii_string_compare(L"abc", "ABB", 5, tolowercase)) [all...] |
/external/chromium_org/ui/base/webui/ |
web_ui_util_unittest.cc | 16 EXPECT_EQ("random/username@email/and/more", path); 17 EXPECT_EQ(1.0f, factor); 22 EXPECT_EQ("random/username/and/more", path); 23 EXPECT_EQ(1.0f, factor); 28 EXPECT_EQ("random/username/and/more@2ax", path); 29 EXPECT_EQ(1.0f, factor); 34 EXPECT_EQ("random/username/and/more@x", path); 35 EXPECT_EQ(1.0f, factor); 40 EXPECT_EQ("random/username@email/and/more", path); 41 EXPECT_EQ(2.0f, factor) [all...] |
/external/chromium_org/ui/gfx/ |
display_unittest.cc | 14 EXPECT_EQ("0,0 100x100", display.bounds().ToString()); 15 EXPECT_EQ("0,0 100x100", display.work_area().ToString()); 18 EXPECT_EQ("0,0 100x100", display.bounds().ToString()); 19 EXPECT_EQ("3,4 90x80", display.work_area().ToString()); 22 EXPECT_EQ("10,20 50x50", display.bounds().ToString()); 23 EXPECT_EQ("13,24 40x30", display.work_area().ToString()); 26 EXPECT_EQ("13,24 190x180", display.work_area().ToString()); 29 EXPECT_EQ("14,23 190x192", display.work_area().ToString()); 35 EXPECT_EQ("0,0 100x100", display.bounds().ToString()); 36 EXPECT_EQ("10,10 80x80", display.work_area().ToString()) [all...] |
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_string.cc | 23 EXPECT_EQ(data[0], 42); 24 EXPECT_EQ(data[1], 2); 25 EXPECT_EQ(data[2], 3); 26 EXPECT_EQ(data[3], 4); 27 EXPECT_EQ(data[4], 5); 28 EXPECT_EQ(data[5], 6); 29 EXPECT_EQ(data[6], 42); 31 EXPECT_EQ(data[0], 42); 32 EXPECT_EQ(data[1], 13); 33 EXPECT_EQ(data[2], 13) [all...] |
/external/chromium_org/google_apis/drive/ |
drive_api_url_generator_unittest.cc | 31 EXPECT_EQ("https://www.googleapis.com/drive/v2/about", 33 EXPECT_EQ("http://127.0.0.1:12345/drive/v2/about", 39 EXPECT_EQ("https://www.googleapis.com/drive/v2internal/apps", 41 EXPECT_EQ("https://www.googleapis.com/drive/v2/apps", 43 EXPECT_EQ("http://127.0.0.1:12345/drive/v2/apps", 48 EXPECT_EQ("https://www.googleapis.com/drive/v2internal/apps/0ADK06pfg", 50 EXPECT_EQ("http://127.0.0.1:12345/drive/v2internal/apps/0ADK06pfg", 56 EXPECT_EQ("https://www.googleapis.com/drive/v2/files/0ADK06pfg", 58 EXPECT_EQ("https://www.googleapis.com/drive/v2/files/0Bz0bd074", 60 EXPECT_EQ("https://www.googleapis.com/drive/v2/files/file%3Afile_id" [all...] |
/external/chromium_org/mojo/system/ |
core_unittest.cc | 34 EXPECT_EQ(0u, info.GetCtorCallCount()); 36 EXPECT_EQ(1u, info.GetCtorCallCount()); 39 EXPECT_EQ(0u, info.GetWriteMessageCallCount()); 40 EXPECT_EQ(MOJO_RESULT_OK, 43 EXPECT_EQ(1u, info.GetWriteMessageCallCount()); 44 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, 47 EXPECT_EQ(2u, info.GetWriteMessageCallCount()); 49 EXPECT_EQ(0u, info.GetReadMessageCallCount()); 51 EXPECT_EQ(MOJO_RESULT_OK, 54 EXPECT_EQ(1u, info.GetReadMessageCallCount()) [all...] |
/external/ceres-solver/internal/ceres/ |
triplet_sparse_matrix_test.cc | 41 EXPECT_EQ(m.num_rows(), 0); 42 EXPECT_EQ(m.num_cols(), 0); 43 EXPECT_EQ(m.num_nonzeros(), 0); 44 EXPECT_EQ(m.max_num_nonzeros(), 0); 50 EXPECT_EQ(m.num_rows(), 2); 51 EXPECT_EQ(m.num_cols(), 5); 52 EXPECT_EQ(m.num_nonzeros(), 0); 53 EXPECT_EQ(m.max_num_nonzeros(), 4); 64 EXPECT_EQ(m.num_nonzeros(), 2); 73 EXPECT_EQ(m.max_num_nonzeros(), 50) [all...] |
/external/chromium_org/base/win/ |
scoped_variant_unittest.cc | 78 EXPECT_EQ(VT_BSTR, V_VT(&var_bstr)); 83 EXPECT_EQ(VT_BSTR, V_VT(&var_bstr)); 86 EXPECT_EQ(VT_EMPTY, V_VT(&var_bstr)); 87 EXPECT_EQ(VT_BSTR, V_VT(&tmp)); 88 EXPECT_EQ(0, lstrcmp(V_BSTR(&tmp), kTestString2)); 91 EXPECT_EQ(VT_BSTR, V_VT(&var)); 92 EXPECT_EQ(0, lstrcmpW(V_BSTR(&var), kTestString2)); 95 EXPECT_EQ(VT_EMPTY, V_VT(&var)); 96 EXPECT_EQ(VT_BSTR, V_VT(&var_bstr)); 97 EXPECT_EQ(0, lstrcmpW(V_BSTR(&var_bstr), kTestString2)) [all...] |
/external/chromium_org/chrome/browser/ui/find_bar/ |
find_backend_unittest.cc | 43 EXPECT_EQ(base::string16(), FindPrepopulateText(web_contents())); 44 EXPECT_EQ(base::string16(), find_tab_helper->find_text()); 54 EXPECT_EQ(base::string16(), FindPrepopulateText(web_contents())); 55 EXPECT_EQ(base::string16(), find_tab_helper->find_text()); 56 EXPECT_EQ(base::string16(), FindPrepopulateText(contents2.get())); 57 EXPECT_EQ(base::string16(), find_tab_helper2->find_text()); 69 EXPECT_EQ(search_term1, FindPrepopulateText(web_contents())); 70 EXPECT_EQ(search_term1, find_tab_helper->find_text()); 71 EXPECT_EQ(search_term1, FindPrepopulateText(contents2.get())); 72 EXPECT_EQ(base::string16(), find_tab_helper2->find_text()) [all...] |
/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_popup_model_unittest.cc | 21 EXPECT_EQ(contents_width, contents_max_width); 22 EXPECT_EQ(description_width, description_max_width); 31 EXPECT_EQ(contents_width, contents_max_width); 32 EXPECT_EQ(0, description_max_width); 42 EXPECT_EQ(contents_width, contents_max_width); 43 EXPECT_EQ(0, description_max_width); 55 EXPECT_EQ(kMinimumContentsWidth, contents_max_width); 56 EXPECT_EQ(available_width - kMinimumContentsWidth - separator_width, 66 EXPECT_EQ(contents_width, contents_max_width); 67 EXPECT_EQ(0, description_max_width) [all...] |