152a38012Sejakowatz /*****************************************************************************/ 2*2ca13760SColdfirex // Haiku Translation Kit Test 352a38012Sejakowatz // 452a38012Sejakowatz // Version: 0.1.0 552a38012Sejakowatz // 652a38012Sejakowatz // This is the Test application for BTranslatorRoster 752a38012Sejakowatz // 852a38012Sejakowatz // 952a38012Sejakowatz // This application and all source files used in its construction, except 1052a38012Sejakowatz // where noted, are licensed under the MIT License, and have been written 1152a38012Sejakowatz // and are: 1252a38012Sejakowatz // 13*2ca13760SColdfirex // Copyright (c) 2002 Haiku Project 1452a38012Sejakowatz // 1552a38012Sejakowatz // Permission is hereby granted, free of charge, to any person obtaining a 1652a38012Sejakowatz // copy of this software and associated documentation files (the "Software"), 1752a38012Sejakowatz // to deal in the Software without restriction, including without limitation 1852a38012Sejakowatz // the rights to use, copy, modify, merge, publish, distribute, sublicense, 1952a38012Sejakowatz // and/or sell copies of the Software, and to permit persons to whom the 2052a38012Sejakowatz // Software is furnished to do so, subject to the following conditions: 2152a38012Sejakowatz // 2252a38012Sejakowatz // The above copyright notice and this permission notice shall be included 2352a38012Sejakowatz // in all copies or substantial portions of the Software. 2452a38012Sejakowatz // 2552a38012Sejakowatz // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 2652a38012Sejakowatz // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 2752a38012Sejakowatz // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 2852a38012Sejakowatz // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 2952a38012Sejakowatz // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 3052a38012Sejakowatz // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 3152a38012Sejakowatz // DEALINGS IN THE SOFTWARE. 3252a38012Sejakowatz /*****************************************************************************/ 3352a38012Sejakowatz #ifndef __TRANSLATOR_ROSTER_TEST 3452a38012Sejakowatz #define __TRANSLATOR_ROSTER_TEST 3552a38012Sejakowatz 36606a8f7dSmatzon /** CppUnit support */ 37606a8f7dSmatzon #include <TestCase.h> 3852a38012Sejakowatz #include <TranslatorRoster.h> 3952a38012Sejakowatz 40606a8f7dSmatzon class TranslatorRosterTest : public BTestCase { 4152a38012Sejakowatz public: 42606a8f7dSmatzon TranslatorRosterTest(std::string name = ""); 4352a38012Sejakowatz ~TranslatorRosterTest(); 4452a38012Sejakowatz 45606a8f7dSmatzon /* cppunit suite function prototype */ 46606a8f7dSmatzon static CppUnit::Test* Suite(); 4752a38012Sejakowatz 48606a8f7dSmatzon /* actual tests */ 49606a8f7dSmatzon void InitializeTest(); 50606a8f7dSmatzon void ConstructorTest(); 51606a8f7dSmatzon void DefaultTest(); 52606a8f7dSmatzon void InstantiateTest(); 53606a8f7dSmatzon void VersionTest(); 54606a8f7dSmatzon void AddTranslatorsTest(); 55606a8f7dSmatzon void ArchiveTest(); 56606a8f7dSmatzon void GetAllTranslatorsTest(); 57606a8f7dSmatzon void GetConfigurationMessageTest(); 58606a8f7dSmatzon void GetInputFormatsTest(); 59606a8f7dSmatzon void GetOutputFormatsTest(); 60606a8f7dSmatzon void GetTranslatorInfoTest(); 61606a8f7dSmatzon void GetTranslatorsTest(); 62606a8f7dSmatzon void IdentifyTest(); 63606a8f7dSmatzon void MakeConfigurationViewTest(); 64606a8f7dSmatzon void TranslateTest(); 6552a38012Sejakowatz }; 6652a38012Sejakowatz #endif 67