Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc

Issue 261013010: autocomplete: add ability to get full address (hidden behind a flag). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self review Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc
diff --git a/third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc b/third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc
index 7b0e83e4d9160f52af082eb2d1c497857f79e4fd..339d1f53b2b4a92f3b80adfee0315a2b7ca87621 100644
--- a/third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc
+++ b/third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc
@@ -77,16 +77,14 @@ TEST(AddressUiTest, RegionsAndComponentsAreValid) {
EXPECT_EQ(2U, region_codes[i].size());
EXPECT_TRUE(ComponentsAreValid(
BuildComponents(region_codes[i], std::string(), NULL)));
- EXPECT_FALSE(GetRequiredFields(region_codes[i]).empty());
}
}
-// Verifies that BuildComponents() and GetRequiredFields() return an empty
+// Verifies that BuildComponents() returns an empty
// vector for an invalid region code.
TEST(AddressUiTest, InvalidRegionCodeReturnsEmptyVector) {
EXPECT_TRUE(
BuildComponents("INVALID-REGION-CODE", std::string(), NULL).empty());
- EXPECT_TRUE(GetRequiredFields("INVALID-REGION-CODE").empty());
}
struct SeparatorData {
« no previous file with comments | « third_party/libaddressinput/chromium/cpp/src/rule.cc ('k') | third_party/libaddressinput/chromium/cpp/test/rule_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698