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

Side by Side Diff: chrome/renderer/extensions/json_schema_unittest.cc

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « chrome/renderer/extensions/bindings_utils.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "app/resource_bundle.h"
6 #include "base/file_util.h" 5 #include "base/file_util.h"
7 #include "base/path_service.h" 6 #include "base/path_service.h"
8 #include "base/string_util.h" 7 #include "base/string_util.h"
9 #include "chrome/common/chrome_paths.h" 8 #include "chrome/common/chrome_paths.h"
10 #include "chrome/test/v8_unit_test.h" 9 #include "chrome/test/v8_unit_test.h"
10 #include "grit/renderer_resources.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12 #include "ui/base/resource/resource_bundle.h"
13 #include "grit/renderer_resources.h"
14 13
15 static const char kJsonSchema[] = "json_schema.js"; 14 static const char kJsonSchema[] = "json_schema.js";
16 static const char kJsonSchemaTest[] = "json_schema_test.js"; 15 static const char kJsonSchemaTest[] = "json_schema_test.js";
17 16
18 class JsonSchemaTest : public V8UnitTest { 17 class JsonSchemaTest : public V8UnitTest {
19 public: 18 public:
20 JsonSchemaTest() {} 19 JsonSchemaTest() {}
21 20
22 virtual void SetUp() { 21 virtual void SetUp() {
23 V8UnitTest::SetUp(); 22 V8UnitTest::SetUp();
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 TestFunction("testNumber"); 83 TestFunction("testNumber");
85 } 84 }
86 85
87 TEST_F(JsonSchemaTest, TestType) { 86 TEST_F(JsonSchemaTest, TestType) {
88 TestFunction("testType"); 87 TestFunction("testType");
89 } 88 }
90 89
91 TEST_F(JsonSchemaTest, TestTypeReference) { 90 TEST_F(JsonSchemaTest, TestTypeReference) {
92 TestFunction("testTypeReference"); 91 TestFunction("testTypeReference");
93 } 92 }
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/bindings_utils.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698