diff --git a/src/tests/add-ons/translators/stxttranslator/STXTTranslatorTest.cpp b/src/tests/add-ons/translators/stxttranslator/STXTTranslatorTest.cpp new file mode 100644 index 0000000000..251134f26e --- /dev/null +++ b/src/tests/add-ons/translators/stxttranslator/STXTTranslatorTest.cpp @@ -0,0 +1,62 @@ +// STXTTranslatorTest.cpp +#include "STXTTranslatorTest.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +//#include "../../../../add-ons/translators/bmptranslator/STXTTranslator.h" + +// Suite +CppUnit::Test * +STXTTranslatorTest::Suite() +{ + CppUnit::TestSuite *suite = new CppUnit::TestSuite(); + typedef CppUnit::TestCaller TC; + + suite->addTest( + new TC("STXTTranslator DummyTest", + &STXTTranslatorTest::DummyTest)); +#if !TEST_R5 + +#endif + + return suite; +} + +// setUp +void +STXTTranslatorTest::setUp() +{ + BTestCase::setUp(); +} + +// tearDown +void +STXTTranslatorTest::tearDown() +{ + BTestCase::tearDown(); +} + +#if !TEST_R5 + +#endif // #if !TEST_R5 + +// DummyTest +void +STXTTranslatorTest::DummyTest() +{ + // 0. Tautology + NextSubTest(); + printf("Hello from mars."); + CPPUNIT_ASSERT( true == true ); +} diff --git a/src/tests/add-ons/translators/stxttranslator/STXTTranslatorTest.h b/src/tests/add-ons/translators/stxttranslator/STXTTranslatorTest.h new file mode 100644 index 0000000000..4acf77cdd4 --- /dev/null +++ b/src/tests/add-ons/translators/stxttranslator/STXTTranslatorTest.h @@ -0,0 +1,31 @@ +// STXTTranslatorTest.h + +#ifndef STXT_TRANSLATOR_TEST_H +#define STXT_TRANSLATOR_TEST_H + +#include +#include + +class CppUnit::Test; + +class STXTTranslatorTest : public BTestCase { +public: + static CppUnit::Test* Suite(); + + // This function called before *each* test added in Suite() + void setUp(); + + // This function called after *each* test added in Suite() + void tearDown(); + + //------------------------------------------------------------ + // Test functions + //------------------------------------------------------------ +#if !TEST_R5 + +#endif + + void DummyTest(); +}; + +#endif // STXT_TRANSLATOR_TEST_H