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

Unified Diff: third_party/chrome/tools/schema_util_test.py

Issue 12300042: Update idlsync.py to pull in dependencies required for chrome api generation. (Closed) Base URL: git://github.com/dart-lang/bleeding_edge.git@master
Patch Set: From another checkout Created 7 years, 10 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 | « third_party/chrome/tools/schema_util.py ('k') | third_party/chrome/tools/sort-headers.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/chrome/tools/schema_util_test.py
diff --git a/third_party/chrome/tools/schema_util_test.py b/third_party/chrome/tools/schema_util_test.py
deleted file mode 100755
index 154da0137eaa9bbdf0bb4f2ee7b52b8bcf4cbe56..0000000000000000000000000000000000000000
--- a/third_party/chrome/tools/schema_util_test.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from schema_util import JsFunctionNameToClassName
-from schema_util import StripNamespace
-import unittest
-
-class SchemaUtilTest(unittest.TestCase):
- def testStripNamespace(self):
- self.assertEquals('Bar', StripNamespace('foo.Bar'))
- self.assertEquals('Baz', StripNamespace('Baz'))
-
- def testJsFunctionNameToClassName(self):
- self.assertEquals('FooBar', JsFunctionNameToClassName('foo', 'bar'))
- self.assertEquals('FooBar',
- JsFunctionNameToClassName('experimental.foo', 'bar'))
- self.assertEquals('FooBarBaz',
- JsFunctionNameToClassName('foo.bar', 'baz'))
- self.assertEquals('FooBarBaz',
- JsFunctionNameToClassName('experimental.foo.bar', 'baz'))
-
-if __name__ == '__main__':
- unittest.main()
« no previous file with comments | « third_party/chrome/tools/schema_util.py ('k') | third_party/chrome/tools/sort-headers.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698