1// TGATranslatorTest.h 2 3#ifndef TGA_TRANSLATOR_TEST_H 4#define TGA_TRANSLATOR_TEST_H 5 6#include <TestCase.h> 7#include <TestShell.h> 8 9#define BBT_MIME_STRING "image/x-be-bitmap" 10#define TGA_MIME_STRING "image/x-targa" 11 12namespace CppUnit { 13class Test; 14} 15 16class TGATranslatorTest : public BTestCase { 17public: 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 void ConfigMessageTest(); 35}; 36 37#endif // TGA_TRANSLATOR_TEST_H 38