Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include test cases for handling zero-size files in rohmu #156

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

0xlianhu
Copy link
Contributor

Add test cases to test Rohmu handle zero size files:

Generate an empty file -> compress(lzma/zstd/snappy) and encrypt -> upload (local file system) -> download, decrypt+decompress -> Verify if download files are expected files

@0xlianhu 0xlianhu requested review from a team and packi November 16, 2023 09:18
@0xlianhu 0xlianhu force-pushed the 0xlianhu-add-rohmu-acceptance-tests branch from cbbc02d to ec949c4 Compare November 16, 2023 09:20
@0xlianhu 0xlianhu force-pushed the 0xlianhu-add-rohmu-acceptance-tests branch 3 times, most recently from a67121c to e3a31e2 Compare November 16, 2023 09:59
@0xlianhu 0xlianhu force-pushed the 0xlianhu-add-rohmu-acceptance-tests branch from e3a31e2 to e567df9 Compare November 16, 2023 10:08
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7dfd0c7) 66.76% compared to head (e567df9) 70.93%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #156      +/-   ##
==========================================
+ Coverage   66.76%   70.93%   +4.16%     
==========================================
  Files          35       35              
  Lines        3909     3909              
==========================================
+ Hits         2610     2773     +163     
+ Misses       1299     1136     -163     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@packi packi merged commit 638cebe into main Nov 16, 2023
8 checks passed
@packi packi deleted the 0xlianhu-add-rohmu-acceptance-tests branch November 16, 2023 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants