Add ability to generate unused enum values in templates. (#583)
https://github.com/project-chip/zap/issues/582 0. Add sparse enum to the unit test data. 1. Add helpers to generate the spare enum. 2. Add unit test for the "first_unused_enum_value" both modes.
显示
- src-electron/generator/helper-zcl.js 56 个添加, 5 个删除src-electron/generator/helper-zcl.js
- test/gen-meta.test.js 3 个添加, 1 个删除test/gen-meta.test.js
- test/resource/meta/type-by-cluster.zapt 3 个添加, 1 个删除test/resource/meta/type-by-cluster.zapt
- test/resource/meta/types.xml 7 个添加, 0 个删除test/resource/meta/types.xml
加载中
想要评论请 注册 或 登录