1 // BMPTranslatorTest.h 2 3 #ifndef BMP_TRANSLATOR_TEST_H 4 #define BMP_TRANSLATOR_TEST_H 5 6 #include <TestCase.h> 7 #include <TestShell.h> 8 9 #define BBT_MIME_STRING "image/x-be-bitmap" 10 #define BMP_MIME_STRING "image/x-bmp" 11 12 class CppUnit::Test; 13 14 class BMPTranslatorTest : public BTestCase { 15 public: 16 static CppUnit::Test* Suite(); 17 18 // This function called before *each* test added in Suite() 19 void setUp(); 20 21 // This function called after *each* test added in Suite() 22 void tearDown(); 23 24 //------------------------------------------------------------ 25 // Test functions 26 //------------------------------------------------------------ 27 #if !TEST_R5 28 void LoadAddOnTest(); 29 #endif 30 void IdentifyTest(); 31 void TranslateTest(); 32 void ConfigMessageTest(); 33 }; 34 35 #endif // BMP_TRANSLATOR_TEST_H 36