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

Side by Side Diff: components/json_schema/json_schema_validator_unittest.cc

Issue 22807004: Moved chrome/common/json_schema to components/json_schema. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed android isolates Created 7 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/values.h" 5 #include "base/values.h"
6 #include "chrome/common/json_schema/json_schema_validator.h" 6 #include "components/json_schema/json_schema_validator.h"
7 #include "chrome/common/json_schema/json_schema_validator_unittest_base.h" 7 #include "components/json_schema/json_schema_validator_unittest_base.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 class JSONSchemaValidatorCPPTest : public JSONSchemaValidatorTestBase { 10 class JSONSchemaValidatorCPPTest : public JSONSchemaValidatorTestBase {
11 public: 11 public:
12 JSONSchemaValidatorCPPTest() 12 JSONSchemaValidatorCPPTest()
13 : JSONSchemaValidatorTestBase(JSONSchemaValidatorTestBase::CPP) { 13 : JSONSchemaValidatorTestBase(JSONSchemaValidatorTestBase::CPP) {
14 } 14 }
15 15
16 protected: 16 protected:
17 virtual void ExpectValid(const std::string& test_source, 17 virtual void ExpectValid(const std::string& test_source,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 " { \"type\": \"string\" }," 120 " { \"type\": \"string\" },"
121 " { \"type\": \"integer\" }" 121 " { \"type\": \"integer\" }"
122 " ]" 122 " ]"
123 " }" 123 " }"
124 " }," 124 " },"
125 " \"additionalProperties\": {" 125 " \"additionalProperties\": {"
126 " \"type\": \"any\"" 126 " \"type\": \"any\""
127 " }" 127 " }"
128 "}", &error)) << error; 128 "}", &error)) << error;
129 } 129 }
OLDNEW
« no previous file with comments | « components/json_schema/json_schema_validator.cc ('k') | components/json_schema/json_schema_validator_unittest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698