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

Unified Diff: tools/json_schema_compiler/cpp_util_test.py

Issue 9309044: Supporting more APIs with json_schema_compiler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: support for choices Created 8 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
Index: tools/json_schema_compiler/cpp_util_test.py
diff --git a/tools/json_schema_compiler/cpp_util_test.py b/tools/json_schema_compiler/cpp_util_test.py
index 56f83d377dd1d7598ecb896caac7c7da87c83dae..e22d23d0c6dfb26ecf58d8ca0289a5c3f7c424f8 100644
--- a/tools/json_schema_compiler/cpp_util_test.py
+++ b/tools/json_schema_compiler/cpp_util_test.py
@@ -6,11 +6,11 @@ import cpp_util
import unittest
class CppUtilTest(unittest.TestCase):
- def testCppName(self):
- self.assertEquals('Permissions', cpp_util.CppName('permissions'))
+ def testClassname(self):
+ self.assertEquals('Permissions', cpp_util.Classname('permissions'))
self.assertEquals('UpdateAllTheThings',
- cpp_util.CppName('updateAllTheThings'))
- self.assertEquals('Aa_Bb_Cc', cpp_util.CppName('aa.bb.cc'))
+ cpp_util.Classname('updateAllTheThings'))
+ self.assertEquals('Aa_Bb_Cc', cpp_util.Classname('aa.bb.cc'))
if __name__ == '__main__':
unittest.main()

Powered by Google App Engine
This is Rietveld 408576698