105a19344SMatthew Wilber /*****************************************************************************/ 2*2ca13760SColdfirex // Haiku Translation Kit Test 305a19344SMatthew Wilber // 405a19344SMatthew Wilber // Version: 505a19344SMatthew Wilber // Author: Michael Wilber 605a19344SMatthew Wilber // This is the Test application for BTranslator 705a19344SMatthew Wilber // 805a19344SMatthew Wilber // 905a19344SMatthew Wilber // This application and all source files used in its construction, except 1005a19344SMatthew Wilber // where noted, are licensed under the MIT License, and have been written 1105a19344SMatthew Wilber // and are: 1205a19344SMatthew Wilber // 13*2ca13760SColdfirex // Copyright (c) 2002 Haiku Project 1405a19344SMatthew Wilber // 1505a19344SMatthew Wilber // Permission is hereby granted, free of charge, to any person obtaining a 1605a19344SMatthew Wilber // copy of this software and associated documentation files (the "Software"), 1705a19344SMatthew Wilber // to deal in the Software without restriction, including without limitation 1805a19344SMatthew Wilber // the rights to use, copy, modify, merge, publish, distribute, sublicense, 1905a19344SMatthew Wilber // and/or sell copies of the Software, and to permit persons to whom the 2005a19344SMatthew Wilber // Software is furnished to do so, subject to the following conditions: 2105a19344SMatthew Wilber // 2205a19344SMatthew Wilber // The above copyright notice and this permission notice shall be included 2305a19344SMatthew Wilber // in all copies or substantial portions of the Software. 2405a19344SMatthew Wilber // 2505a19344SMatthew Wilber // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 2605a19344SMatthew Wilber // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 2705a19344SMatthew Wilber // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 2805a19344SMatthew Wilber // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 2905a19344SMatthew Wilber // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 3005a19344SMatthew Wilber // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 3105a19344SMatthew Wilber // DEALINGS IN THE SOFTWARE. 3205a19344SMatthew Wilber /*****************************************************************************/ 3305a19344SMatthew Wilber #ifndef TRANSLATOR_TEST_H 3405a19344SMatthew Wilber #define TRANSLATOR_TEST_H 3505a19344SMatthew Wilber 3605a19344SMatthew Wilber #include <Translator.h> 3705a19344SMatthew Wilber 3805a19344SMatthew Wilber /** CppUnit support */ 3905a19344SMatthew Wilber #include <TestCase.h> 4005a19344SMatthew Wilber 4105a19344SMatthew Wilber class TranslatorTest : public BTestCase { 4205a19344SMatthew Wilber public: 4305a19344SMatthew Wilber TranslatorTest(std::string name = ""); 4405a19344SMatthew Wilber ~TranslatorTest(); 4505a19344SMatthew Wilber 4605a19344SMatthew Wilber /* cppunit suite function prototype */ 4705a19344SMatthew Wilber static CppUnit::Test *Suite(); 4805a19344SMatthew Wilber 4905a19344SMatthew Wilber //actual tests 5005a19344SMatthew Wilber void AcquireReleaseTest(); 5105a19344SMatthew Wilber void MakeConfigurationViewTest(); 5205a19344SMatthew Wilber void GetConfigurationMessageTest(); 5305a19344SMatthew Wilber 5405a19344SMatthew Wilber private: 5505a19344SMatthew Wilber }; 5605a19344SMatthew Wilber 5705a19344SMatthew Wilber #endif // #ifndef TRANSLATOR_TEST_H 58