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

Side by Side Diff: extensions/test/data/json_schema_test.js

Issue 375243002: Move ModuleSystemTest and the tests that use it into extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: namespace extensions Created 6 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 var AssertTrue = requireNative('assert').AssertTrue; 5 var AssertTrue = requireNative('assert').AssertTrue;
6 var JSONSchemaValidator = require('json_schema').JSONSchemaValidator; 6 var JSONSchemaValidator = require('json_schema').JSONSchemaValidator;
7 var LOG = requireNative('logging').LOG; 7 var LOG = requireNative('logging').LOG;
8 8
9 function assertValid(type, instance, schema, types) { 9 function assertValid(type, instance, schema, types) {
10 var validator = new JSONSchemaValidator(); 10 var validator = new JSONSchemaValidator();
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 exports.testArrayNonTuple = testArrayNonTuple; 659 exports.testArrayNonTuple = testArrayNonTuple;
660 exports.testString = testString; 660 exports.testString = testString;
661 exports.testNumber = testNumber; 661 exports.testNumber = testNumber;
662 exports.testIntegerBounds = testIntegerBounds; 662 exports.testIntegerBounds = testIntegerBounds;
663 exports.testType = testType; 663 exports.testType = testType;
664 exports.testTypeReference = testTypeReference; 664 exports.testTypeReference = testTypeReference;
665 exports.testGetAllTypesForSchema = testGetAllTypesForSchema; 665 exports.testGetAllTypesForSchema = testGetAllTypesForSchema;
666 exports.testIsValidSchemaType = testIsValidSchemaType; 666 exports.testIsValidSchemaType = testIsValidSchemaType;
667 exports.testCheckSchemaOverlap = testCheckSchemaOverlap; 667 exports.testCheckSchemaOverlap = testCheckSchemaOverlap;
668 exports.testInstanceOf = testInstanceOf; 668 exports.testInstanceOf = testInstanceOf;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698