From 7212dd427aa7092330a1843c2fa43f67b1e89fc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 1 Feb 2014 22:12:21 +0100 Subject: [PATCH] ClipToPicture test: Start the interesting test. * Also fix the compare graphics to what they are actually supposed to look for the nested states test. --- src/tests/servers/app/clip_to_picture/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tests/servers/app/clip_to_picture/main.cpp b/src/tests/servers/app/clip_to_picture/main.cpp index 6b4c08cc75..2fdbce3cc5 100644 --- a/src/tests/servers/app/clip_to_picture/main.cpp +++ b/src/tests/servers/app/clip_to_picture/main.cpp @@ -365,7 +365,7 @@ class Test4Clipping : public TestRenderer { view->ClipToPicture(&picture); view->PushState(); - view->SetScale(3.0); + view->SetScale(2.0); view->ClipToPicture(&picture); view->FillRect(view->Bounds()); @@ -383,7 +383,7 @@ class Test4Validate : public TestRenderer { view->DrawString("Clipping", BPoint(10, 15)); view->SetScale(2.0); view->DrawString("Clipping", BPoint(10, 15)); - view->SetScale(3.0); + view->SetScale(4.0); view->DrawString("Clipping", BPoint(10, 15)); } }; @@ -411,6 +411,7 @@ main(int argc, char** argv) window->AddTest(new Test("Nested states", new Test4Clipping(), new Test4Validate())); + window->SetToTest(3); window->Show(); app.Run();