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

Refactor tests for naivebuffermgr #30

Merged
merged 3 commits into from
Jun 25, 2022

Conversation

cutsea110
Copy link
Owner

@cutsea110 cutsea110 commented Jun 25, 2022

refactoring.

FYI. this cannot pass the test.
If you want to check these tests. you get to cherry-pick 94800a0 .
This commit is in #29 .

use super::*;

#[test]
fn unit_test() -> Result<()> {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's from src/buffer/manager.rs test code.

}

#[test]
fn replace_strategy_test() -> Result<()> {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new test.
check for replacement strategy.

@cutsea110 cutsea110 self-assigned this Jun 25, 2022
@cutsea110 cutsea110 merged commit c23be66 into master Jun 25, 2022
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.

1 participant