vfs: check userland buffers before reading them.
[haiku.git] / src / tests / add-ons / translators / bmptranslator / BMPTranslatorTest.h
blobcd1534efe3e81f71ae66a992ef14b3815199a446
1 // BMPTranslatorTest.h
3 #ifndef BMP_TRANSLATOR_TEST_H
4 #define BMP_TRANSLATOR_TEST_H
6 #include <TestCase.h>
7 #include <TestShell.h>
9 #define BBT_MIME_STRING "image/x-be-bitmap"
10 #define BMP_MIME_STRING "image/x-bmp"
12 namespace CppUnit {
13 class Test;
16 class BMPTranslatorTest : public BTestCase {
17 public:
18 static CppUnit::Test* Suite();
20 // This function called before *each* test added in Suite()
21 void setUp();
23 // This function called after *each* test added in Suite()
24 void tearDown();
26 //------------------------------------------------------------
27 // Test functions
28 //------------------------------------------------------------
29 #if !TEST_R5
30 void LoadAddOnTest();
31 #endif
32 void IdentifyTest();
33 void TranslateTest();
34 void ConfigMessageTest();
37 #endif // BMP_TRANSLATOR_TEST_H