/external/chromium_org/net/base/ |
int128_unittest.cc | 27 EXPECT_EQ(one, one_2arg); 40 EXPECT_EQ(big, ~~big); 41 EXPECT_EQ(one, one | one); 42 EXPECT_EQ(big, big | big); 43 EXPECT_EQ(one, one | zero); 44 EXPECT_EQ(one, one & one); 45 EXPECT_EQ(big, big & big); 46 EXPECT_EQ(zero, one & zero); 47 EXPECT_EQ(zero, big & ~big); 48 EXPECT_EQ(zero, one ^ one) [all...] |
/external/chromium_org/net/spdy/ |
hpack_input_stream_test.cc | 80 EXPECT_EQ(0x00u, DecodeValidUint32(8, string("\x00", 1))); 81 EXPECT_EQ(0x7fu, DecodeValidUint32(8, "\x7f")); 83 EXPECT_EQ(0xfeu, DecodeValidUint32(8, "\xfe")); 90 EXPECT_EQ(0xffu, DecodeValidUint32(8, string("\xff\x00", 2))); 91 EXPECT_EQ(0x0100u, DecodeValidUint32(8, "\xff\x01")); 93 EXPECT_EQ(0x017eu, DecodeValidUint32(8, "\xff\x7f")); 101 EXPECT_EQ(0x017fu, DecodeValidUint32(8, "\xff\x80\x01")); 102 EXPECT_EQ(0x0fffu, DecodeValidUint32(8, "\xff\x80\x1e")); 104 EXPECT_EQ(0x40feu, DecodeValidUint32(8, "\xff\xff\x7f")); 114 EXPECT_EQ(0x40ffu, DecodeValidUint32(8, "\xff\x80\x80\x01")) [all...] |
spdy_protocol_test.cc | 46 EXPECT_EQ(1, SYN_STREAM); 47 EXPECT_EQ(2, SYN_REPLY); 48 EXPECT_EQ(3, RST_STREAM); 49 EXPECT_EQ(4, SETTINGS); 50 EXPECT_EQ(5, NOOP); 51 EXPECT_EQ(6, PING); 52 EXPECT_EQ(7, GOAWAY); 53 EXPECT_EQ(8, HEADERS); 54 EXPECT_EQ(9, WINDOW_UPDATE); 55 EXPECT_EQ(10, CREDENTIAL) [all...] |
/external/chromium_org/net/websockets/ |
websocket_errors_test.cc | 17 EXPECT_EQ(OK, WebSocketErrorToNetError(kWebSocketNormalClosure)); 18 EXPECT_EQ(ERR_WS_PROTOCOL_ERROR, 20 EXPECT_EQ(ERR_MSG_TOO_BIG, 22 EXPECT_EQ(ERR_CONNECTION_CLOSED, 24 EXPECT_EQ(ERR_SSL_PROTOCOL_ERROR,
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/ |
java_doc_comment_unittest.cc | 44 EXPECT_EQ("foo /* bar */ baz", EscapeJavadoc("foo /* bar */ baz")); 45 EXPECT_EQ("foo /*/ baz", EscapeJavadoc("foo /*/ baz")); 46 EXPECT_EQ("{@foo}", EscapeJavadoc("{@foo}")); 47 EXPECT_EQ("<i>&</i>", EscapeJavadoc("<i>&</i>")); 48 EXPECT_EQ("foo\u1234bar", EscapeJavadoc("foo\\u1234bar"));
|
/external/chromium_org/skia/ext/ |
refptr_unittest.cc | 14 EXPECT_EQ(1, ref->getRefCnt()); 19 EXPECT_EQ(1, ref->getRefCnt()); 20 EXPECT_EQ(1, refptr1->getRefCnt()); 22 EXPECT_EQ(ref, &*refptr1); 23 EXPECT_EQ(ref, refptr1.get()); 28 EXPECT_EQ(2, ref->getRefCnt()); 35 EXPECT_EQ(3, ref->getRefCnt()); 39 EXPECT_EQ(3, ref->getRefCnt()); 44 EXPECT_EQ(2, ref->getRefCnt()); 47 EXPECT_EQ(NULL, refptr2.get()) [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/ |
opus_unittest.cc | 71 EXPECT_EQ(-1, WebRtcOpus_EncoderCreate(NULL, 1)); 72 EXPECT_EQ(-1, WebRtcOpus_EncoderCreate(&opus_mono_encoder_, 3)); 73 EXPECT_EQ(-1, WebRtcOpus_DecoderCreate(NULL, 1)); 74 EXPECT_EQ(-1, WebRtcOpus_DecoderCreate(&opus_mono_decoder_, 3)); 80 EXPECT_EQ(-1, WebRtcOpus_EncoderFree(NULL)); 81 EXPECT_EQ(-1, WebRtcOpus_DecoderFree(NULL)); 86 EXPECT_EQ(0, WebRtcOpus_EncoderCreate(&opus_mono_encoder_, 1)); 87 EXPECT_EQ(0, WebRtcOpus_DecoderCreate(&opus_mono_decoder_, 1)); 88 EXPECT_EQ(0, WebRtcOpus_EncoderCreate(&opus_stereo_encoder_, 2)); 89 EXPECT_EQ(0, WebRtcOpus_DecoderCreate(&opus_stereo_decoder_, 2)) [all...] |
/external/llvm/unittests/Support/ |
LEB128Test.cpp | 28 EXPECT_EQ(Expected, Actual); \ 54 EXPECT_EQ(Expected, Actual1); \ 60 EXPECT_EQ(Expected, Actual2); \ 93 EXPECT_EQ(sizeof(VALUE) - 1, ActualSize); \ 94 EXPECT_EQ(EXPECTED, Actual); \ 129 EXPECT_EQ(1u, getSLEB128Size(0x0LL)); 130 EXPECT_EQ(1u, getSLEB128Size(0x1LL)); 131 EXPECT_EQ(1u, getSLEB128Size(0x3fLL)); 132 EXPECT_EQ(1u, getSLEB128Size(0x3fLL)); 133 EXPECT_EQ(2u, getSLEB128Size(0x40LL)) [all...] |
/external/llvm/unittests/ADT/ |
SmallStringTest.cpp | 33 EXPECT_EQ(0u, v.size()); 49 EXPECT_EQ(3u, theString.size()); 56 EXPECT_EQ(3u, theString.size()); 63 EXPECT_EQ(3u, theString.size()); 71 EXPECT_EQ(3u, theString.size()); 79 EXPECT_EQ(6u, theString.size()); 87 EXPECT_EQ(6u, theString.size()); 96 EXPECT_EQ(6u, theString.size()); 102 EXPECT_EQ("lo", theString.substr(3)); 103 EXPECT_EQ("", theString.substr(100)) [all...] |
/external/chromium_org/tools/gn/ |
filesystem_utils_unittest.cc | 12 EXPECT_EQ(std::string::npos, FindExtensionOffset("")); 13 EXPECT_EQ(std::string::npos, FindExtensionOffset("foo/bar/baz")); 14 EXPECT_EQ(4u, FindExtensionOffset("foo.")); 15 EXPECT_EQ(4u, FindExtensionOffset("f.o.bar")); 16 EXPECT_EQ(std::string::npos, FindExtensionOffset("foo.bar/")); 17 EXPECT_EQ(std::string::npos, FindExtensionOffset("foo.bar/baz")); 22 EXPECT_EQ("", FindExtension(&input).as_string()); 24 EXPECT_EQ("", FindExtension(&input).as_string()); 26 EXPECT_EQ("", FindExtension(&input).as_string()); 28 EXPECT_EQ("bar", FindExtension(&input).as_string()) [all...] |
/external/chromium_org/sdch/open-vcdiff/src/ |
instruction_map_test.cc | 147 EXPECT_EQ(inst, g_exercise_code_table_->inst2[found_opcode]); 148 EXPECT_EQ(size, g_exercise_code_table_->size2[found_opcode]); 149 EXPECT_EQ(mode, g_exercise_code_table_->mode2[found_opcode]); 150 EXPECT_EQ(VCD_NOOP, g_exercise_code_table_->inst1[found_opcode]); 151 EXPECT_EQ(0, g_exercise_code_table_->size1[found_opcode]); 152 EXPECT_EQ(0, g_exercise_code_table_->mode1[found_opcode]); 154 EXPECT_EQ(expected_opcode, found_opcode); 155 EXPECT_EQ(inst, g_exercise_code_table_->inst1[found_opcode]); 156 EXPECT_EQ(size, g_exercise_code_table_->size1[found_opcode]); 157 EXPECT_EQ(mode, g_exercise_code_table_->mode1[found_opcode]) [all...] |
/external/chromium_org/ui/gfx/animation/ |
tween_unittest.cc | 65 EXPECT_EQ(0, Tween::IntValueBetween(0.0, 0, 2)); 66 EXPECT_EQ(0, Tween::IntValueBetween(0.5 / 3.0, 0, 2)); 67 EXPECT_EQ(0, Tween::IntValueBetween(1.0 / 3.0, 0, 2)); 69 EXPECT_EQ(1, Tween::IntValueBetween(next_double(1.0 / 3.0), 0, 2)); 70 EXPECT_EQ(1, Tween::IntValueBetween(1.5 / 3.0, 0, 2)); 71 EXPECT_EQ(1, Tween::IntValueBetween(2.0 / 3.0, 0, 2)); 73 EXPECT_EQ(2, Tween::IntValueBetween(next_double(2.0 / 3.0), 0, 2)); 74 EXPECT_EQ(2, Tween::IntValueBetween(2.5 / 3.0, 0, 2)); 75 EXPECT_EQ(2, Tween::IntValueBetween(3.0 / 3.0, 0, 2)); 79 EXPECT_EQ(-2, Tween::IntValueBetween(0.0, -2, 0)) [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
hdmx_test.cc | 43 EXPECT_EQ(hdmx_table->Version(), HDMX_VERSION); 44 EXPECT_EQ(hdmx_table->NumRecords(), HDMX_NUM_RECORDS); 45 EXPECT_EQ(hdmx_table->RecordSize(), HDMX_RECORD_SIZE); 48 EXPECT_EQ(hdmx_table->PixelSize(i), HDMX_PIXEL_SIZE[i]); 49 EXPECT_EQ(hdmx_table->MaxWidth(i), HDMX_MAX_WIDTH[i]); 52 EXPECT_EQ(hdmx_table->Width(0, 0), HDMX_MAX_WIDTH[0]); 53 EXPECT_EQ(hdmx_table->Width(0, 19), HDMX_MAX_WIDTH[0]); 54 EXPECT_EQ(hdmx_table->Width(0, 623), HDMX_MAX_WIDTH[0]); 55 EXPECT_EQ(hdmx_table->Width(1, 0), HDMX_MAX_WIDTH[1]); 56 EXPECT_EQ(hdmx_table->Width(1, 19), HDMX_MAX_WIDTH[1]) [all...] |
/external/sfntly/cpp/src/test/ |
hdmx_test.cc | 43 EXPECT_EQ(hdmx_table->Version(), HDMX_VERSION); 44 EXPECT_EQ(hdmx_table->NumRecords(), HDMX_NUM_RECORDS); 45 EXPECT_EQ(hdmx_table->RecordSize(), HDMX_RECORD_SIZE); 48 EXPECT_EQ(hdmx_table->PixelSize(i), HDMX_PIXEL_SIZE[i]); 49 EXPECT_EQ(hdmx_table->MaxWidth(i), HDMX_MAX_WIDTH[i]); 52 EXPECT_EQ(hdmx_table->Width(0, 0), HDMX_MAX_WIDTH[0]); 53 EXPECT_EQ(hdmx_table->Width(0, 19), HDMX_MAX_WIDTH[0]); 54 EXPECT_EQ(hdmx_table->Width(0, 623), HDMX_MAX_WIDTH[0]); 55 EXPECT_EQ(hdmx_table->Width(1, 0), HDMX_MAX_WIDTH[1]); 56 EXPECT_EQ(hdmx_table->Width(1, 19), HDMX_MAX_WIDTH[1]) [all...] |
/external/chromium_org/chrome/browser/ui/views/passwords/ |
manage_passwords_icon_view_browsertest.cc | 18 EXPECT_EQ(password_manager::ui::INACTIVE_STATE, view()->state()); 20 EXPECT_EQ(0, view()->icon_id()); 21 EXPECT_EQ(0, view()->tooltip_text_id()); 23 EXPECT_EQ(0, view()->icon_id()); 25 EXPECT_EQ(0, view()->icon_id()); 30 EXPECT_EQ(password_manager::ui::PENDING_PASSWORD_STATE, view()->state()); 33 EXPECT_EQ(IDR_SAVE_PASSWORD_ACTIVE, view()->icon_id()); 34 EXPECT_EQ(IDS_PASSWORD_MANAGER_TOOLTIP_SAVE, view()->tooltip_text_id()); 36 EXPECT_EQ(IDR_SAVE_PASSWORD_INACTIVE, view()->icon_id()); 41 EXPECT_EQ(password_manager::ui::MANAGE_STATE, view()->state()) [all...] |
/external/chromium_org/third_party/cld/encodings/compact_lang_det/ |
compact_lang_det_unittest_small.cc | 444 EXPECT_EQ(ENGLISH, TestCompactLangDetPlain(kTeststr_en)); 445 EXPECT_EQ(HINDI, TestCompactLangDetPlain(kTeststr_hi_Deva)); 453 //// EXPECT_EQ(AFAR, TestCompactLangDetPlain(kTeststr_aa_Latn)); 454 //// EXPECT_EQ(ABKHAZIAN, TestCompactLangDetPlain(kTeststr_ab_Cyrl)); 455 EXPECT_EQ(AFRIKAANS, TestCompactLangDetPlain(kTeststr_af_Latn)); 456 //// EXPECT_EQ(AMHARIC, TestCompactLangDetPlain(kTeststr_am_Ethi)); 457 EXPECT_EQ(ARABIC, TestCompactLangDetPlain(kTeststr_ar_Arab)); 458 //// EXPECT_EQ(ASSAMESE, TestCompactLangDetPlain(kTeststr_as_Beng)); 459 //// EXPECT_EQ(AYMARA, TestCompactLangDetPlain(kTeststr_ay_Latn)); 461 // EXPECT_EQ(AZERBAIJANI, TestCompactLangDetPlain(kTeststr_az_Arab)) [all...] |
/ndk/sources/android/support/tests/ |
stdio_unittest.cc | 10 EXPECT_EQ(2, snprintf(char_buff, char_buff_len, "ab")); 11 EXPECT_EQ(5, snprintf(char_buff, char_buff_len, "%s", "abcde")); 13 EXPECT_EQ(12, snprintf(char_buff, char_buff_len, "%s", kString)); 14 EXPECT_EQ(12, snprintf(char_buff, 13, "%s", kString)); 16 EXPECT_EQ(12, snprintf(char_buff, 12, "%s", kString)); 17 EXPECT_EQ(L'\0', char_buff[11]); 18 EXPECT_EQ(12, snprintf(char_buff, 1, "%s", kString)); 19 EXPECT_EQ(L'\0', char_buff[0]); 21 EXPECT_EQ(20, snprintf(char_buff, char_buff_len, "%a", 3.1415926535)); 29 EXPECT_EQ(1, sscanf("0x1p-2", "%a", &f)) [all...] |
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
mime_util_unittest.cc | 14 EXPECT_EQ("image/jpeg", 16 EXPECT_EQ("image/jpeg", 18 EXPECT_EQ("",
|
/external/chromium_org/chrome/browser/history/android/ |
android_history_types_unittest.cc | 12 EXPECT_EQ(HistoryAndBookmarkRow::ID, 14 EXPECT_EQ(HistoryAndBookmarkRow::URL, 16 EXPECT_EQ(HistoryAndBookmarkRow::TITLE, 18 EXPECT_EQ(HistoryAndBookmarkRow::CREATED, 20 EXPECT_EQ(HistoryAndBookmarkRow::LAST_VISIT_TIME, 22 EXPECT_EQ(HistoryAndBookmarkRow::VISIT_COUNT, 24 EXPECT_EQ(HistoryAndBookmarkRow::FAVICON, 26 EXPECT_EQ(HistoryAndBookmarkRow::BOOKMARK, 28 EXPECT_EQ(HistoryAndBookmarkRow::RAW_URL, 33 EXPECT_EQ(SearchRow::ID, SearchRow::GetColumnID("_id")) [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
call_statistics_unittest.cc | 23 EXPECT_EQ(0, stats.calls_to_neteq); 24 EXPECT_EQ(0, stats.calls_to_silence_generator); 25 EXPECT_EQ(0, stats.decoded_normal); 26 EXPECT_EQ(0, stats.decoded_cng); 27 EXPECT_EQ(0, stats.decoded_plc); 28 EXPECT_EQ(0, stats.decoded_plc_cng); 42 EXPECT_EQ(4, stats.calls_to_neteq); 43 EXPECT_EQ(1, stats.calls_to_silence_generator); 44 EXPECT_EQ(1, stats.decoded_normal); 45 EXPECT_EQ(1, stats.decoded_cng) [all...] |
/external/protobuf/gtest/samples/ |
sample4_unittest.cc | 39 // EXPECT_EQ() evaluates its arguments exactly once, so they 42 EXPECT_EQ(0, c.Increment()); 43 EXPECT_EQ(1, c.Increment()); 44 EXPECT_EQ(2, c.Increment());
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videocommon_unittest.cc | 35 EXPECT_EQ(FOURCC_I420, CanonicalFourCC(FOURCC_I420)); 37 EXPECT_EQ(FOURCC_ANY, CanonicalFourCC(FOURCC_ANY)); 39 EXPECT_EQ(FOURCC_I420, CanonicalFourCC(FOURCC_IYUV)); 40 EXPECT_EQ(FOURCC_I422, CanonicalFourCC(FOURCC_YU16)); 41 EXPECT_EQ(FOURCC_I444, CanonicalFourCC(FOURCC_YU24)); 42 EXPECT_EQ(FOURCC_YUY2, CanonicalFourCC(FOURCC_YUYV)); 43 EXPECT_EQ(FOURCC_YUY2, CanonicalFourCC(FOURCC_YUVS)); 44 EXPECT_EQ(FOURCC_UYVY, CanonicalFourCC(FOURCC_HDYC)); 45 EXPECT_EQ(FOURCC_UYVY, CanonicalFourCC(FOURCC_2VUY)); 46 EXPECT_EQ(FOURCC_MJPG, CanonicalFourCC(FOURCC_JPEG)) [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_printf_test.cc | 30 EXPECT_EQ(len, strlen(buf)); 44 EXPECT_EQ(len, (uptr)6); 46 EXPECT_EQ(buf[3], 0); 47 EXPECT_EQ(buf[4], '5'); 48 EXPECT_EQ(buf[5], '6'); 49 EXPECT_EQ(buf[6], '7'); 50 EXPECT_EQ(buf[7], '8'); 51 EXPECT_EQ(buf[8], '9'); 52 EXPECT_EQ(buf[9], 0); 59 EXPECT_EQ(buf[3], 0) [all...] |
/external/chromium_org/chrome/browser/chromeos/ |
version_loader_unittest.cc | 23 EXPECT_EQ("", VersionLoader::ParseFirmware(kTest10)); 24 EXPECT_EQ("", VersionLoader::ParseFirmware(kTest11)); 25 EXPECT_EQ("", VersionLoader::ParseFirmware(kTest12)); 26 EXPECT_EQ("0.2.3.3", VersionLoader::ParseFirmware(kTest13)); 27 EXPECT_EQ("0.2.3.3", VersionLoader::ParseFirmware(kTest14)); 28 EXPECT_EQ("0.2.3.3", VersionLoader::ParseFirmware(kTest15));
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
WebSelectorTest.cpp | 44 EXPECT_EQ("h1, h2[style=\"foobar\"] span", canonicalizeSelector("h1,h2[style='foobar'] span").utf8()); 45 EXPECT_EQ("h1, h2[style=\"foobar\"] span", canonicalizeSelector("h1, h2[style=\"foobar\"] span").utf8()); 50 EXPECT_EQ("", canonicalizeSelector("h1..h2").utf8()); 51 EXPECT_EQ("", canonicalizeSelector("h1..h2", WebSelectorTypeCompound).utf8()); 56 EXPECT_EQ("", canonicalizeSelector("h1 span,h2", WebSelectorTypeCompound).utf8()); 57 EXPECT_EQ("h1, h2[style=\"foobar\"].cls", canonicalizeSelector("h1,h2[style=\"foobar\"].cls", WebSelectorTypeCompound).utf8());
|