1 // TranslatorTestAddOn.h 2 3 #ifndef TRANSLATOR_TEST_ADD_ON_H 4 #define TRANSLATOR_TEST_ADD_ON_H 5 6 #include <TestCase.h> 7 #include <TestSuite.h> 8 #include <TestSuiteAddon.h> 9 #include <DataIO.h> 10 #include <TranslationDefs.h> 11 12 bool CompareStreams(BPositionIO &a, BPositionIO &b); 13 14 void CheckTranslatorInfo(translator_info *pti, 15 uint32 type, uint32 group, float quality, float capability, 16 const char *name, const char *mime); 17 18 void TranslatorLoadAddOnTest(const char *path, BTestCase *ptest, 19 const translation_format *pExpectedIns, uint32 nExpectedIns, 20 const translation_format *pExpectedOuts, uint32 nExpectedOuts); 21 22 #endif // #ifndef TRANSLATOR_TEST_ADD_ON_H 23