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

Side by Side Diff: third_party/libaddressinput/chromium/chrome_storage_impl_unittest.cc

Issue 98623005: rAc i18n: implement storage interface for libaddressinput (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: scopedvector Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "third_party/libaddressinput/chromium/chrome_storage_impl.h"
6
7 #include <string>
8
9 #include "base/prefs/value_map_pref_store.h"
10 #include "cpp/test/storage_test_runner.h"
11 #include "testing/gtest/include/gtest/gtest.h"
12
13 namespace {
14
15 // Tests for ChromeStorageImpl object.
16 class ChromeStorageImplTest : public testing::Test {
17 protected:
18 ChromeStorageImplTest()
19 : store_(new ValueMapPrefStore()),
20 storage_(store_.get()),
21 runner_(&storage_) {}
22
23 virtual ~ChromeStorageImplTest() {}
24
25 scoped_refptr<ValueMapPrefStore> store_;
26 ChromeStorageImpl storage_;
27 i18n::addressinput::StorageTestRunner runner_;
28 };
29
30 TEST_F(ChromeStorageImplTest, StandardStorageTests) {
31 EXPECT_NO_FATAL_FAILURE(runner_.RunAllTests());
32 }
33
34 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698