1 /* 2 $Id: DeskbarLocationTest.h,v 1.2 2002/09/28 07:27:00 shatty Exp $ 3 4 This file defines a class for performing a test of BDeskbar 5 functionality. 6 7 */ 8 9 10 #ifndef DeskbarLocationTest_H 11 #define DeskbarLocationTest_H 12 13 14 #include "../common.h" 15 #include <Deskbar.h> 16 17 18 class DeskbarLocationTest : 19 public TestCase { 20 21 private: 22 void CheckLocation(BDeskbar *, deskbar_location, bool, bool); 23 void TestLocation(BDeskbar *, deskbar_location); 24 25 protected: 26 27 public: 28 static Test *suite(void); 29 void PerformTest(void); 30 DeskbarLocationTest(std::string name = ""); 31 virtual ~DeskbarLocationTest(); 32 }; 33 34 #endif 35