- Added regenerate-test-mocks step to generate bindings and C mocks - Added check-mocks step to compile generated code without running tests - Added test-mocks step to run full test suite (4 tests) - Implemented parser/test/mock_test.zig with comprehensive tests - Verified C mocks compile to static library with correct symbols - All tests pass: opaque types, enums, and function calls work correctly Build commands: zig build regenerate-test-mocks - Generate bindings and mocks zig build check-mocks - Compile check only zig build test-mocks - Run full test suite Tests verify: - Generated Zig code is syntactically valid - C mocks compile and link correctly - Functions are callable from Zig - Type safety is preserved across C/Zig boundary |
||
|---|---|---|
| .. | ||
| mock_test.zig | ||