| Index: chrome/browser/autofill/address_unittest.cc
|
| diff --git a/chrome/browser/autofill/address_unittest.cc b/chrome/browser/autofill/address_unittest.cc
|
| index 10d2414699a33ba4bad96f2d192b0cd11e88c615..fa4069b2eccbe2fd1ba88cbffa572449f3d072a0 100644
|
| --- a/chrome/browser/autofill/address_unittest.cc
|
| +++ b/chrome/browser/autofill/address_unittest.cc
|
| @@ -4,13 +4,26 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/message_loop.h"
|
| #include "base/string16.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/autofill/address.h"
|
| #include "chrome/browser/autofill/autofill_type.h"
|
| +#include "content/browser/browser_thread.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -typedef testing::Test AddressTest;
|
| +class AddressTest : public testing::Test {
|
| + public:
|
| + // In order to access the application locale -- which the tested functions do
|
| + // internally -- this test must run on the UI thread.
|
| + AddressTest() : ui_thread_(BrowserThread::UI, &message_loop_) {}
|
| +
|
| + private:
|
| + MessageLoopForUI message_loop_;
|
| + BrowserThread ui_thread_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(AddressTest);
|
| +};
|
|
|
| // Test that the getters and setters for country code are working.
|
| TEST_F(AddressTest, CountryCode) {
|
|
|