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

Unit tests@xen #124

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

arnabcs17b006
Copy link
Contributor

No description provided.

@arnabcs17b006 arnabcs17b006 force-pushed the unit_tests@xen branch 3 times, most recently from d42a7f7 to fc71313 Compare September 1, 2020 17:43
@codecov-commenter
Copy link

codecov-commenter commented Sep 1, 2020

Codecov Report

Merging #124 into master will decrease coverage by 0.03%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
- Coverage   16.73%   16.70%   -0.04%     
==========================================
  Files           5        5              
  Lines         472      473       +1     
  Branches       65       70       +5     
==========================================
  Hits           79       79              
- Misses        382      383       +1     
  Partials       11       11              
Flag Coverage Δ
#unittests 16.70% <0.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/api.rs 0.00% <0.00%> (ø)
src/driver/kvm.rs 27.05% <0.00%> (-0.10%) ⬇️
src/lib.rs 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4196a29...812a02a. Read the comment docs.

let mut xenevtchn_mock = MockXenEventChannel::default();
let mut xenforeignmemory_mock = MockXenForeignMem::default();
let mut xenstore_mock = MockXs::default();
let error: Box<dyn std::error::Error + std::marker::Sync + std::marker::Send + 'static> = Box::new(std::error::Error);
Copy link
Collaborator

Choose a reason for hiding this comment

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

You are trying to create an object of a trait here. That's not possible.

@arnabcs17b006
Copy link
Contributor Author

arnabcs17b006 commented Sep 2, 2020 via email

@Wenzel Wenzel added this to the Next Release milestone Dec 15, 2020
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.

4 participants