| Index: base/i18n/timezone_unittest.cc
|
| diff --git a/base/i18n/timezone_unittest.cc b/base/i18n/timezone_unittest.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..703b143d483bbd067713ad7ca9426991631fb441
|
| --- /dev/null
|
| +++ b/base/i18n/timezone_unittest.cc
|
| @@ -0,0 +1,18 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "base/i18n/timezone.h"
|
| +
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +
|
| +namespace base {
|
| +namespace {
|
| +
|
| +TEST(TimezoneTest, CountryCodeForCurrentTimezone) {
|
| + std::string country_code = CountryForCurrentTimezone();
|
| + EXPECT_EQ(2U, country_code.size());
|
| +}
|
| +
|
| +} // namespace
|
| +} // namespace base
|
|
|