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 943c76c14c0e90905ce595b1cfec34a88dd57106..ab6e94e41eac31cf476f05b40afb57698291ef59 100755 |
| --- a/tools/json_schema_compiler/idl_schema_test.py |
| +++ b/tools/json_schema_compiler/idl_schema_test.py |
| @@ -71,5 +71,11 @@ class IdlSchemaTest(unittest.TestCase): |
| 'type': 'array'}] |
| self.assertEquals(expected, getParams(schema, 'function14')) |
| + def testNoCompile(self): |
| + schema = self.idl_basics |
| + func = getFunction(schema, 'function15') |
| + self.assertTrue(func != None) |
|
miket_OOO
2012/05/23 22:02:28
Says PEP8: "Comparisons to singletons like None sh
asargent_no_longer_on_chrome
2012/05/23 22:21:07
Done.
|
| + self.assertTrue(func['nocompile']) |
| + |
| if __name__ == '__main__': |
| unittest.main() |