Index: tools/json_schema_compiler/test/idl_basics.idl |
diff --git a/tools/json_schema_compiler/test/idl_basics.idl b/tools/json_schema_compiler/test/idl_basics.idl |
index d85b5e2e5a5be6ea5c47cfc628ee42a793ee0f97..0a9dff35ae2f0ffe89e208e9430dea687dff2e0e 100644 |
--- a/tools/json_schema_compiler/test/idl_basics.idl |
+++ b/tools/json_schema_compiler/test/idl_basics.idl |
@@ -5,11 +5,25 @@ |
// Tests a variety of basic API definition features. |
namespace idl_basics { |
+ // Enum description |
enum EnumType { |
name1, |
name2 |
}; |
+ // IntegerEnum description |
+ enum IntegerEnumType { |
+ int0 = 0, |
+ int1 = 42 |
+ }; |
+ |
+ // DoubleEnumType description |
+ enum DoubleEnumType { |
+ pi = 3.14159265, |
+ avogadro = 6.0221415e23, |
+ planck = 6.626068e-34 |
+ }; |
+ |
dictionary MyType1 { |
long x; // This comment tests "double-quotes". |
DOMString y; |