mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 08:20:36 +00:00
Add comprehensive tests for DrawingMessageParser and SarMessageParser
- Implement critical string formatting tests for DrawingMessageParser, ensuring correct message creation, parsing, and validation. - Validate JSON structure, coordinate formatting, and color index preservation in drawing messages. - Introduce tests for various drawing types, including LineDrawing and RectangleDrawing, with emphasis on output consistency and error handling. - Add tests for SarMessageParser, covering message creation, parsing, and format validation, including backward compatibility with old formats. - Ensure proper handling of special characters, empty notes, and extreme coordinate values in SAR messages. - Validate that messages conform to the CLAUDE.md specification and maintain compactness and efficiency.
This commit is contained in:
@@ -31,7 +31,9 @@
|
||||
"Bash(git add:*)",
|
||||
"Bash(git commit -m \"$(cat <<''EOF''\nfeat: Add Linux desktop build support to CI/CD workflow\n\nAdd build-linux job to compile Linux x64 desktop application and\nintegrate it into the R2 upload and release workflows.\n\nChanges:\n- New build-linux job: Builds Flutter Linux desktop app with GTK-3\n- Archives Linux build as tar.gz for distribution\n- Added Linux artifact download in upload-to-r2 job\n- Updated artifact preparation to copy Linux archives\n- Added Linux download card (🐧) to generated index.html\n- Included Linux artifacts in GitHub releases\n- Added Linux to download summary in workflow output\n\nThe Linux build produces MeshCore-SAR-Linux.tar.gz containing the\ncompiled application bundle ready for x64 Linux systems.\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude <noreply@anthropic.com>\nEOF\n)\")",
|
||||
"Bash(git --no-pager log -1 --stat)",
|
||||
"Bash(awk:*)"
|
||||
"Bash(awk:*)",
|
||||
"Bash(flutter test:*)",
|
||||
"Bash(git log:*)"
|
||||
],
|
||||
"deny": [],
|
||||
"ask": []
|
||||
|
||||
Reference in New Issue
Block a user