/external/chromium_org/remoting/base/ |
auth_token_util_unittest.cc | 17 EXPECT_EQ("token", auth_token); 18 EXPECT_EQ("service", auth_service); 22 EXPECT_EQ("token2", auth_token); 23 EXPECT_EQ(std::string(kChromotingTokenDefaultServiceName), auth_service); 26 EXPECT_EQ("", auth_token); 27 EXPECT_EQ("just_service", auth_service); 30 EXPECT_EQ("token:has:colons", auth_token); 31 EXPECT_EQ("yay", auth_service);
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimationHelpersTest.cpp | 14 EXPECT_EQ(CSSPropertyInvalid, camelCaseCSSPropertyNameToID(String("line-height"))); 15 EXPECT_EQ(CSSPropertyLineHeight, camelCaseCSSPropertyNameToID(String("lineHeight"))); 16 EXPECT_EQ(CSSPropertyBorderTopWidth, camelCaseCSSPropertyNameToID(String("borderTopWidth"))); 17 EXPECT_EQ(CSSPropertyWidth, camelCaseCSSPropertyNameToID(String("width"))); 18 EXPECT_EQ(CSSPropertyInvalid, camelCaseCSSPropertyNameToID(String("Width"))); 19 EXPECT_EQ(CSSPropertyInvalid, camelCaseCSSPropertyNameToID(String("-webkit-transform"))); 20 EXPECT_EQ(CSSPropertyInvalid, camelCaseCSSPropertyNameToID(String("webkitTransform"))); 21 EXPECT_EQ(CSSPropertyInvalid, camelCaseCSSPropertyNameToID(String("cssFloat")));
|
/external/chromium_org/base/ |
build_time_unittest.cc | 12 EXPECT_EQ(11u, strlen(build_date)); 13 EXPECT_EQ(' ', build_date[3]); 14 EXPECT_EQ(' ', build_date[6]); 20 EXPECT_EQ(8u, strlen(build_time)); 21 EXPECT_EQ(':', build_time[2]); 22 EXPECT_EQ(':', build_time[5]);
|
bits_unittest.cc | 14 EXPECT_EQ(-1, Log2Floor(0)); 15 EXPECT_EQ(0, Log2Floor(1)); 16 EXPECT_EQ(1, Log2Floor(2)); 17 EXPECT_EQ(1, Log2Floor(3)); 18 EXPECT_EQ(2, Log2Floor(4)); 21 EXPECT_EQ(i, Log2Floor(value)); 22 EXPECT_EQ(i, Log2Floor(value + 1)); 23 EXPECT_EQ(i, Log2Floor(value + 2)); 24 EXPECT_EQ(i - 1, Log2Floor(value - 1)); 25 EXPECT_EQ(i - 1, Log2Floor(value - 2)) [all...] |
/external/chromium_org/sync/syncable/ |
syncable_util_unittest.cc | 15 EXPECT_EQ("OyaXV5mEzrPS4wbogmtKvRfekAI=", 17 EXPECT_EQ("iNFQtRFQb+IZcn1kKUJEZDDkLs4=", 19 EXPECT_EQ("gO1cPZQXaM73sHOvSA+tKCKFs58=", 22 EXPECT_EQ("A0eYIHXM1/jVwKDDp12Up20IkKY=", 24 EXPECT_EQ("XYxkF7bhS4eItStFgiOIAU23swI=", 26 EXPECT_EQ("GFiWzo5NGhjLlN+OyCfhy28DJTQ=",
|
/external/chromium_org/third_party/webrtc/common_audio/resampler/ |
push_resampler_unittest.cc | 20 EXPECT_EQ(-1, resampler.InitializeIfNeeded(-1, 16000, 1)); 21 EXPECT_EQ(-1, resampler.InitializeIfNeeded(16000, -1, 1)); 22 EXPECT_EQ(-1, resampler.InitializeIfNeeded(16000, 16000, 0)); 23 EXPECT_EQ(-1, resampler.InitializeIfNeeded(16000, 16000, 3)); 24 EXPECT_EQ(0, resampler.InitializeIfNeeded(16000, 16000, 1)); 25 EXPECT_EQ(0, resampler.InitializeIfNeeded(16000, 16000, 2));
|
/external/llvm/unittests/ADT/ |
IntEqClassesTest.cpp | 25 EXPECT_EQ(0u, ec.findLeader(0)); 26 EXPECT_EQ(0u, ec.findLeader(1)); 27 EXPECT_EQ(2u, ec.findLeader(2)); 28 EXPECT_EQ(2u, ec.findLeader(3)); 29 EXPECT_EQ(4u, ec.findLeader(4)); 30 EXPECT_EQ(4u, ec.findLeader(5)); 31 EXPECT_EQ(6u, ec.findLeader(6)); 32 EXPECT_EQ(6u, ec.findLeader(7)); 33 EXPECT_EQ(8u, ec.findLeader(8)); 34 EXPECT_EQ(9u, ec.findLeader(9)) [all...] |
APIntTest.cpp | 29 EXPECT_EQ(126u, Minus3.countLeadingOnes()); 30 EXPECT_EQ(-3, Minus3.getSExtValue()); 33 EXPECT_EQ(0u, Minus1.countLeadingZeros()); 34 EXPECT_EQ(128u, Minus1.countLeadingOnes()); 35 EXPECT_EQ(128u, Minus1.getActiveBits()); 36 EXPECT_EQ(0u, Minus1.countTrailingZeros()); 37 EXPECT_EQ(128u, Minus1.countTrailingOnes()); 38 EXPECT_EQ(128u, Minus1.countPopulation()); 39 EXPECT_EQ(-1, Minus1.getSExtValue()); 47 EXPECT_EQ(0u, i33minus2.countLeadingZeros()) [all...] |
/sdk/emulator/opengl/shared/emugl/common/ |
smart_ptr_unittest.cpp | 67 EXPECT_EQ(0, mNewCount); 68 EXPECT_EQ(0, mDeleteCount); 69 EXPECT_EQ(0, mDoCount); 75 EXPECT_EQ(1, mNewCount); 79 EXPECT_EQ(obj, ptr.Ptr()); 81 EXPECT_EQ(1, mNewCount); 82 EXPECT_EQ(0, mDeleteCount); 83 EXPECT_EQ(0, mDoCount); 86 EXPECT_EQ(1, mDeleteCount); 92 EXPECT_EQ(1, mNewCount) [all...] |
/external/chromium_org/third_party/mesa/src/src/glx/tests/ |
enum_sizes.cpp | 44 EXPECT_EQ(1, __glCallLists_size(GL_BYTE)); 45 EXPECT_EQ(1, __glCallLists_size(GL_UNSIGNED_BYTE)); 46 EXPECT_EQ(2, __glCallLists_size(GL_SHORT)); 47 EXPECT_EQ(2, __glCallLists_size(GL_UNSIGNED_SHORT)); 48 EXPECT_EQ(2, __glCallLists_size(GL_2_BYTES)); 49 EXPECT_EQ(2, __glCallLists_size(GL_HALF_FLOAT)); 50 EXPECT_EQ(3, __glCallLists_size(GL_3_BYTES)); 51 EXPECT_EQ(4, __glCallLists_size(GL_INT)); 52 EXPECT_EQ(4, __glCallLists_size(GL_UNSIGNED_INT)); 53 EXPECT_EQ(4, __glCallLists_size(GL_FLOAT)) [all...] |
/external/mesa3d/src/glx/tests/ |
enum_sizes.cpp | 44 EXPECT_EQ(1, __glCallLists_size(GL_BYTE)); 45 EXPECT_EQ(1, __glCallLists_size(GL_UNSIGNED_BYTE)); 46 EXPECT_EQ(2, __glCallLists_size(GL_SHORT)); 47 EXPECT_EQ(2, __glCallLists_size(GL_UNSIGNED_SHORT)); 48 EXPECT_EQ(2, __glCallLists_size(GL_2_BYTES)); 49 EXPECT_EQ(2, __glCallLists_size(GL_HALF_FLOAT)); 50 EXPECT_EQ(3, __glCallLists_size(GL_3_BYTES)); 51 EXPECT_EQ(4, __glCallLists_size(GL_INT)); 52 EXPECT_EQ(4, __glCallLists_size(GL_UNSIGNED_INT)); 53 EXPECT_EQ(4, __glCallLists_size(GL_FLOAT)) [all...] |
/frameworks/native/libs/ui/tests/ |
vec_test.cpp | 36 EXPECT_EQ(sizeof(vec4), sizeof(float)*4); 37 EXPECT_EQ(sizeof(vec3), sizeof(float)*3); 38 EXPECT_EQ(sizeof(vec2), sizeof(float)*2); 39 EXPECT_EQ((void*)&v3, (void*)&v4); 44 EXPECT_EQ(v0.x, 0); 45 EXPECT_EQ(v0.y, 0); 46 EXPECT_EQ(v0.z, 0); 47 EXPECT_EQ(v0.w, 0); 50 EXPECT_EQ(v1.x, 1); 51 EXPECT_EQ(v1.y, 1) [all...] |
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
ntp_user_data_logger_unittest.cc | 43 EXPECT_EQ(0, GetTotalCount("NewTabPage.NumberOfMouseOvers")); 44 EXPECT_EQ(0, GetBinCount("NewTabPage.NumberOfMouseOvers", 0)); 67 EXPECT_EQ(1, GetTotalCount("NewTabPage.NumberOfMouseOvers")); 68 EXPECT_EQ(0, GetBinCount("NewTabPage.NumberOfMouseOvers", 0)); 69 EXPECT_EQ(1, GetBinCount("NewTabPage.NumberOfMouseOvers", 20)); 70 EXPECT_EQ(1, GetTotalCount("NewTabPage.NumberOfTiles")); 71 EXPECT_EQ(1, GetBinCount("NewTabPage.NumberOfTiles", 8)); 72 EXPECT_EQ(1, GetTotalCount("NewTabPage.NumberOfThumbnailTiles")); 73 EXPECT_EQ(1, GetBinCount("NewTabPage.NumberOfThumbnailTiles", 4)); 74 EXPECT_EQ(1, GetTotalCount("NewTabPage.NumberOfThumbnailErrors")) [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/util/ |
string_util_test.cc | 23 EXPECT_EQ(0U, r.size()); 27 EXPECT_EQ(r[0], "a"); 28 EXPECT_EQ(r[1], "b"); 29 EXPECT_EQ(r[2], "c"); 33 EXPECT_EQ(r[0], "a"); 34 EXPECT_EQ(r[1], " b"); 35 EXPECT_EQ(r[2], " c"); 39 EXPECT_EQ(r[0], "a"); 40 EXPECT_EQ(r[1], ""); 41 EXPECT_EQ(r[2], "c") [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/test/util/ |
string_split_unittest.cc | 23 EXPECT_EQ(0U, r.size()); 27 EXPECT_EQ(r[0], "a"); 28 EXPECT_EQ(r[1], "b"); 29 EXPECT_EQ(r[2], "c"); 33 EXPECT_EQ(r[0], "a"); 34 EXPECT_EQ(r[1], " b"); 35 EXPECT_EQ(r[2], " c"); 39 EXPECT_EQ(r[0], "a"); 40 EXPECT_EQ(r[1], ""); 41 EXPECT_EQ(r[2], "c") [all...] |
/external/llvm/unittests/Support/ |
raw_ostream_test.cpp | 52 EXPECT_EQ("c", printToString('c')); 55 EXPECT_EQ("hello", printToString("hello")); 56 EXPECT_EQ("hello", printToString(std::string("hello"))); 59 EXPECT_EQ("0", printToString(0)); 60 EXPECT_EQ("2425", printToString(2425)); 61 EXPECT_EQ("-2425", printToString(-2425)); 64 EXPECT_EQ("0", printToString(0LL)); 65 EXPECT_EQ("257257257235709", printToString(257257257235709LL)); 66 EXPECT_EQ("-257257257235709", printToString(-257257257235709LL)); 69 EXPECT_EQ("1.100000e+00", printToString(1.1)) [all...] |
/external/chromium_org/media/base/ |
audio_video_metadata_extractor_unittest.cc | 29 EXPECT_EQ(expected_result, extracted); 34 EXPECT_EQ(expected_duration, extractor->duration()); 36 EXPECT_EQ(expected_width, extractor->width()); 37 EXPECT_EQ(expected_height, extractor->height()); 49 EXPECT_EQ("Processed by SoX", extractor->comment()); 51 EXPECT_EQ("ogg", extractor->stream_infos()[0].type); 52 EXPECT_EQ(2u, extractor->stream_infos().size()); 54 EXPECT_EQ(0u, extractor->stream_infos()[0].tags.size()); 56 EXPECT_EQ(1u, extractor->stream_infos()[1].tags.size()); 57 EXPECT_EQ("vorbis", extractor->stream_infos()[1].type) [all...] |
/external/chromium_org/ash/display/ |
display_info_unittest.cc | 15 EXPECT_EQ(10, info.id()); 16 EXPECT_EQ("0,0 200x100", info.bounds_in_native().ToString()); 17 EXPECT_EQ("200x100", info.size_in_pixel().ToString()); 18 EXPECT_EQ(gfx::Display::ROTATE_0, info.rotation()); 19 EXPECT_EQ("0,0,0,0", info.overscan_insets_in_dip().ToString()); 20 EXPECT_EQ(1.0f, info.configured_ui_scale()); 23 EXPECT_EQ("10,20 300x400", info.bounds_in_native().ToString()); 24 EXPECT_EQ("288x380", info.size_in_pixel().ToString()); 25 EXPECT_EQ(gfx::Display::ROTATE_0, info.rotation()); 26 EXPECT_EQ("5,3,5,3", info.overscan_insets_in_dip().ToString()) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
byteorder_unittest.cc | 40 EXPECT_EQ(0xfb, buf[0]); 41 EXPECT_EQ(0x12, buf[1]); 43 EXPECT_EQ(0x12, buf[0]); 44 EXPECT_EQ(0x34, buf[1]); 46 EXPECT_EQ(0x34, buf[0]); 47 EXPECT_EQ(0x12, buf[1]); 49 EXPECT_EQ(0x12, buf[0]); 50 EXPECT_EQ(0x34, buf[1]); 51 EXPECT_EQ(0x56, buf[2]); 52 EXPECT_EQ(0x78, buf[3]) [all...] |
/external/chromium_org/third_party/webrtc/base/ |
byteorder_unittest.cc | 23 EXPECT_EQ(0xfb, buf[0]); 24 EXPECT_EQ(0x12, buf[1]); 26 EXPECT_EQ(0x12, buf[0]); 27 EXPECT_EQ(0x34, buf[1]); 29 EXPECT_EQ(0x34, buf[0]); 30 EXPECT_EQ(0x12, buf[1]); 32 EXPECT_EQ(0x12, buf[0]); 33 EXPECT_EQ(0x34, buf[1]); 34 EXPECT_EQ(0x56, buf[2]); 35 EXPECT_EQ(0x78, buf[3]) [all...] |
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
rtp_header_extension_unittest.cc | 36 EXPECT_EQ(0, map_.Size()); 37 EXPECT_EQ(0, map_.Register(kRtpExtensionTransmissionTimeOffset, kId)); 38 EXPECT_EQ(1, map_.Size()); 39 EXPECT_EQ(0, map_.Deregister(kRtpExtensionTransmissionTimeOffset)); 40 EXPECT_EQ(0, map_.Size()); 45 EXPECT_EQ(-1, map_.Register(kRtpExtensionTransmissionTimeOffset, 0)); 46 EXPECT_EQ(-1, map_.Register(kRtpExtensionTransmissionTimeOffset, 15)); 50 EXPECT_EQ(0, map_.Register(kRtpExtensionTransmissionTimeOffset, kId)); 51 EXPECT_EQ(0, map_.Register(kRtpExtensionTransmissionTimeOffset, kId)); 52 EXPECT_EQ(0, map_.Deregister(kRtpExtensionTransmissionTimeOffset)) [all...] |
/external/chromium_org/net/spdy/ |
spdy_http_utils_unittest.cc | 15 EXPECT_EQ(0, ConvertRequestPriorityToSpdyPriority(HIGHEST, SPDY2)); 16 EXPECT_EQ(1, ConvertRequestPriorityToSpdyPriority(MEDIUM, SPDY2)); 17 EXPECT_EQ(2, ConvertRequestPriorityToSpdyPriority(LOW, SPDY2)); 18 EXPECT_EQ(2, ConvertRequestPriorityToSpdyPriority(LOWEST, SPDY2)); 19 EXPECT_EQ(3, ConvertRequestPriorityToSpdyPriority(IDLE, SPDY2)); 23 EXPECT_EQ(0, ConvertRequestPriorityToSpdyPriority(HIGHEST, SPDY3)); 24 EXPECT_EQ(1, ConvertRequestPriorityToSpdyPriority(MEDIUM, SPDY3)); 25 EXPECT_EQ(2, ConvertRequestPriorityToSpdyPriority(LOW, SPDY3)); 26 EXPECT_EQ(3, ConvertRequestPriorityToSpdyPriority(LOWEST, SPDY3)); 27 EXPECT_EQ(4, ConvertRequestPriorityToSpdyPriority(IDLE, SPDY3)) [all...] |
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_flags_test.cc | 33 EXPECT_EQ(66, f.exitcode); 34 EXPECT_EQ(true, f.enable_annotations); 128 EXPECT_EQ(f->enable_annotations, 0); 129 EXPECT_EQ(f->suppress_equal_stacks, 0); 130 EXPECT_EQ(f->suppress_equal_addresses, 0); 131 EXPECT_EQ(f->suppress_java, 0); 132 EXPECT_EQ(f->report_bugs, 0); 133 EXPECT_EQ(f->report_thread_leaks, 0); 134 EXPECT_EQ(f->report_destroy_locked, 0); 135 EXPECT_EQ(f->report_mutex_bugs, 0) [all...] |
/external/chromium_org/net/base/registry_controlled_domains/ |
registry_controlled_domain_unittest.cc | 92 EXPECT_EQ("baz.jp", GetDomainFromURL("http://a.baz.jp/file.html")); // 1 93 EXPECT_EQ("baz.jp.", GetDomainFromURL("http://a.baz.jp./file.html")); // 1 94 EXPECT_EQ("", GetDomainFromURL("http://ac.jp")); // 2 95 EXPECT_EQ("", GetDomainFromURL("http://a.bar.jp")); // 3 96 EXPECT_EQ("", GetDomainFromURL("http://bar.jp")); // 3 97 EXPECT_EQ("", GetDomainFromURL("http://baz.bar.jp")); // 3 4 98 EXPECT_EQ("a.b.baz.bar.jp", GetDomainFromURL("http://a.b.baz.bar.jp")); 100 EXPECT_EQ("pref.bar.jp", GetDomainFromURL("http://baz.pref.bar.jp")); // 5 101 EXPECT_EQ("b.bar.baz.com.", GetDomainFromURL("http://a.b.bar.baz.com.")); 103 EXPECT_EQ("a.d.c", GetDomainFromURL("http://a.d.c")); // [all...] |
/external/sqlite/android/ |
PhoneNumberUtilsTest.cpp | 51 #define EXPECT_EQ(input1, input2) \ 80 EXPECT_EQ(NULL, NULL); 81 EXPECT_EQ("", NULL); 82 EXPECT_EQ(NULL, ""); 83 EXPECT_EQ("", ""); 85 EXPECT_EQ("999", "999"); 86 EXPECT_EQ("119", "119"); 94 EXPECT_EQ("650-253-0000", "6502530000"); 95 EXPECT_EQ("650-253-0000", "650 253 0000"); 96 EXPECT_EQ("650 253 0000", "6502530000") [all...] |