1 /* 2 * Copyright (C) 2008 Stephan Aßmus <superstippi@gmx.de> 3 * All rights reserved. Distributed under the terms of the MIT license. 4 */ 5 #ifndef TEST_H 6 #define TEST_H 7 8 #include <Region.h> 9 10 class BView; 11 12 class Test { 13 public: 14 Test(); 15 virtual ~Test(); 16 17 virtual void Prepare(BView* view) = 0; 18 virtual bool RunIteration(BView* view) = 0; 19 virtual void PrintResults(BView* view); 20 21 void SetupClipping(BView* view); 22 23 protected: 24 BRegion fClippingRegion; 25 }; 26 27 #endif // TEST_H 28