/external/ceres-solver/internal/ceres/ |
graph_test.cc | 42 EXPECT_EQ(graph.vertices().size(), 0); 52 EXPECT_EQ(vertices.size(), 2); 53 EXPECT_EQ(graph.VertexWeight(0), 1.0); 54 EXPECT_EQ(graph.VertexWeight(1), 2.0); 55 EXPECT_EQ(graph.Neighbors(0).size(), 1); 56 EXPECT_EQ(graph.Neighbors(1).size(), 1); 57 EXPECT_EQ(graph.EdgeWeight(0, 1), 0.5); 58 EXPECT_EQ(graph.EdgeWeight(1, 0), 0.5); 69 EXPECT_EQ(vertices.size(), 2); 73 EXPECT_EQ(vertices.size(), 2) [all...] |
/external/chromium_org/net/disk_cache/simple/ |
simple_util_unittest.cc | 20 EXPECT_EQ("0000000005f5e0ff", 22 EXPECT_EQ("7fffffffffffffff", 24 EXPECT_EQ("8000000000000000", 26 EXPECT_EQ("ffffffffffffffff", 31 EXPECT_EQ("7ac408c1dff9c84b", 33 EXPECT_EQ(GG_UINT64_C(0x7ac408c1dff9c84b), 36 EXPECT_EQ("9fe947998c2ccf47", 38 EXPECT_EQ(GG_UINT64_C(0x9fe947998c2ccf47), GetEntryHashKey("www.amazon.com")); 40 EXPECT_EQ("0d4b6b5eeea339da", GetEntryHashKeyAsHexString("")); 41 EXPECT_EQ(GG_UINT64_C(0x0d4b6b5eeea339da), GetEntryHashKey("")) [all...] |
/external/chromium_org/net/http/ |
http_log_util_unittest.cc | 12 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( 29 EXPECT_EQ("[10 bytes were stripped]", ElideHeaderValueForNetLog( 35 EXPECT_EQ("value", ElideHeaderValueForNetLog( 39 EXPECT_EQ("Basic realm=test", ElideHeaderValueForNetLog( 42 EXPECT_EQ("Digest realm=test", ElideHeaderValueForNetLog [all...] |
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/ |
choice_helpers_unittest.cc | 28 EXPECT_EQ(1u, choices.size()); 29 EXPECT_EQ("Single Choice", choices[0]); 34 EXPECT_EQ(1u, choices.size()); 35 EXPECT_EQ("Single Choice", choices[0]); 43 EXPECT_EQ(3u, choices.size()); 44 EXPECT_EQ("Choice 1", choices[0]); 45 EXPECT_EQ("Choice 2", choices[1]); 46 EXPECT_EQ("Choice 3", choices[2]); 54 EXPECT_EQ(3u, choices.size()); 55 EXPECT_EQ("Choice 1", choices[0]) [all...] |
/external/chromium_org/chrome/browser/net/ |
firefox_proxy_settings_unittest.cc | 35 EXPECT_EQ(FirefoxProxySettings::MANUAL, settings.config_type()); 36 EXPECT_EQ("http_proxy", settings.http_proxy()); 37 EXPECT_EQ(1111, settings.http_proxy_port()); 38 EXPECT_EQ("ssl_proxy", settings.ssl_proxy()); 39 EXPECT_EQ(2222, settings.ssl_proxy_port()); 40 EXPECT_EQ("ftp_proxy", settings.ftp_proxy()); 41 EXPECT_EQ(3333, settings.ftp_proxy_port()); 42 EXPECT_EQ("gopher_proxy", settings.gopher_proxy()); 43 EXPECT_EQ(4444, settings.gopher_proxy_port()); 44 EXPECT_EQ("socks_host", settings.socks_host()) [all...] |
/external/chromium_org/components/autofill/core/browser/ |
autofill_type_unittest.cc | 14 EXPECT_EQ(NO_SERVER_DATA, none.GetStorableType()); 15 EXPECT_EQ(NO_GROUP, none.group()); 19 EXPECT_EQ(UNKNOWN_TYPE, unknown.GetStorableType()); 20 EXPECT_EQ(NO_GROUP, unknown.group()); 24 EXPECT_EQ(NAME_FIRST, first.GetStorableType()); 25 EXPECT_EQ(NAME, first.group()); 29 EXPECT_EQ(PHONE_HOME_NUMBER, phone.GetStorableType()); 30 EXPECT_EQ(PHONE_HOME, phone.group()); 34 EXPECT_EQ(ADDRESS_HOME_LINE1, billing_address.GetStorableType()); 35 EXPECT_EQ(ADDRESS_BILLING, billing_address.group()) [all...] |
/external/chromium_org/ui/base/ |
layout_unittest.cc | 33 EXPECT_EQ(SCALE_FACTOR_100P, GetSupportedScaleFactor(0.1f)); 34 EXPECT_EQ(SCALE_FACTOR_100P, GetSupportedScaleFactor(0.9f)); 35 EXPECT_EQ(SCALE_FACTOR_100P, GetSupportedScaleFactor(1.0f)); 36 EXPECT_EQ(SCALE_FACTOR_100P, GetSupportedScaleFactor(1.39f)); 37 EXPECT_EQ(SCALE_FACTOR_180P, GetSupportedScaleFactor(1.41f)); 38 EXPECT_EQ(SCALE_FACTOR_180P, GetSupportedScaleFactor(1.8f)); 39 EXPECT_EQ(SCALE_FACTOR_180P, GetSupportedScaleFactor(2.0f)); 40 EXPECT_EQ(SCALE_FACTOR_180P, GetSupportedScaleFactor(999.0f)); 50 EXPECT_EQ(SCALE_FACTOR_100P, GetSupportedScaleFactor(0.1f)); 51 EXPECT_EQ(SCALE_FACTOR_100P, GetSupportedScaleFactor(0.9f)) [all...] |
/external/qemu/android/avd/ |
util_unittest.cpp | 44 EXPECT_EQ(0,fileData_initFromMemory(&fd, testFile, strlen(testFile))); 50 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "invalid", kDefault, &searchResult)); 51 EXPECT_EQ(RESULT_INVALID,searchResult); 54 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "invalid2", kDefault, &searchResult)); 55 EXPECT_EQ(RESULT_INVALID,searchResult); 58 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "invalid3", kDefault, &searchResult)); 59 EXPECT_EQ(RESULT_INVALID,searchResult); 62 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "bar", kDefault, &searchResult)); 63 EXPECT_EQ(RESULT_NOT_FOUND,searchResult); 66 EXPECT_EQ(kDefault,propertyFile_getInt(&fd, "empty", kDefault, &searchResult)) [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
smart_pointer_test.cc | 35 EXPECT_EQ(size_t(1), p1->ref_count_); 36 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); 40 EXPECT_EQ(size_t(2), p1->ref_count_); 41 EXPECT_EQ(size_t(2), p2->ref_count_); 42 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); 46 EXPECT_EQ(size_t(3), p1->ref_count_); 47 EXPECT_EQ(size_t(3), p2->ref_count_); 48 EXPECT_EQ(size_t(3), p3->ref_count_); 49 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); 52 EXPECT_EQ(size_t(2), p1->ref_count_) [all...] |
/external/sfntly/cpp/src/test/ |
smart_pointer_test.cc | 35 EXPECT_EQ(size_t(1), p1->ref_count_); 36 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); 40 EXPECT_EQ(size_t(2), p1->ref_count_); 41 EXPECT_EQ(size_t(2), p2->ref_count_); 42 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); 46 EXPECT_EQ(size_t(3), p1->ref_count_); 47 EXPECT_EQ(size_t(3), p2->ref_count_); 48 EXPECT_EQ(size_t(3), p3->ref_count_); 49 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); 52 EXPECT_EQ(size_t(2), p1->ref_count_) [all...] |
/external/llvm/unittests/ADT/ |
TripleTest.cpp | 21 EXPECT_EQ("", T.getArchName().str()); 22 EXPECT_EQ("", T.getVendorName().str()); 23 EXPECT_EQ("", T.getOSName().str()); 24 EXPECT_EQ("", T.getEnvironmentName().str()); 27 EXPECT_EQ("", T.getArchName().str()); 28 EXPECT_EQ("", T.getVendorName().str()); 29 EXPECT_EQ("", T.getOSName().str()); 30 EXPECT_EQ("", T.getEnvironmentName().str()); 33 EXPECT_EQ("", T.getArchName().str()); 34 EXPECT_EQ("", T.getVendorName().str()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
TimingInputTest.cpp | 48 EXPECT_EQ(1.1, applyTimingInputNumber("delay", 1100).startDelay); 49 EXPECT_EQ(-1, applyTimingInputNumber("delay", -1000).startDelay); 50 EXPECT_EQ(1, applyTimingInputString("delay", "1000").startDelay); 51 EXPECT_EQ(0, applyTimingInputString("delay", "1s").startDelay); 52 EXPECT_EQ(0, applyTimingInputString("delay", "Infinity").startDelay); 53 EXPECT_EQ(0, applyTimingInputString("delay", "-Infinity").startDelay); 54 EXPECT_EQ(0, applyTimingInputString("delay", "NaN").startDelay); 55 EXPECT_EQ(0, applyTimingInputString("delay", "rubbish").startDelay); 60 EXPECT_EQ(10, applyTimingInputNumber("endDelay", 10000).endDelay); 61 EXPECT_EQ(-2.5, applyTimingInputNumber("endDelay", -2500).endDelay) [all...] |
/external/chromium_org/content/browser/renderer_host/input/ |
gesture_event_queue_unittest.cc | 219 EXPECT_EQ(1U, GetAndResetSentGestureEventCount()); 226 EXPECT_EQ(2U, GestureEventQueueSize()); 227 EXPECT_EQ(WebInputEvent::GestureScrollUpdate, merged_event.type); 228 EXPECT_EQ(blink::WebGestureDeviceTouchscreen, merged_event.sourceDevice); 235 EXPECT_EQ(WebInputEvent::GestureScrollUpdate, merged_event.type); 236 EXPECT_EQ(0, merged_event.modifiers); 237 EXPECT_EQ(16, merged_event.data.scrollUpdate.deltaX); 238 EXPECT_EQ(-11, merged_event.data.scrollUpdate.deltaY); 239 EXPECT_EQ(blink::WebGestureDeviceTouchscreen, merged_event.sourceDevice); 246 EXPECT_EQ(WebInputEvent::GestureScrollUpdate, merged_event.type) [all...] |
/external/chromium_org/base/ |
vlog_unittest.cc | 19 EXPECT_EQ(0, 22 EXPECT_EQ(0, 24 EXPECT_EQ( 26 EXPECT_EQ( 29 EXPECT_EQ(1, 31 EXPECT_EQ(5, 89 EXPECT_EQ(-1, vlog_info.GetVlogLevel("/path/to/grault.cc")); 90 EXPECT_EQ(0, vlog_info.GetVlogLevel("/path/to/foo.cc")); 91 EXPECT_EQ(0, vlog_info.GetVlogLevel("D:\\Path\\To\\bar-inl.mm")); 92 EXPECT_EQ(-1, vlog_info.GetVlogLevel("D:\\path\\to what/bar_unittest.m")) [all...] |
/external/chromium_org/content/browser/ |
session_history_browsertest.cc | 145 EXPECT_EQ("bot2", GetTabTitle()); 148 EXPECT_EQ("bot1", GetTabTitle()); 151 EXPECT_EQ("bot2", GetTabTitle()); 154 EXPECT_EQ("bot1", GetTabTitle()); 161 EXPECT_EQ("bot3", GetTabTitle()); 164 EXPECT_EQ("bot1", GetTabTitle()); 167 EXPECT_EQ(std::string(url::kAboutBlankURL), GetTabTitle()); 170 EXPECT_EQ(std::string(url::kAboutBlankURL), GetTabTitle()); 173 EXPECT_EQ("bot1", GetTabTitle()); 176 EXPECT_EQ("bot3", GetTabTitle()) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
StringHasherTest.cpp | 60 EXPECT_EQ(emptyStringHash, hasher.hash()); 61 EXPECT_EQ(emptyStringHash & 0xFFFFFF, hasher.hashWithTop8BitsMasked()); 71 EXPECT_EQ(singleNullCharacterHash, hasher.hash()); 72 EXPECT_EQ(singleNullCharacterHash & 0xFFFFFF, hasher.hashWithTop8BitsMasked()); 77 EXPECT_EQ(testAHash1, hasher.hash()); 78 EXPECT_EQ(testAHash1 & 0xFFFFFF, hasher.hashWithTop8BitsMasked()); 80 EXPECT_EQ(testAHash2, hasher.hash()); 81 EXPECT_EQ(testAHash2 & 0xFFFFFF, hasher.hashWithTop8BitsMasked()); 83 EXPECT_EQ(testAHash3, hasher.hash()); 84 EXPECT_EQ(testAHash3 & 0xFFFFFF, hasher.hashWithTop8BitsMasked()) [all...] |
/external/chromium_org/base/debug/ |
leak_tracker_unittest.cc | 28 EXPECT_EQ(-1, LeakTracker<ClassA>::NumLiveInstances()); 29 EXPECT_EQ(-1, LeakTracker<ClassB>::NumLiveInstances()); 36 EXPECT_EQ(-1, LeakTracker<ClassA>::NumLiveInstances()); 37 EXPECT_EQ(-1, LeakTracker<ClassB>::NumLiveInstances()); 46 EXPECT_EQ(1, LeakTracker<ClassA>::NumLiveInstances()); 47 EXPECT_EQ(0, LeakTracker<ClassB>::NumLiveInstances()); 52 EXPECT_EQ(1, LeakTracker<ClassA>::NumLiveInstances()); 53 EXPECT_EQ(2, LeakTracker<ClassB>::NumLiveInstances()); 57 EXPECT_EQ(2, LeakTracker<ClassA>::NumLiveInstances()); 58 EXPECT_EQ(2, LeakTracker<ClassB>::NumLiveInstances()) [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
drive_backend_test_util.cc | 24 EXPECT_EQ(left.largest_change_id(), right.largest_change_id()); 25 EXPECT_EQ(left.sync_root_tracker_id(), right.sync_root_tracker_id()); 26 EXPECT_EQ(left.next_tracker_id(), right.next_tracker_id()); 36 EXPECT_EQ(1u, parents.erase(left.parent_folder_ids(i))); 39 EXPECT_EQ(left.title(), right.title()); 40 EXPECT_EQ(left.file_kind(), right.file_kind()); 41 EXPECT_EQ(left.md5(), right.md5()); 42 EXPECT_EQ(left.etag(), right.etag()); 43 EXPECT_EQ(left.creation_time(), right.creation_time()); 44 EXPECT_EQ(left.modification_time(), right.modification_time()) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
sigslottester_unittest.cc | 12 EXPECT_EQ(0, slot1.callback_count()); 15 EXPECT_EQ(1, slot1.callback_count()); 16 EXPECT_EQ(10, capture1); 19 EXPECT_EQ(2, slot1.callback_count()); 20 EXPECT_EQ(20, capture1); 28 EXPECT_EQ(0, slot2.callback_count()); 31 EXPECT_EQ(1, slot2.callback_count()); 32 EXPECT_EQ(10, capture1); 33 EXPECT_EQ('x', capture2); 36 EXPECT_EQ(2, slot2.callback_count()) [all...] |
/external/chromium_org/third_party/webrtc/base/ |
sigslottester_unittest.cc | 24 EXPECT_EQ(0, slot1.callback_count()); 27 EXPECT_EQ(1, slot1.callback_count()); 28 EXPECT_EQ(10, capture1); 31 EXPECT_EQ(2, slot1.callback_count()); 32 EXPECT_EQ(20, capture1); 40 EXPECT_EQ(0, slot2.callback_count()); 43 EXPECT_EQ(1, slot2.callback_count()); 44 EXPECT_EQ(10, capture1); 45 EXPECT_EQ('x', capture2); 48 EXPECT_EQ(2, slot2.callback_count()) [all...] |
/external/chromium_org/ui/gfx/geometry/ |
insets_unittest.cc | 11 EXPECT_EQ(0, insets.top()); 12 EXPECT_EQ(0, insets.left()); 13 EXPECT_EQ(0, insets.bottom()); 14 EXPECT_EQ(0, insets.right()); 15 EXPECT_EQ(0, insets.width()); 16 EXPECT_EQ(0, insets.height()); 22 EXPECT_EQ(1, insets.top()); 23 EXPECT_EQ(2, insets.left()); 24 EXPECT_EQ(3, insets.bottom()); 25 EXPECT_EQ(4, insets.right()) [all...] |
/art/runtime/ |
indenter_test.cc | 25 EXPECT_EQ(output.str(), ""); 28 EXPECT_EQ(output.str(), "\t\thello"); 31 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again"); 34 EXPECT_EQ(output.str(), "\t\thello\n\t\thello again\n");
|
/external/chromium_org/chrome/browser/local_discovery/storage/ |
path_util_unittest.cc | 14 EXPECT_EQ("MyId._privet._tcp.local", path.service_name); 15 EXPECT_EQ("/some/path", path.path); 22 EXPECT_EQ("MyId._privet._tcp.local", path.service_name); 23 EXPECT_EQ("/", path.path);
|
/external/chromium_org/chrome/browser/metrics/rappor/ |
sampling_unittest.cc | 14 EXPECT_EQ("google.com", GetDomainAndRegistrySampleFromGURL( 16 EXPECT_EQ("file://", GetDomainAndRegistrySampleFromGURL( 18 EXPECT_EQ("chrome-extension://abc1234", GetDomainAndRegistrySampleFromGURL( 20 EXPECT_EQ("chrome-search://local-ntp", GetDomainAndRegistrySampleFromGURL(
|
/external/chromium_org/chrome/service/cloud_print/ |
cloud_print_token_store_unittest.cc | 12 EXPECT_EQ(NULL, CloudPrintTokenStore::current()); 14 EXPECT_EQ(store, CloudPrintTokenStore::current()); 16 EXPECT_EQ(CloudPrintTokenStore::current()->token(), "myclientlogintoken"); 18 EXPECT_EQ(NULL, CloudPrintTokenStore::current());
|