Lines Matching refs:fta
173 Formattable fta, ftb; in test_Formattable() local
174 fta.setLong(1); ftb.setLong(2); in test_Formattable()
175 if ((fta != ftb) || !(fta == ftb)) { in test_Formattable()
178 fta.getLong(&status); in test_Formattable()
187 fta = ftb; in test_Formattable()
188 if ((fta == ftb) || !(fta != ftb)) { in test_Formattable()
194 fta.setDouble( 3.0 ); in test_Formattable()
195 if ((fta.getType() == Formattable::kDouble) && (fta.getDouble() == 3.0)) { in test_Formattable()
201 fta.getDate(status = U_ZERO_ERROR); in test_Formattable()
205 fta.setDate( 4.0 ); in test_Formattable()
206 if ((fta.getType() == Formattable::kDate) && (fta.getDate() == 4.0)) { in test_Formattable()
209 fta.getDate(status); in test_Formattable()
220 fta.getLong(&status); in test_Formattable()
225 fta.setString("abc"); in test_Formattable()
226 const Formattable ftc(fta); in test_Formattable()
231 t = (fta.getType() == Formattable::kString) in test_Formattable()
232 && (fta.getString(res) == "abc") in test_Formattable()
233 && (fta.getString() == "abc"); in test_Formattable()
234 res = fta.getString(status = U_ZERO_ERROR); in test_Formattable()
295 res_array = fta.getArray(res_cnt, status = U_ZERO_ERROR); in test_Formattable()
353 fta.adoptString( ucs_dyn ); in test_Formattable()
354 if ((fta.getType() == Formattable::kString) && (fta.getString(tmp2) == "ttt")) { in test_Formattable()
359 fta.setLong(0); // calls 'dispose' and deletes adopted string ! in test_Formattable()