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

Side by Side Diff: chrome/browser/sync/syncable/model_type_unittest.cc

Issue 7541001: Move more files from chrome/test to chrome/test/base, part #3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/syncable/model_type.h" 5 #include "chrome/browser/sync/syncable/model_type.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/test/values_test_util.h" 11 #include "chrome/test/base/values_test_util.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace syncable { 14 namespace syncable {
15 namespace { 15 namespace {
16 16
17 class ModelTypeTest : public testing::Test {}; 17 class ModelTypeTest : public testing::Test {};
18 18
19 TEST_F(ModelTypeTest, ModelTypeToValue) { 19 TEST_F(ModelTypeTest, ModelTypeToValue) {
20 for (int i = syncable::FIRST_REAL_MODEL_TYPE; 20 for (int i = syncable::FIRST_REAL_MODEL_TYPE;
21 i < syncable::MODEL_TYPE_COUNT; ++i) { 21 i < syncable::MODEL_TYPE_COUNT; ++i) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 EXPECT_FALSE(IsRealDataType(UNSPECIFIED)); 82 EXPECT_FALSE(IsRealDataType(UNSPECIFIED));
83 EXPECT_FALSE(IsRealDataType(MODEL_TYPE_COUNT)); 83 EXPECT_FALSE(IsRealDataType(MODEL_TYPE_COUNT));
84 EXPECT_FALSE(IsRealDataType(TOP_LEVEL_FOLDER)); 84 EXPECT_FALSE(IsRealDataType(TOP_LEVEL_FOLDER));
85 EXPECT_TRUE(IsRealDataType(FIRST_REAL_MODEL_TYPE)); 85 EXPECT_TRUE(IsRealDataType(FIRST_REAL_MODEL_TYPE));
86 EXPECT_TRUE(IsRealDataType(BOOKMARKS)); 86 EXPECT_TRUE(IsRealDataType(BOOKMARKS));
87 EXPECT_TRUE(IsRealDataType(APPS)); 87 EXPECT_TRUE(IsRealDataType(APPS));
88 } 88 }
89 89
90 } // namespace 90 } // namespace
91 } // namespace syncable 91 } // namespace syncable
OLDNEW
« no previous file with comments | « chrome/browser/sync/syncable/model_type_payload_map_unittest.cc ('k') | chrome/browser/sync/syncable/syncable_id_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698