mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-13 12:23:38 +01:00
test(border): leave the paint tests to a real desktop
They create a window and a Direct2D border and check that it is painted, which needs a desktop to paint on. Run them with --ignored.
This commit is contained in:
1 parent
aa353a7158
commit
72aa4c97ad
1 file changed
+2
@@ -860,11 +860,13 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "needs a real desktop to paint on"]
|
||||
fn a_new_border_is_painted_when_windows_are_handled_synchronously() {
|
||||
assert!(is_painted(crate::WindowHandlingBehaviour::Sync));
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "needs a real desktop to paint on"]
|
||||
fn a_new_border_is_painted_when_windows_are_handled_asynchronously() {
|
||||
assert!(is_painted(crate::WindowHandlingBehaviour::Async));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user