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