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

Unified Diff: third_party/WebKit/Source/bindings/scripts/code_generator_web_module_test.py

Issue 2684773003: [WebAgent API]: Implement name style handling. (Closed)
Patch Set: Feedback addressed. Created 3 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: third_party/WebKit/Source/bindings/scripts/code_generator_web_module_test.py
diff --git a/third_party/WebKit/Source/bindings/scripts/code_generator_web_module_test.py b/third_party/WebKit/Source/bindings/scripts/code_generator_web_module_test.py
index b3fcc42f7d72c81c0a9ac95edff0ec759a512283..3c370ad4162b0a7d1ae0f165d8ed25cd4d2b8ef8 100644
--- a/third_party/WebKit/Source/bindings/scripts/code_generator_web_module_test.py
+++ b/third_party/WebKit/Source/bindings/scripts/code_generator_web_module_test.py
@@ -80,7 +80,11 @@ class InterfaceContextBuilderTest(unittest.TestCase):
builder.set_class_name('foo')
self.assertEqual({
'code_generator': 'test',
- 'class_name': 'foo',
+ 'class_name': {
+ 'snake_case': 'foo',
+ 'macro_case': 'FOO',
+ 'upper_camel_case': 'Foo'
+ },
}, builder.build())
def test_set_inheritance(self):

Powered by Google App Engine
This is Rietveld 408576698