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

Unified Diff: tools/json_schema_compiler/schema_util_test.py

Issue 11953121: Fix up how the JSON Schema compiler decides whether to include or forward (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert changes to webview so that this can land Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/json_schema_compiler/schema_util.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/schema_util_test.py
diff --git a/tools/json_schema_compiler/schema_util_test.py b/tools/json_schema_compiler/schema_util_test.py
index 4db88f1922f88f01a458881883544586c70a905d..154da0137eaa9bbdf0bb4f2ee7b52b8bcf4cbe56 100755
--- a/tools/json_schema_compiler/schema_util_test.py
+++ b/tools/json_schema_compiler/schema_util_test.py
@@ -4,13 +4,13 @@
# found in the LICENSE file.
from schema_util import JsFunctionNameToClassName
-from schema_util import StripSchemaNamespace
+from schema_util import StripNamespace
import unittest
class SchemaUtilTest(unittest.TestCase):
- def testStripSchemaNamespace(self):
- self.assertEquals('Bar', StripSchemaNamespace('foo.Bar'))
- self.assertEquals('Baz', StripSchemaNamespace('Baz'))
+ def testStripNamespace(self):
+ self.assertEquals('Bar', StripNamespace('foo.Bar'))
+ self.assertEquals('Baz', StripNamespace('Baz'))
def testJsFunctionNameToClassName(self):
self.assertEquals('FooBar', JsFunctionNameToClassName('foo', 'bar'))
« no previous file with comments | « tools/json_schema_compiler/schema_util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698