Searched refs:EXPECT_EQ (Results 1 - 25 of 4984) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/webrtc/common_audio/vad/
H A Dvad_gmm_unittest.cc24 EXPECT_EQ(1048576, WebRtcVad_GaussianProbability(0, 0, 128, &delta));
25 EXPECT_EQ(0, delta);
26 EXPECT_EQ(1048576, WebRtcVad_GaussianProbability(16, 128, 128, &delta));
27 EXPECT_EQ(0, delta);
28 EXPECT_EQ(1048576, WebRtcVad_GaussianProbability(-16, -128, 128, &delta));
29 EXPECT_EQ(0, delta);
32 EXPECT_EQ(1024, WebRtcVad_GaussianProbability(59, 0, 128, &delta));
33 EXPECT_EQ(7552, delta);
34 EXPECT_EQ(1024, WebRtcVad_GaussianProbability(75, 128, 128, &delta));
35 EXPECT_EQ(755
[all...]
/external/chromium_org/ui/display/chromeos/x11/
H A Ddisplay_util_x11_unittest.cc13 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_INTERNAL,
15 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_INTERNAL,
17 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_INTERNAL,
19 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_INTERNAL,
21 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_INTERNAL,
23 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_INTERNAL,
26 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_VGA,
28 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_VGA,
30 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_HDMI,
32 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_HDM
[all...]
/external/chromium_org/printing/
H A Dunits_unittest.cc12 EXPECT_EQ(100, ConvertUnit(100, 100, 100));
13 EXPECT_EQ(-100, ConvertUnit(-100, 100, 100));
14 EXPECT_EQ(0, ConvertUnit(0, 100, 100));
15 EXPECT_EQ(99, ConvertUnit(99, 100, 100));
16 EXPECT_EQ(101, ConvertUnit(101, 100, 100));
17 EXPECT_EQ(99900, ConvertUnit(999, 10, 1000));
18 EXPECT_EQ(100100, ConvertUnit(1001, 10, 1000));
21 EXPECT_EQ(10, ConvertUnit(999, 1000, 10));
22 EXPECT_EQ(10, ConvertUnit(950, 1000, 10));
23 EXPECT_EQ(
[all...]
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DMemoryInfo.cpp43 EXPECT_EQ(10000000u, quantizeMemorySize(1024));
44 EXPECT_EQ(10000000u, quantizeMemorySize(1024 * 1024));
45 EXPECT_EQ(410000000u, quantizeMemorySize(389472983));
46 EXPECT_EQ(39600000u, quantizeMemorySize(38947298));
47 EXPECT_EQ(29400000u, quantizeMemorySize(28947298));
48 EXPECT_EQ(19300000u, quantizeMemorySize(18947298));
49 EXPECT_EQ(14300000u, quantizeMemorySize(13947298));
50 EXPECT_EQ(10000000u, quantizeMemorySize(3894729));
51 EXPECT_EQ(10000000u, quantizeMemorySize(389472));
52 EXPECT_EQ(1000000
[all...]
/external/chromium_org/media/filters/
H A Daudio_clock_unittest.cc71 EXPECT_EQ(expected, clock.front_timestamp());
78 EXPECT_EQ(expected, clock.back_timestamp());
86 EXPECT_EQ(expected, clock.TimestampSinceWriting(time_since_writing));
90 EXPECT_EQ(base::TimeDelta(), clock_.contiguous_audio_data_buffered());
94 EXPECT_EQ(base::TimeDelta(),
102 EXPECT_EQ(0, FrontTimestampInMilliseconds());
103 EXPECT_EQ(1000, BackTimestampInMilliseconds());
104 EXPECT_EQ(0, ContiguousAudioDataBufferedInMilliseconds());
105 EXPECT_EQ(0, ContiguousAudioDataBufferedAtSameRateInMilliseconds());
109 EXPECT_EQ(
[all...]
/external/chromium_org/chromeos/network/
H A Dnetwork_util_unittest.cc19 EXPECT_EQ(32, NetmaskToPrefixLength("255.255.255.255"));
20 EXPECT_EQ(31, NetmaskToPrefixLength("255.255.255.254"));
21 EXPECT_EQ(30, NetmaskToPrefixLength("255.255.255.252"));
22 EXPECT_EQ(29, NetmaskToPrefixLength("255.255.255.248"));
23 EXPECT_EQ(28, NetmaskToPrefixLength("255.255.255.240"));
24 EXPECT_EQ(27, NetmaskToPrefixLength("255.255.255.224"));
25 EXPECT_EQ(26, NetmaskToPrefixLength("255.255.255.192"));
26 EXPECT_EQ(25, NetmaskToPrefixLength("255.255.255.128"));
27 EXPECT_EQ(24, NetmaskToPrefixLength("255.255.255.0"));
28 EXPECT_EQ(2
[all...]
/external/chromium_org/dbus/
H A Dutil_unittest.cc11 EXPECT_EQ("InterfaceName.MemberName",
13 EXPECT_EQ(".", GetAbsoluteMemberName("", ""));
/external/chromium_org/content/browser/media/
H A Dmedia_canplaytype_browsertest.cc67 EXPECT_EQ(kNot, CanPlay("'" + mime + "; codecs=\"avc1.unknown\"'"));
68 EXPECT_EQ(kNot, CanPlay("'" + mime + "; codecs=\"avc3.unknown\"'"));
69 EXPECT_EQ(kNot, CanPlay("'" + mime + "; codecs=\"mp4a.unknown\"'"));
72 EXPECT_EQ(kNot, CanPlay("'" + mime + "; codecs=\"avc1.\"'"));
73 EXPECT_EQ(kNot, CanPlay("'" + mime + "; codecs=\"avc3.\"'"));
74 EXPECT_EQ(kNot, CanPlay("'" + mime + "; codecs=\"mp4a\"'"));
75 EXPECT_EQ(kNot, CanPlay("'" + mime + "; codecs=\"mp4a.\"'"));
76 EXPECT_EQ(kNot, CanPlay("'" + mime + "; codecs=\"mp4a.40.\"'"));
79 EXPECT_EQ(kNot, CanPlay("'" + mime + "; codecs=\"vorbis\"'"));
80 EXPECT_EQ(kNo
[all...]
/external/chromium_org/net/tools/dump_cache/
H A Durl_utilities_unittest.cc16 EXPECT_EQ("www.foo.com",
18 EXPECT_EQ("www.foo.com",
20 EXPECT_EQ("www.foo.com",
22 EXPECT_EQ("www.foo.com",
24 EXPECT_EQ("www.foo.com",
26 EXPECT_EQ("www.foo.com",
28 EXPECT_EQ("www.foo.com",
33 EXPECT_EQ("www.foo.com",
35 EXPECT_EQ("www.foo.com:80",
37 EXPECT_EQ("ww
[all...]
/external/chromium_org/google_apis/drive/
H A Drequest_util_unittest.cc14 EXPECT_EQ("If-Match: *", GenerateIfMatchHeader(std::string()));
17 EXPECT_EQ("If-Match: abcde", GenerateIfMatchHeader("abcde"));
18 EXPECT_EQ("If-Match: fake_etag", GenerateIfMatchHeader("fake_etag"));
/external/chromium_org/testing/gtest/samples/
H A Dsample4_unittest.cc39 // 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/llvm/unittests/Support/
H A DUnicodeTest.cpp19 EXPECT_EQ(0, columnWidthUTF8(""));
20 EXPECT_EQ(1, columnWidthUTF8(" "));
21 EXPECT_EQ(1, columnWidthUTF8("a"));
22 EXPECT_EQ(1, columnWidthUTF8("~"));
24 EXPECT_EQ(6, columnWidthUTF8("abcdef"));
26 EXPECT_EQ(-1, columnWidthUTF8("\x01"));
27 EXPECT_EQ(-1, columnWidthUTF8("aaaaaaaaaa\x01"));
28 EXPECT_EQ(-1, columnWidthUTF8("\342\200\213")); // 200B ZERO WIDTH SPACE
34 EXPECT_EQ(1, columnWidthUTF8("\302\255"));
36 EXPECT_EQ(
[all...]
/external/chromium_org/net/spdy/
H A Dhpack_output_stream_test.cc45 EXPECT_EQ(expected_str, str);
67 EXPECT_EQ(string("\x00", 1), EncodeUint32(8, 0x00));
68 EXPECT_EQ("\x7f", EncodeUint32(8, 0x7f));
70 EXPECT_EQ("\xfe", EncodeUint32(8, 0xfe));
75 EXPECT_EQ(string("\xff\x00", 2), EncodeUint32(8, 0xff));
76 EXPECT_EQ("\xff\x01", EncodeUint32(8, 0x0100));
78 EXPECT_EQ("\xff\x7f", EncodeUint32(8, 0x017e));
83 EXPECT_EQ("\xff\x80\x01", EncodeUint32(8, 0x017f));
84 EXPECT_EQ("\xff\x80\x1e", EncodeUint32(8, 0x0fff));
86 EXPECT_EQ("\xf
[all...]
/external/chromium_org/tools/gn/
H A Dfunction_get_path_info_unittest.cc42 EXPECT_EQ("bar.txt", Call("foo/bar.txt", "file"));
43 EXPECT_EQ("bar.txt", Call("bar.txt", "file"));
44 EXPECT_EQ("bar.txt", Call("/bar.txt", "file"));
45 EXPECT_EQ("", Call("foo/", "file"));
46 EXPECT_EQ("", Call("//", "file"));
47 EXPECT_EQ("", Call("/", "file"));
51 EXPECT_EQ("bar", Call("foo/bar.txt", "name"));
52 EXPECT_EQ("bar", Call("bar.", "name"));
53 EXPECT_EQ("", Call("/.txt", "name"));
54 EXPECT_EQ("", Cal
[all...]
/external/chromium_org/net/cookies/
H A Dcookie_constants_unittest.cc13 EXPECT_EQ("low", CookiePriorityToString(COOKIE_PRIORITY_LOW));
14 EXPECT_EQ("medium", CookiePriorityToString(COOKIE_PRIORITY_MEDIUM));
15 EXPECT_EQ("high", CookiePriorityToString(COOKIE_PRIORITY_HIGH));
17 EXPECT_EQ(COOKIE_PRIORITY_LOW, StringToCookiePriority("low"));
18 EXPECT_EQ(COOKIE_PRIORITY_MEDIUM, StringToCookiePriority("medium"));
19 EXPECT_EQ(COOKIE_PRIORITY_HIGH, StringToCookiePriority("high"));
22 EXPECT_EQ(COOKIE_PRIORITY_LOW, StringToCookiePriority("LOW"));
23 EXPECT_EQ(COOKIE_PRIORITY_MEDIUM, StringToCookiePriority("Medium"));
24 EXPECT_EQ(COOKIE_PRIORITY_HIGH, StringToCookiePriority("hiGH"));
27 EXPECT_EQ(COOKIE_PRIORITY_DEFAUL
[all...]
/external/chromium_org/net/quic/
H A Dquic_http_utils_test.cc13 EXPECT_EQ(0u, ConvertRequestPriorityToQuicPriority(HIGHEST));
14 EXPECT_EQ(1u, ConvertRequestPriorityToQuicPriority(MEDIUM));
15 EXPECT_EQ(2u, ConvertRequestPriorityToQuicPriority(LOW));
16 EXPECT_EQ(3u, ConvertRequestPriorityToQuicPriority(LOWEST));
17 EXPECT_EQ(4u, ConvertRequestPriorityToQuicPriority(IDLE));
21 EXPECT_EQ(HIGHEST, ConvertQuicPriorityToRequestPriority(0));
22 EXPECT_EQ(MEDIUM, ConvertQuicPriorityToRequestPriority(1));
23 EXPECT_EQ(LOW, ConvertQuicPriorityToRequestPriority(2));
24 EXPECT_EQ(LOWEST, ConvertQuicPriorityToRequestPriority(3));
25 EXPECT_EQ(IDL
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DSaturatedArithmeticTest.cpp41 EXPECT_EQ(0, saturatedAddition(0, 0));
42 EXPECT_EQ(1, saturatedAddition(0, 1));
43 EXPECT_EQ(100, saturatedAddition(0, 100));
44 EXPECT_EQ(150, saturatedAddition(100, 50));
46 EXPECT_EQ(-1, saturatedAddition(0, -1));
47 EXPECT_EQ(0, saturatedAddition(1, -1));
48 EXPECT_EQ(50, saturatedAddition(100, -50));
49 EXPECT_EQ(-50, saturatedAddition(50, -100));
51 EXPECT_EQ(INT_MAX - 1, saturatedAddition(INT_MAX - 1, 0));
52 EXPECT_EQ(INT_MA
[all...]
/external/chromium_org/remoting/base/
H A Dauth_token_util_unittest.cc17 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/base/
H A Dbuild_time_unittest.cc12 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]);
/external/chromium_org/sync/syncable/
H A Dsyncable_util_unittest.cc15 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/
H A Dpush_resampler_unittest.cc20 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/
H A DIntEqClassesTest.cpp25 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(
[all...]
/external/chromium_org/third_party/mesa/src/src/glx/tests/
H A Denum_sizes.cpp44 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(
[all...]
/external/mesa3d/src/glx/tests/
H A Denum_sizes.cpp44 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(
[all...]
/external/chromium_org/net/http/
H A Dhttp_log_util_unittest.cc12 EXPECT_EQ("[10 bytes were stripped]", ElideHeaderValueForNetLog(
14 EXPECT_EQ("name=value", ElideHeaderValueForNetLog(
18 EXPECT_EQ("[10 bytes were stripped]", ElideHeaderValueForNetLog(
22 EXPECT_EQ("[10 bytes were stripped]", ElideHeaderValueForNetLog(
24 EXPECT_EQ("[10 bytes were stripped]", ElideHeaderValueForNetLog(
26 EXPECT_EQ("[10 bytes were stripped]", ElideHeaderValueForNetLog(
28 EXPECT_EQ("[10 bytes were stripped]", ElideHeaderValueForNetLog(
32 EXPECT_EQ("value", ElideHeaderValueForNetLog(
36 EXPECT_EQ("Basic realm=test", ElideHeaderValueForNetLog(
38 EXPECT_EQ("Diges
[all...]

Completed in 2383 milliseconds

1234567891011>>