xref: /haiku/src/tests/add-ons/translators/stxttranslator/STXTTranslatorTest.h (revision 508f54795f39c3e7552d87c95aae9dd8ec6f505b)
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 namespace CppUnit {
13 class Test;
14 }
15 
16 class STXTTranslatorTest : 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 	void ConfigMessageTest();
35 };
36 
37 #endif	// STXT_TRANSLATOR_TEST_H
38