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

Unified Diff: tools/json_schema_compiler/js_externs_generator_test.py

Issue 1488773003: Add js_interface_generator for generating extensions interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: similarity=25 Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: tools/json_schema_compiler/js_externs_generator_test.py
diff --git a/tools/json_schema_compiler/js_externs_generator_test.py b/tools/json_schema_compiler/js_externs_generator_test.py
index cdf49301c7b7372a99a401d2212f6e22d3e39356..45f684fc5bf8c703a710cd99ab18b7338e40f3d8 100755
--- a/tools/json_schema_compiler/js_externs_generator_test.py
+++ b/tools/json_schema_compiler/js_externs_generator_test.py
@@ -161,8 +161,7 @@ chrome.fakeApi.returnString = function() {};
* @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/fakeApi#event-onTrapDetected
*/
-chrome.fakeApi.onTrapDetected;
-"""
+chrome.fakeApi.onTrapDetected;"""
fake_json = """// Copyright 2014 The Chromium Authors. All rights reserved.
@@ -272,8 +271,7 @@ chrome.fakeJson.CrazyEnum = {
* }}
* @see https://developer.chrome.com/extensions/fakeJson#method-funcWithInlineObj
*/
-chrome.fakeJson.funcWithInlineObj = function(inlineObj, callback) {};
-"""
+chrome.fakeJson.funcWithInlineObj = function(inlineObj, callback) {};"""
class JsExternGeneratorTest(unittest.TestCase):

Powered by Google App Engine
This is Rietveld 408576698