| Index: chrome/browser/autofill/address_unittest.cc
|
| diff --git a/chrome/browser/autofill/address_unittest.cc b/chrome/browser/autofill/address_unittest.cc
|
| index 7691ac003bf40d9ca7323e175786f9f4c5d4afa2..d9d70148886988a2601e572b18cbdf48e09a246d 100644
|
| --- a/chrome/browser/autofill/address_unittest.cc
|
| +++ b/chrome/browser/autofill/address_unittest.cc
|
| @@ -8,10 +8,13 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/autofill/address.h"
|
| #include "chrome/browser/autofill/autofill_type.h"
|
| +#include "chrome/test/testing_browser_process_test.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| +typedef TestingBrowserProcessTest AddressTest;
|
| +
|
| // Test that the getters and setters for country code are working.
|
| -TEST(AddressTest, CountryCode) {
|
| +TEST_F(AddressTest, CountryCode) {
|
| Address address;
|
| EXPECT_EQ(std::string(), address.country_code());
|
|
|
| @@ -23,7 +26,7 @@ TEST(AddressTest, CountryCode) {
|
| }
|
|
|
| // Test that country codes are properly decoded as country names.
|
| -TEST(AddressTest, GetCountry) {
|
| +TEST_F(AddressTest, GetCountry) {
|
| Address address;
|
| EXPECT_EQ(std::string(), address.country_code());
|
|
|
| @@ -41,7 +44,7 @@ TEST(AddressTest, GetCountry) {
|
| }
|
|
|
| // Test that we properly detect country codes appropriate for each country.
|
| -TEST(AddressTest, SetCountry) {
|
| +TEST_F(AddressTest, SetCountry) {
|
| Address address;
|
| EXPECT_EQ(std::string(), address.country_code());
|
|
|
| @@ -77,7 +80,7 @@ TEST(AddressTest, SetCountry) {
|
| }
|
|
|
| // Test that we properly match typed values to stored country data.
|
| -TEST(AddressTest, IsCountry) {
|
| +TEST_F(AddressTest, IsCountry) {
|
| Address address;
|
| address.set_country_code("US");
|
|
|
|
|