-
Notifications
You must be signed in to change notification settings - Fork 165
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
Test to minic how Realm Java compact an encrypted and populated file #1201
Conversation
@@ -2,7 +2,8 @@ | |||
|
|||
### Bugfixes: | |||
|
|||
* Lorem ipsum. | |||
* Fixed a bug in SharedGroup::Compact() which could leave the database in an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that the method is SharedGroup::compact()
.
👍 |
Coverage: 100% Please check your coverage here: https://ci.realm.io/job/core_matrix_pr/1077/buildcommand=jenkins-pipeline-coverage,buildtype=debug,encryption=no,slave=fastlinux/Diff_Coverage/ |
@@ -8968,4 +8968,48 @@ TEST(LangBindHelper_RollbackToInitialState2) | |||
sg_w.rollback(); | |||
} | |||
|
|||
TEST(LangBindHelper_Compact) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we test this with and without encryption?
Sure, just build and run the unittests boths with and without encryption. |
Why not use the parameter feature of the unit test framework? |
Connected to #1216
@finnschiermer