Lines Matching refs:ti

82 	translator_info ti;  in IdentifyTests()  local
93 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
94 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti) == B_OK); in IdentifyTests()
96 CheckPlain(&ti); in IdentifyTests()
98 CheckStyled(&ti); in IdentifyTests()
102 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
103 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL, in IdentifyTests()
106 CheckPlain(&ti); in IdentifyTests()
108 CheckStyled(&ti); in IdentifyTests()
112 memset(&ti, 0, sizeof(translator_info)); in IdentifyTests()
113 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL, in IdentifyTests()
116 CheckPlain(&ti); in IdentifyTests()
118 CheckStyled(&ti); in IdentifyTests()
138 translator_info ti; in IdentifyTest() local
139 memset(&ti, 0, sizeof(translator_info)); in IdentifyTest()
140 result = proster->Identify(&wronginput, NULL, &ti, 0, in IdentifyTest()
143 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0); in IdentifyTest()
147 memset(&ti, 0, sizeof(translator_info)); in IdentifyTest()
148 result = proster->Identify(&wronginput, NULL, &ti); in IdentifyTest()
150 CheckTranslatorInfo(&ti, B_TRANSLATOR_TEXT, B_TRANSLATOR_TEXT, 0.4f, 0.36f, in IdentifyTest()
155 memset(&ti, 0, sizeof(translator_info)); in IdentifyTest()
159 result = proster->Identify(&wrongmagic, NULL, &ti); in IdentifyTest()
161 CheckTranslatorInfo(&ti, B_TRANSLATOR_TEXT, B_TRANSLATOR_TEXT, 0.4f, 0.36f, in IdentifyTest()
166 memset(&ti, 0, sizeof(translator_info)); in IdentifyTest()
170 result = proster->Identify(&wrongversion, NULL, &ti); in IdentifyTest()
172 CheckTranslatorInfo(&ti, B_TRANSLATOR_TEXT, B_TRANSLATOR_TEXT, 0.4f, 0.36f, in IdentifyTest()