Enable wxPaintDC-related tests under wxOSX
With delay after refreshing testing window added in 808bbe8341 ("Fix
executing wxPaintDC-related tests under wxGTK", 2023-01-04) wxPaintDC
tests work also under wxOSX.
This commit is contained in:
parent
808bbe8341
commit
0e2fee1755
2 changed files with 0 additions and 8 deletions
|
|
@ -663,9 +663,6 @@ TEST_CASE("ClipperTestCase::wxSVGFileDC", "[clipper][dc][svgdc]")
|
|||
|
||||
TEST_CASE("ClipperTestCase::wxPaintDC", "[clipper][dc][paintdc]")
|
||||
{
|
||||
#ifdef __WXOSX__
|
||||
WARN("Skipping tests known to fail in wxOSX");
|
||||
#else
|
||||
// Ensure window is shown and large enough for testing
|
||||
wxTheApp->GetTopWindow()->Raise();
|
||||
REQUIRE(wxTheApp->GetTopWindow()->IsShown());
|
||||
|
|
@ -761,5 +758,4 @@ TEST_CASE("ClipperTestCase::wxPaintDC", "[clipper][dc][paintdc]")
|
|||
}
|
||||
|
||||
CHECK(paintExecuted == true);
|
||||
#endif // !__WXOSX__
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3967,9 +3967,6 @@ TEST_CASE("ClippingBoxTestCase::wxSVGFileDC", "[clip][dc][svgdc]")
|
|||
|
||||
TEST_CASE("ClippingBoxTestCase::wxPaintDC", "[clip][dc][paintdc]")
|
||||
{
|
||||
#ifdef __WXOSX__
|
||||
WARN("Skipping tests known to fail in wxOSX");
|
||||
#else
|
||||
wxBitmap bmp; // We need wxNullBitmap because we can't check the output
|
||||
// Ensure window is shown and large enough for testing
|
||||
wxTheApp->GetTopWindow()->Raise();
|
||||
|
|
@ -4331,7 +4328,6 @@ TEST_CASE("ClippingBoxTestCase::wxPaintDC", "[clip][dc][paintdc]")
|
|||
}
|
||||
|
||||
CHECK(paintExecuted == true);
|
||||
#endif // !__WXOSX__
|
||||
}
|
||||
|
||||
#if wxUSE_GRAPHICS_CONTEXT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue