1/* 2 $Id: DeskbarLocationTest.h 1236 2002-09-28 07:27:00Z shatty $ 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 18class DeskbarLocationTest : 19 public TestCase { 20 21private: 22 void CheckLocation(BDeskbar *, deskbar_location, bool, bool); 23 void TestLocation(BDeskbar *, deskbar_location); 24 25protected: 26 27public: 28 static Test *suite(void); 29 void PerformTest(void); 30 DeskbarLocationTest(std::string name = ""); 31 virtual ~DeskbarLocationTest(); 32 }; 33 34#endif 35