xref: /haiku/src/tests/add-ons/translators/stxttranslator/STXTTranslatorTest.h (revision e5430a086c769ea76c3944046b1f07cf049c1ae0)
1 // STXTTranslatorTest.h
2 
3 #ifndef STXT_TRANSLATOR_TEST_H
4 #define STXT_TRANSLATOR_TEST_H
5 
6 #include <TestCase.h>
7 #include <TestShell.h>
8 
9 #define TEXT_MIME_STRING "text/plain"
10 #define STXT_MIME_STRING "text/x-vnd.Be-stxt"
11 
12 class CppUnit::Test;
13 
14 class STXTTranslatorTest : 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	// STXT_TRANSLATOR_TEST_H
36