xref: /haiku/src/tests/add-ons/translators/bmptranslator/BMPTranslatorTest.h (revision 94fb5d40964b0046ecd2bbaa8f4cdc836b539019)
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 BMP_MIME_STRING "image/x-bmp"
10 #define BITS_MIME_STRING "image/x-be-bitmap"
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 BTranslatorBasicTest();
29 	void BTranslatorIdentifyErrorTest();
30 	void BTranslatorIdentifyTest();
31 	void BTranslatorTranslateTest();
32 #endif
33 
34 	void DummyTest();
35 };
36 
37 #endif	// BMP_TRANSLATOR_TEST_H
38