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:
LGUG2Z committed 2026-10-30 18:21:25 -07:00
1 parent aa353a7158
commit 72aa4c97ad
1 file changed
+2
+2
View File
@@ -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));
}