hrev47539 adds 1 changeset to branch 'master' old head: ba0b0f2319047908ef6bde9c3c77d15648ed8765 new head: 7cd7f2fbf311cfe61d1278825c7e883801516ad6 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=7cd7f2f+%5Eba0b0f2 ---------------------------------------------------------------------------- 7cd7f2f: Remove test that can't work. I didn't mean to commit this. Sorry again. [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev47539 Commit: 7cd7f2fbf311cfe61d1278825c7e883801516ad6 URL: http://cgit.haiku-os.org/haiku/commit/?id=7cd7f2f Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> Date: Mon Jul 21 08:21:32 2014 UTC ---------------------------------------------------------------------------- 1 file changed, 33 deletions(-) src/tests/servers/app/transformation/main.cpp | 33 ----------------------- ---------------------------------------------------------------------------- diff --git a/src/tests/servers/app/transformation/main.cpp b/src/tests/servers/app/transformation/main.cpp index a206338..26e733d 100644 --- a/src/tests/servers/app/transformation/main.cpp +++ b/src/tests/servers/app/transformation/main.cpp @@ -492,38 +492,6 @@ public: }; -// #pragma mark - ClippingStates - - -class ClippingStatesTest : public Test { -public: - ClippingStatesTest() - : - Test("Clipping in nested state") - { - } - - virtual void Draw(BView* view, BRect updateRect) - { - BRect r (20, 20, 300, 300); - view->SetHighColor(ui_color(B_FAILURE_COLOR)); - view->FillRect(r); - - BAffineTransform transform; - transform.TranslateBy(20, 0); - view->SetTransform(transform); - - // This should clip to exactly the area we filled red above. - r.OffsetBy(-20, 0); - BRegion clipping(r); - view->ConstrainClippingRegion(&clipping); - - view->SetHighColor(ui_color(B_SUCCESS_COLOR)); - view->FillRect(BRect(-1000, -1000, 1000, 1000)); - } -}; - - // #pragma mark - Clipping @@ -669,7 +637,6 @@ main(int argc, char** argv) window->AddTest(new RectsTest()); window->AddTest(new BitmapClipTest()); - window->AddTest(new ClippingStatesTest()); window->AddTest(new TextClippingTest()); window->AddTest(new AlphaMaskBitmapTest()); window->AddTest(new GradientTest());