Chromium Code Reviews| Index: tools/json_schema_compiler/idl_schema_test.py |
| diff --git a/tools/json_schema_compiler/idl_schema_test.py b/tools/json_schema_compiler/idl_schema_test.py |
| index 03960c3b029a0cff9d8ae1477452c4ffb3290be2..3e0d3cc482a0cda344a4d3f66bd23cccfa0dcaef 100755 |
| --- a/tools/json_schema_compiler/idl_schema_test.py |
| +++ b/tools/json_schema_compiler/idl_schema_test.py |
| @@ -126,6 +126,12 @@ class IdlSchemaTest(unittest.TestCase): |
| self.assertTrue(func is not None) |
| self.assertTrue(func['nocompile']) |
| + def testNoDefine(self): |
|
Devlin
2016/02/29 20:38:16
It might also be nice to test add a test that thes
tommycli
2016/02/29 21:53:31
I added a test in the latest patchset in the same
|
| + schema = self.idl_basics |
| + func = getFunction(schema, 'function31') |
| + self.assertTrue(func is not None) |
| + self.assertTrue(func['nodefine']) |
| + |
| def testNoDocOnEnum(self): |
| schema = self.idl_basics |
| enum_with_nodoc = getType(schema, 'EnumTypeWithNoDoc') |