Home | History | Annotate | Download | only in autofill

Lines Matching refs:country

13 // Test that the getters and setters for country code are working.
25 // Test that country codes are properly decoded as country names.
30 // Make sure that nothing breaks when the country code is missing.
31 string16 country = address.GetInfo(ADDRESS_HOME_COUNTRY);
32 EXPECT_EQ(string16(), country);
35 country = address.GetInfo(ADDRESS_HOME_COUNTRY);
36 EXPECT_EQ(ASCIIToUTF16("United States"), country);
39 country = address.GetInfo(ADDRESS_HOME_COUNTRY);
40 EXPECT_EQ(ASCIIToUTF16("Canada"), country);
43 // Test that we properly detect country codes appropriate for each country.
50 string16 country = address.GetInfo(ADDRESS_HOME_COUNTRY);
52 EXPECT_EQ(ASCIIToUTF16("United States"), country);
56 country = address.GetInfo(ADDRESS_HOME_COUNTRY);
58 EXPECT_EQ(ASCIIToUTF16("United States"), country);
62 country = address.GetInfo(ADDRESS_HOME_COUNTRY);
64 EXPECT_EQ(ASCIIToUTF16("Canada"), country);
66 // Test country code detection.
68 country = address.GetInfo(ADDRESS_HOME_COUNTRY);
70 EXPECT_EQ(ASCIIToUTF16("Japan"), country);
74 country = address.GetInfo(ADDRESS_HOME_COUNTRY);
76 EXPECT_EQ(string16(), country);
79 // Test that we properly match typed values to stored country data.
111 // Make sure that garbage values don't match when the country code is empty.