• Home
  • Raw
  • Download

Lines Matching refs:status

172     UErrorCode status = U_ZERO_ERROR;  in TestCompatible53_1()  local
174 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible53_1()
175 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible53_1()
176 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible53_1()
177 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible53_1()
178 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible53_1()
179 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible53_1()
180 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible53_1()
181 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible53_1()
182 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible53_1()
183 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible53_1()
184 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible53_1()
185 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible53_1()
186 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible53_1()
187 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible53_1()
188 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible53_1()
189 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible53_1()
190 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible53_1()
191 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible53_1()
192 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible53_1()
193 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible53_1()
194 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible53_1()
195 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible53_1()
196 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible53_1()
197 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible53_1()
198 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible53_1()
199 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible53_1()
200 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible53_1()
201 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible53_1()
202 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible53_1()
203 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible53_1()
204 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible53_1()
205 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible53_1()
206 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible53_1()
207 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible53_1()
208 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible53_1()
209 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible53_1()
210 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible53_1()
211 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible53_1()
212 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible53_1()
213 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible53_1()
214 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible53_1()
215 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible53_1()
216 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible53_1()
217 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible53_1()
218 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible53_1()
219 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible53_1()
220 assertSuccess("", status); in TestCompatible53_1()
224 UErrorCode status = U_ZERO_ERROR; in TestCompatible54_1() local
226 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible54_1()
227 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible54_1()
228 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible54_1()
229 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible54_1()
230 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible54_1()
231 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible54_1()
232 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible54_1()
233 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible54_1()
234 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible54_1()
235 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible54_1()
236 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible54_1()
237 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible54_1()
238 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible54_1()
239 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible54_1()
240 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible54_1()
241 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible54_1()
242 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible54_1()
243 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible54_1()
244 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible54_1()
245 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible54_1()
246 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible54_1()
247 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible54_1()
248 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible54_1()
249 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible54_1()
250 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible54_1()
251 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible54_1()
252 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible54_1()
253 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible54_1()
254 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible54_1()
255 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible54_1()
256 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible54_1()
257 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible54_1()
258 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible54_1()
259 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible54_1()
260 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible54_1()
261 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible54_1()
262 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible54_1()
263 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible54_1()
264 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible54_1()
265 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible54_1()
266 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible54_1()
267 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible54_1()
268 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible54_1()
269 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible54_1()
270 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible54_1()
271 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible54_1()
272 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible54_1()
273 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible54_1()
274 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible54_1()
275 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible54_1()
276 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible54_1()
277 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible54_1()
278 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible54_1()
279 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible54_1()
280 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible54_1()
281 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible54_1()
282 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible54_1()
283 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible54_1()
284 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible54_1()
285 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible54_1()
286 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible54_1()
287 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible54_1()
288 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible54_1()
289 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible54_1()
290 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible54_1()
291 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible54_1()
292 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible54_1()
293 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible54_1()
294 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible54_1()
295 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible54_1()
296 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible54_1()
297 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible54_1()
298 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible54_1()
299 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible54_1()
300 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible54_1()
301 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible54_1()
302 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible54_1()
303 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible54_1()
304 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible54_1()
305 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible54_1()
306 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible54_1()
307 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible54_1()
308 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible54_1()
309 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible54_1()
310 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible54_1()
311 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible54_1()
312 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible54_1()
313 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible54_1()
314 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible54_1()
315 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible54_1()
316 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible54_1()
317 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible54_1()
318 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible54_1()
319 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible54_1()
320 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible54_1()
321 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible54_1()
322 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible54_1()
323 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible54_1()
324 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible54_1()
325 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible54_1()
326 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible54_1()
327 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible54_1()
328 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible54_1()
329 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible54_1()
330 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible54_1()
331 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible54_1()
332 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible54_1()
333 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible54_1()
334 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible54_1()
335 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible54_1()
336 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible54_1()
337 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible54_1()
338 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible54_1()
339 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible54_1()
340 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible54_1()
341 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible54_1()
342 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible54_1()
343 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible54_1()
344 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible54_1()
345 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible54_1()
346 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible54_1()
347 assertSuccess("", status); in TestCompatible54_1()
351 UErrorCode status = U_ZERO_ERROR; in TestCompatible55_1() local
353 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible55_1()
354 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible55_1()
355 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible55_1()
356 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible55_1()
357 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible55_1()
358 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible55_1()
359 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible55_1()
360 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible55_1()
361 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible55_1()
362 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible55_1()
363 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible55_1()
364 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible55_1()
365 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible55_1()
366 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible55_1()
367 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible55_1()
368 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible55_1()
369 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible55_1()
370 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible55_1()
371 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible55_1()
372 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible55_1()
373 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible55_1()
374 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible55_1()
375 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible55_1()
376 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible55_1()
377 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible55_1()
378 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible55_1()
379 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible55_1()
380 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible55_1()
381 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible55_1()
382 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible55_1()
383 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible55_1()
384 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible55_1()
385 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible55_1()
386 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible55_1()
387 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible55_1()
388 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible55_1()
389 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible55_1()
390 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible55_1()
391 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible55_1()
392 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible55_1()
393 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible55_1()
394 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible55_1()
395 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible55_1()
396 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible55_1()
397 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible55_1()
398 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible55_1()
399 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible55_1()
400 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible55_1()
401 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible55_1()
402 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible55_1()
403 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible55_1()
404 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible55_1()
405 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible55_1()
406 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible55_1()
407 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible55_1()
408 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible55_1()
409 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible55_1()
410 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible55_1()
411 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible55_1()
412 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible55_1()
413 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible55_1()
414 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible55_1()
415 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible55_1()
416 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible55_1()
417 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible55_1()
418 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible55_1()
419 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible55_1()
420 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible55_1()
421 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible55_1()
422 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible55_1()
423 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible55_1()
424 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible55_1()
425 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible55_1()
426 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible55_1()
427 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible55_1()
428 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible55_1()
429 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible55_1()
430 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible55_1()
431 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible55_1()
432 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible55_1()
433 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible55_1()
434 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible55_1()
435 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible55_1()
436 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible55_1()
437 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible55_1()
438 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible55_1()
439 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible55_1()
440 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible55_1()
441 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible55_1()
442 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible55_1()
443 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible55_1()
444 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible55_1()
445 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible55_1()
446 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible55_1()
447 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible55_1()
448 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible55_1()
449 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible55_1()
450 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible55_1()
451 measureUnit.adoptInstead(MeasureUnit::createGenericTemperature(status)); in TestCompatible55_1()
452 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible55_1()
453 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible55_1()
454 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible55_1()
455 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible55_1()
456 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible55_1()
457 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible55_1()
458 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible55_1()
459 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible55_1()
460 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible55_1()
461 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible55_1()
462 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible55_1()
463 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible55_1()
464 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible55_1()
465 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible55_1()
466 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible55_1()
467 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible55_1()
468 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible55_1()
469 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible55_1()
470 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible55_1()
471 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible55_1()
472 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible55_1()
473 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible55_1()
474 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible55_1()
475 assertSuccess("", status); in TestCompatible55_1()
479 UErrorCode status = U_ZERO_ERROR; in TestCompatible56_1() local
481 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible56_1()
482 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible56_1()
483 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible56_1()
484 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible56_1()
485 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible56_1()
486 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible56_1()
487 measureUnit.adoptInstead(MeasureUnit::createRevolutionAngle(status)); in TestCompatible56_1()
488 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible56_1()
489 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible56_1()
490 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible56_1()
491 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible56_1()
492 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible56_1()
493 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible56_1()
494 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible56_1()
495 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible56_1()
496 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible56_1()
497 measureUnit.adoptInstead(MeasureUnit::createLiterPer100Kilometers(status)); in TestCompatible56_1()
498 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible56_1()
499 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible56_1()
500 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible56_1()
501 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible56_1()
502 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible56_1()
503 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible56_1()
504 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible56_1()
505 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible56_1()
506 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible56_1()
507 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible56_1()
508 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible56_1()
509 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible56_1()
510 measureUnit.adoptInstead(MeasureUnit::createCentury(status)); in TestCompatible56_1()
511 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible56_1()
512 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible56_1()
513 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible56_1()
514 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible56_1()
515 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible56_1()
516 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible56_1()
517 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible56_1()
518 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible56_1()
519 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible56_1()
520 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible56_1()
521 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible56_1()
522 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible56_1()
523 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible56_1()
524 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible56_1()
525 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible56_1()
526 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible56_1()
527 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible56_1()
528 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible56_1()
529 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible56_1()
530 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible56_1()
531 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible56_1()
532 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible56_1()
533 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible56_1()
534 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible56_1()
535 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible56_1()
536 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible56_1()
537 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible56_1()
538 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible56_1()
539 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible56_1()
540 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible56_1()
541 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible56_1()
542 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible56_1()
543 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible56_1()
544 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible56_1()
545 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible56_1()
546 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible56_1()
547 measureUnit.adoptInstead(MeasureUnit::createMileScandinavian(status)); in TestCompatible56_1()
548 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible56_1()
549 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible56_1()
550 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible56_1()
551 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible56_1()
552 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible56_1()
553 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible56_1()
554 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible56_1()
555 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible56_1()
556 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible56_1()
557 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible56_1()
558 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible56_1()
559 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible56_1()
560 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible56_1()
561 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible56_1()
562 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible56_1()
563 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible56_1()
564 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible56_1()
565 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible56_1()
566 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible56_1()
567 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible56_1()
568 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible56_1()
569 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible56_1()
570 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible56_1()
571 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible56_1()
572 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible56_1()
573 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible56_1()
574 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible56_1()
575 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible56_1()
576 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible56_1()
577 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible56_1()
578 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible56_1()
579 measureUnit.adoptInstead(MeasureUnit::createKnot(status)); in TestCompatible56_1()
580 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible56_1()
581 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible56_1()
582 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible56_1()
583 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible56_1()
584 measureUnit.adoptInstead(MeasureUnit::createGenericTemperature(status)); in TestCompatible56_1()
585 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible56_1()
586 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible56_1()
587 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible56_1()
588 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible56_1()
589 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible56_1()
590 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible56_1()
591 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible56_1()
592 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible56_1()
593 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible56_1()
594 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible56_1()
595 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible56_1()
596 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible56_1()
597 measureUnit.adoptInstead(MeasureUnit::createCupMetric(status)); in TestCompatible56_1()
598 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible56_1()
599 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible56_1()
600 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible56_1()
601 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible56_1()
602 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible56_1()
603 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible56_1()
604 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible56_1()
605 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible56_1()
606 measureUnit.adoptInstead(MeasureUnit::createPintMetric(status)); in TestCompatible56_1()
607 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible56_1()
608 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible56_1()
609 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible56_1()
610 assertSuccess("", status); in TestCompatible56_1()
614 UErrorCode status = U_ZERO_ERROR; in TestCompatible57_1() local
616 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible57_1()
617 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible57_1()
618 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible57_1()
619 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible57_1()
620 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible57_1()
621 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible57_1()
622 measureUnit.adoptInstead(MeasureUnit::createRevolutionAngle(status)); in TestCompatible57_1()
623 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible57_1()
624 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible57_1()
625 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible57_1()
626 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible57_1()
627 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible57_1()
628 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible57_1()
629 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible57_1()
630 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible57_1()
631 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible57_1()
632 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible57_1()
633 measureUnit.adoptInstead(MeasureUnit::createMilligramPerDeciliter(status)); in TestCompatible57_1()
634 measureUnit.adoptInstead(MeasureUnit::createMillimolePerLiter(status)); in TestCompatible57_1()
635 measureUnit.adoptInstead(MeasureUnit::createPartPerMillion(status)); in TestCompatible57_1()
636 measureUnit.adoptInstead(MeasureUnit::createLiterPer100Kilometers(status)); in TestCompatible57_1()
637 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible57_1()
638 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible57_1()
639 measureUnit.adoptInstead(MeasureUnit::createMilePerGallonImperial(status)); in TestCompatible57_1()
640 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible57_1()
641 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible57_1()
642 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible57_1()
643 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible57_1()
644 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible57_1()
645 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible57_1()
646 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible57_1()
647 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible57_1()
648 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible57_1()
649 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible57_1()
650 measureUnit.adoptInstead(MeasureUnit::createCentury(status)); in TestCompatible57_1()
651 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible57_1()
652 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible57_1()
653 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible57_1()
654 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible57_1()
655 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible57_1()
656 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible57_1()
657 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible57_1()
658 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible57_1()
659 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible57_1()
660 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible57_1()
661 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible57_1()
662 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible57_1()
663 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible57_1()
664 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible57_1()
665 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible57_1()
666 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible57_1()
667 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible57_1()
668 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible57_1()
669 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible57_1()
670 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible57_1()
671 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible57_1()
672 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible57_1()
673 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible57_1()
674 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible57_1()
675 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible57_1()
676 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible57_1()
677 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible57_1()
678 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible57_1()
679 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible57_1()
680 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible57_1()
681 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible57_1()
682 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible57_1()
683 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible57_1()
684 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible57_1()
685 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible57_1()
686 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible57_1()
687 measureUnit.adoptInstead(MeasureUnit::createMileScandinavian(status)); in TestCompatible57_1()
688 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible57_1()
689 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible57_1()
690 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible57_1()
691 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible57_1()
692 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible57_1()
693 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible57_1()
694 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible57_1()
695 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible57_1()
696 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible57_1()
697 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible57_1()
698 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible57_1()
699 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible57_1()
700 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible57_1()
701 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible57_1()
702 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible57_1()
703 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible57_1()
704 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible57_1()
705 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible57_1()
706 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible57_1()
707 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible57_1()
708 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible57_1()
709 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible57_1()
710 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible57_1()
711 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible57_1()
712 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible57_1()
713 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible57_1()
714 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible57_1()
715 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible57_1()
716 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible57_1()
717 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible57_1()
718 measureUnit.adoptInstead(MeasureUnit::createKnot(status)); in TestCompatible57_1()
719 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible57_1()
720 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible57_1()
721 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible57_1()
722 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible57_1()
723 measureUnit.adoptInstead(MeasureUnit::createGenericTemperature(status)); in TestCompatible57_1()
724 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible57_1()
725 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible57_1()
726 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible57_1()
727 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible57_1()
728 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible57_1()
729 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible57_1()
730 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible57_1()
731 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible57_1()
732 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible57_1()
733 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible57_1()
734 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible57_1()
735 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible57_1()
736 measureUnit.adoptInstead(MeasureUnit::createCupMetric(status)); in TestCompatible57_1()
737 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible57_1()
738 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible57_1()
739 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible57_1()
740 measureUnit.adoptInstead(MeasureUnit::createGallonImperial(status)); in TestCompatible57_1()
741 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible57_1()
742 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible57_1()
743 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible57_1()
744 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible57_1()
745 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible57_1()
746 measureUnit.adoptInstead(MeasureUnit::createPintMetric(status)); in TestCompatible57_1()
747 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible57_1()
748 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible57_1()
749 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible57_1()
750 assertSuccess("", status); in TestCompatible57_1()
754 UErrorCode status = U_ZERO_ERROR; in TestCompatible58_1() local
756 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible58_1()
757 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible58_1()
758 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible58_1()
759 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible58_1()
760 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible58_1()
761 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible58_1()
762 measureUnit.adoptInstead(MeasureUnit::createRevolutionAngle(status)); in TestCompatible58_1()
763 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible58_1()
764 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible58_1()
765 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible58_1()
766 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible58_1()
767 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible58_1()
768 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible58_1()
769 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible58_1()
770 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible58_1()
771 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible58_1()
772 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible58_1()
773 measureUnit.adoptInstead(MeasureUnit::createMilligramPerDeciliter(status)); in TestCompatible58_1()
774 measureUnit.adoptInstead(MeasureUnit::createMillimolePerLiter(status)); in TestCompatible58_1()
775 measureUnit.adoptInstead(MeasureUnit::createPartPerMillion(status)); in TestCompatible58_1()
776 measureUnit.adoptInstead(MeasureUnit::createLiterPer100Kilometers(status)); in TestCompatible58_1()
777 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible58_1()
778 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible58_1()
779 measureUnit.adoptInstead(MeasureUnit::createMilePerGallonImperial(status)); in TestCompatible58_1()
780 measureUnit.adoptInstead(MeasureUnit::createEast(status)); in TestCompatible58_1()
781 measureUnit.adoptInstead(MeasureUnit::createNorth(status)); in TestCompatible58_1()
782 measureUnit.adoptInstead(MeasureUnit::createSouth(status)); in TestCompatible58_1()
783 measureUnit.adoptInstead(MeasureUnit::createWest(status)); in TestCompatible58_1()
784 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible58_1()
785 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible58_1()
786 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible58_1()
787 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible58_1()
788 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible58_1()
789 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible58_1()
790 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible58_1()
791 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible58_1()
792 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible58_1()
793 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible58_1()
794 measureUnit.adoptInstead(MeasureUnit::createCentury(status)); in TestCompatible58_1()
795 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible58_1()
796 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible58_1()
797 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible58_1()
798 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible58_1()
799 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible58_1()
800 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible58_1()
801 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible58_1()
802 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible58_1()
803 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible58_1()
804 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible58_1()
805 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible58_1()
806 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible58_1()
807 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible58_1()
808 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible58_1()
809 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible58_1()
810 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible58_1()
811 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible58_1()
812 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible58_1()
813 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible58_1()
814 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible58_1()
815 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible58_1()
816 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible58_1()
817 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible58_1()
818 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible58_1()
819 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible58_1()
820 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible58_1()
821 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible58_1()
822 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible58_1()
823 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible58_1()
824 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible58_1()
825 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible58_1()
826 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible58_1()
827 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible58_1()
828 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible58_1()
829 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible58_1()
830 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible58_1()
831 measureUnit.adoptInstead(MeasureUnit::createMileScandinavian(status)); in TestCompatible58_1()
832 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible58_1()
833 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible58_1()
834 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible58_1()
835 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible58_1()
836 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible58_1()
837 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible58_1()
838 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible58_1()
839 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible58_1()
840 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible58_1()
841 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible58_1()
842 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible58_1()
843 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible58_1()
844 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible58_1()
845 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible58_1()
846 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible58_1()
847 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible58_1()
848 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible58_1()
849 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible58_1()
850 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible58_1()
851 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible58_1()
852 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible58_1()
853 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible58_1()
854 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible58_1()
855 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible58_1()
856 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible58_1()
857 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible58_1()
858 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible58_1()
859 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible58_1()
860 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible58_1()
861 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible58_1()
862 measureUnit.adoptInstead(MeasureUnit::createKnot(status)); in TestCompatible58_1()
863 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible58_1()
864 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible58_1()
865 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible58_1()
866 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible58_1()
867 measureUnit.adoptInstead(MeasureUnit::createGenericTemperature(status)); in TestCompatible58_1()
868 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible58_1()
869 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible58_1()
870 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible58_1()
871 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible58_1()
872 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible58_1()
873 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible58_1()
874 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible58_1()
875 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible58_1()
876 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible58_1()
877 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible58_1()
878 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible58_1()
879 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible58_1()
880 measureUnit.adoptInstead(MeasureUnit::createCupMetric(status)); in TestCompatible58_1()
881 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible58_1()
882 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible58_1()
883 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible58_1()
884 measureUnit.adoptInstead(MeasureUnit::createGallonImperial(status)); in TestCompatible58_1()
885 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible58_1()
886 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible58_1()
887 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible58_1()
888 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible58_1()
889 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible58_1()
890 measureUnit.adoptInstead(MeasureUnit::createPintMetric(status)); in TestCompatible58_1()
891 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible58_1()
892 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible58_1()
893 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible58_1()
894 assertSuccess("", status); in TestCompatible58_1()
898 UErrorCode status = U_ZERO_ERROR; in TestBasic() local
899 MeasureUnit *ptr1 = MeasureUnit::createArcMinute(status); in TestBasic()
900 MeasureUnit *ptr2 = MeasureUnit::createArcMinute(status); in TestBasic()
907 MeasureUnit *ptr3 = MeasureUnit::createMeter(status); in TestBasic()
932 UErrorCode status = U_ZERO_ERROR; in TestGetAvailable() local
933 int32_t totalCount = MeasureUnit::getAvailable(units, 0, status); in TestGetAvailable()
934 while (status == U_BUFFER_OVERFLOW_ERROR) { in TestGetAvailable()
935 status = U_ZERO_ERROR; in TestGetAvailable()
938 totalCount = MeasureUnit::getAvailable(units, totalCount, status); in TestGetAvailable()
940 if (U_FAILURE(status)) { in TestGetAvailable()
941 dataerrln("Failure creating format object - %s", u_errorName(status)); in TestGetAvailable()
949 StringEnumeration *types = MeasureUnit::getAvailableTypes(status); in TestGetAvailable()
950 if (U_FAILURE(status)) { in TestGetAvailable()
951 dataerrln("Failure getting types - %s", u_errorName(status)); in TestGetAvailable()
955 if (types->count(status) < 10) { in TestGetAvailable()
962 const char* type = types->next(NULL, status); in TestGetAvailable()
964 type = types->next(NULL, status)) { in TestGetAvailable()
965 int32_t unitCount = MeasureUnit::getAvailable(type, units, unitCapacity, status); in TestGetAvailable()
966 while (status == U_BUFFER_OVERFLOW_ERROR) { in TestGetAvailable()
967 status = U_ZERO_ERROR; in TestGetAvailable()
971 unitCount = MeasureUnit::getAvailable(type, units, unitCapacity, status); in TestGetAvailable()
973 if (U_FAILURE(status)) { in TestGetAvailable()
974 dataerrln("Failure getting units - %s", u_errorName(status)); in TestGetAvailable()
992 UErrorCode status = U_ZERO_ERROR; in TestExamplesInDocs() local
993 MeasureFormat fmtFr(Locale::getFrench(), UMEASFMT_WIDTH_SHORT, status); in TestExamplesInDocs()
995 Locale::getFrench(), UMEASFMT_WIDTH_WIDE, status); in TestExamplesInDocs()
997 Locale::getFrench(), UMEASFMT_WIDTH_NARROW, status); in TestExamplesInDocs()
998 MeasureFormat fmtEn(Locale::getUS(), UMEASFMT_WIDTH_WIDE, status); in TestExamplesInDocs()
999 if (!assertSuccess("Error creating formatters", status)) { in TestExamplesInDocs()
1002 Measure measureC((double)23, MeasureUnit::createCelsius(status), status); in TestExamplesInDocs()
1003 Measure measureF((double)70, MeasureUnit::createFahrenheit(status), status); in TestExamplesInDocs()
1005 Measure((double)70, MeasureUnit::createFoot(status), status), in TestExamplesInDocs()
1006 Measure((double)5.3, MeasureUnit::createInch(status), status)}; in TestExamplesInDocs()
1008 Measure((double)1, MeasureUnit::createFoot(status), status), in TestExamplesInDocs()
1009 Measure((double)1, MeasureUnit::createInch(status), status)}; in TestExamplesInDocs()
1011 Measure((double)1, MeasureUnit::createInch(status), status), in TestExamplesInDocs()
1012 Measure((double)2, MeasureUnit::createFoot(status), status)}; in TestExamplesInDocs()
1013 if (!assertSuccess("Error creating measurements.", status)) { in TestExamplesInDocs()
1069 UErrorCode status = U_ZERO_ERROR; in TestFormatPeriodEn() local
1070 Measure t_19m[] = {Measure((double)19, MeasureUnit::createMinute(status), status)}; in TestFormatPeriodEn()
1072 Measure((double)1.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1073 Measure((double)23.5, MeasureUnit::createSecond(status), status) in TestFormatPeriodEn()
1076 Measure((double)1.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1077 Measure((double)23.5, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1083 TimeUnit::UTIMEUNIT_HOUR, status), in TestFormatPeriodEn()
1084 status), in TestFormatPeriodEn()
1088 TimeUnit::UTIMEUNIT_MINUTE, status), in TestFormatPeriodEn()
1089 status), in TestFormatPeriodEn()
1093 TimeUnit::UTIMEUNIT_SECOND, status), in TestFormatPeriodEn()
1094 status) in TestFormatPeriodEn()
1097 Measure(2.0, MeasureUnit::createYear(status), status), in TestFormatPeriodEn()
1098 Measure(5.0, MeasureUnit::createMonth(status), status), in TestFormatPeriodEn()
1099 Measure(3.0, MeasureUnit::createWeek(status), status), in TestFormatPeriodEn()
1100 Measure(4.0, MeasureUnit::createDay(status), status) in TestFormatPeriodEn()
1103 Measure(1.0, MeasureUnit::createMinute(status), status), in TestFormatPeriodEn()
1104 Measure(59.9996, MeasureUnit::createSecond(status), status) in TestFormatPeriodEn()
1107 Measure(5.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1108 Measure(17.0, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1111 Measure(-5.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1112 Measure(17.0, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1115 Measure(19.0, MeasureUnit::createMinute(status), status), in TestFormatPeriodEn()
1116 Measure(28.0, MeasureUnit::createSecond(status), status) in TestFormatPeriodEn()
1119 Measure(0.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1120 Measure(0.0, MeasureUnit::createMinute(status), status), in TestFormatPeriodEn()
1121 Measure(9.0, MeasureUnit::createSecond(status), status) in TestFormatPeriodEn()
1124 Measure(0.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1125 Measure(0.0, MeasureUnit::createMinute(status), status), in TestFormatPeriodEn()
1126 Measure(17.0, MeasureUnit::createSecond(status), status) in TestFormatPeriodEn()
1129 Measure(6.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1130 Measure(56.92, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1133 Measure(3.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1134 Measure(4.0, MeasureUnit::createSecond(status), status), in TestFormatPeriodEn()
1135 Measure(5.0, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1138 Measure(6.7, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1139 Measure(56.92, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1143 Measure(3.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1144 Measure(5.0, MeasureUnit::createHour(status), status) in TestFormatPeriodEn()
1147 if (!assertSuccess("Error creating Measure objects", status)) { in TestFormatPeriodEn()
1213 LocalPointer<NumberFormat> nf(NumberFormat::createInstance(en, status)); in TestFormatPeriodEn()
1214 if (U_FAILURE(status)) { in TestFormatPeriodEn()
1215 dataerrln("Error creating number format en object - %s", u_errorName(status)); in TestFormatPeriodEn()
1219 MeasureFormat mf(en, UMEASFMT_WIDTH_WIDE, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1220 if (!assertSuccess("Error creating measure format en WIDE", status)) { in TestFormatPeriodEn()
1236 mf = MeasureFormat(en, UMEASFMT_WIDTH_SHORT, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1237 if (!assertSuccess("Error creating measure format en SHORT", status)) { in TestFormatPeriodEn()
1241 mf = MeasureFormat(en, UMEASFMT_WIDTH_NARROW, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1242 if (!assertSuccess("Error creating measure format en NARROW", status)) { in TestFormatPeriodEn()
1246 mf = MeasureFormat(en, UMEASFMT_WIDTH_NUMERIC, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1247 if (!assertSuccess("Error creating measure format en NUMERIC", status)) { in TestFormatPeriodEn()
1253 nf.adoptInstead(NumberFormat::createInstance(de, status)); in TestFormatPeriodEn()
1254 if (!assertSuccess("Error creating number format de object", status)) { in TestFormatPeriodEn()
1258 mf = MeasureFormat(de, UMEASFMT_WIDTH_WIDE, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1259 if (!assertSuccess("Error creating measure format de WIDE", status)) { in TestFormatPeriodEn()
1263 mf = MeasureFormat(de, UMEASFMT_WIDTH_NUMERIC, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1264 if (!assertSuccess("Error creating measure format de NUMERIC", status)) { in TestFormatPeriodEn()
1277 UErrorCode status = U_ZERO_ERROR; in Test10219FractionalPlurals() local
1281 (DecimalFormat *) NumberFormat::createInstance(en, status); in Test10219FractionalPlurals()
1282 if (U_FAILURE(status)) { in Test10219FractionalPlurals()
1283 dataerrln("Error creating Number format - %s", u_errorName(status)); in Test10219FractionalPlurals()
1289 MeasureFormat mf(en, UMEASFMT_WIDTH_WIDE, df, status); in Test10219FractionalPlurals()
1290 if (!assertSuccess("Error creating Measure format", status)) { in Test10219FractionalPlurals()
1293 Measure measure(values[j], MeasureUnit::createMinute(status), status); in Test10219FractionalPlurals()
1294 if (!assertSuccess("Error creating Measure unit", status)) { in Test10219FractionalPlurals()
1310 UErrorCode status = U_ZERO_ERROR; in TestGreek() local
1312 toMeasureUnit(MeasureUnit::createSecond(status)), in TestGreek()
1313 toMeasureUnit(MeasureUnit::createMinute(status)), in TestGreek()
1314 toMeasureUnit(MeasureUnit::createHour(status)), in TestGreek()
1315 toMeasureUnit(MeasureUnit::createDay(status)), in TestGreek()
1316 toMeasureUnit(MeasureUnit::createWeek(status)), in TestGreek()
1317 toMeasureUnit(MeasureUnit::createMonth(status)), in TestGreek()
1318 toMeasureUnit(MeasureUnit::createYear(status))}; in TestGreek()
1319 if (!assertSuccess("Error creating Measure units", status)) { in TestGreek()
1398 Measure measure(numbers[numIndex], new MeasureUnit(units[unitIndex]), status); in TestGreek()
1399 if (!assertSuccess("Error creating Measure", status)) { in TestGreek()
1402 MeasureFormat fmt(locales[locIndex], styles[styleIndex], status); in TestGreek()
1403 if (!assertSuccess("Error creating Measure format", status)) { in TestGreek()
1415 UErrorCode status = U_ZERO_ERROR; in TestFormatSingleArg() local
1416 MeasureFormat fmt("en", UMEASFMT_WIDTH_WIDE, status); in TestFormatSingleArg()
1417 if (!assertSuccess("Error creating formatter", status)) { in TestFormatSingleArg()
1423 new Measure(3.5, MeasureUnit::createFoot(status), status), in TestFormatSingleArg()
1426 status); in TestFormatSingleArg()
1427 if (!assertSuccess("Error formatting", status)) { in TestFormatSingleArg()
1437 UErrorCode status = U_ZERO_ERROR; in TestFormatMeasuresZeroArg() local
1438 MeasureFormat fmt("en", UMEASFMT_WIDTH_WIDE, status); in TestFormatMeasuresZeroArg()
1444 UErrorCode status = U_ZERO_ERROR; in TestSimplePer() local
1445 LocalPointer<MeasureUnit> second(MeasureUnit::createSecond(status)); in TestSimplePer()
1446 LocalPointer<MeasureUnit> minute(MeasureUnit::createMinute(status)); in TestSimplePer()
1447 LocalPointer<MeasureUnit> pound(MeasureUnit::createPound(status)); in TestSimplePer()
1448 if (!assertSuccess("", status)) { in TestSimplePer()
1510 UErrorCode status = U_ZERO_ERROR; in TestNumeratorPlurals() local
1511 LocalPointer<MeasureUnit> second(MeasureUnit::createSecond(status)); in TestNumeratorPlurals()
1512 LocalPointer<MeasureUnit> foot(MeasureUnit::createFoot(status)); in TestNumeratorPlurals()
1513 if (!assertSuccess("", status)) { in TestNumeratorPlurals()
1563 UErrorCode status = U_ZERO_ERROR; in helperTestSimplePer() local
1565 MeasureFormat fmt(locale, width, status); in helperTestSimplePer()
1566 if (!assertSuccess("Error creating format object", status)) { in helperTestSimplePer()
1569 Measure measure(value, (MeasureUnit *) unit.clone(), status); in helperTestSimplePer()
1570 if (!assertSuccess("Error creating measure object", status)) { in helperTestSimplePer()
1580 status); in helperTestSimplePer()
1581 if (!assertSuccess("Error formatting measures with per", status)) { in helperTestSimplePer()
1613 UErrorCode status = U_ZERO_ERROR; in helperTestMultiples() local
1615 MeasureFormat fmt(locale, width, status); in helperTestMultiples()
1616 if (!assertSuccess("Error creating format object", status)) { in helperTestMultiples()
1620 Measure(2.0, MeasureUnit::createMile(status), status), in helperTestMultiples()
1621 Measure(1.0, MeasureUnit::createFoot(status), status), in helperTestMultiples()
1622 Measure(2.3, MeasureUnit::createInch(status), status)}; in helperTestMultiples()
1623 if (!assertSuccess("Error creating measures", status)) { in helperTestMultiples()
1627 fmt.formatMeasures(measures, UPRV_LENGTHOF(measures), buffer, pos, status); in helperTestMultiples()
1628 if (!assertSuccess("Error formatting measures", status)) { in helperTestMultiples()
1635 UErrorCode status = U_ZERO_ERROR; in TestManyLocaleDurations() local
1637 Measure(5.0, MeasureUnit::createHour(status), status), in TestManyLocaleDurations()
1638 Measure(37.0, MeasureUnit::createMinute(status), status)}; in TestManyLocaleDurations()
1639 if (!assertSuccess("Error creating measures", status)) { in TestManyLocaleDurations()
1677 UErrorCode status = U_ZERO_ERROR; in helperTestManyLocaleDurations() local
1678 MeasureFormat fmt(Locale(localeID), width, status); in helperTestManyLocaleDurations()
1679 if (U_FAILURE(status)) { in helperTestManyLocaleDurations()
1680 …ate MeasureFormat for locale %s, width %d, status: %s", localeID, (int)width, u_errorName(status)); in helperTestManyLocaleDurations()
1685 fmt.formatMeasures(measures, measureCount, buffer, pos, status); in helperTestManyLocaleDurations()
1686 if (U_FAILURE(status)) { in helperTestManyLocaleDurations()
1687 …atMeasures failed for locale %s, width %d, status: %s", localeID, (int)width, u_errorName(status)); in helperTestManyLocaleDurations()
1697 UErrorCode status = U_ZERO_ERROR; in TestGram() local
1698 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestGram()
1699 if (!assertSuccess("Error creating format object", status)) { in TestGram()
1702 Measure gram((double)1, MeasureUnit::createGram(status), status); in TestGram()
1703 Measure gforce((double)1, MeasureUnit::createGForce(status), status); in TestGram()
1704 if (!assertSuccess("Error creating measures", status)) { in TestGram()
1714 UErrorCode status = U_ZERO_ERROR; in TestCurrencies() local
1715 CurrencyAmount USD_1(1.0, USD, status); in TestCurrencies()
1717 CurrencyAmount USD_2(2.0, USD, status); in TestCurrencies()
1718 CurrencyAmount USD_NEG_1(-1.0, USD, status); in TestCurrencies()
1719 if (!assertSuccess("Error creating currencies", status)) { in TestCurrencies()
1723 MeasureFormat fmt(en, UMEASFMT_WIDTH_WIDE, status); in TestCurrencies()
1724 if (!assertSuccess("Error creating format object", status)) { in TestCurrencies()
1730 fmt = MeasureFormat(en, UMEASFMT_WIDTH_SHORT, status); in TestCurrencies()
1731 if (!assertSuccess("Error creating format object", status)) { in TestCurrencies()
1737 fmt = MeasureFormat(en, UMEASFMT_WIDTH_NARROW, status); in TestCurrencies()
1738 if (!assertSuccess("Error creating format object", status)) { in TestCurrencies()
1744 fmt = MeasureFormat(en, UMEASFMT_WIDTH_NUMERIC, status); in TestCurrencies()
1745 if (!assertSuccess("Error creating format object", status)) { in TestCurrencies()
1754 UErrorCode status = U_ZERO_ERROR; in TestDisplayNames() local
1755 helperTestDisplayName( MeasureUnit::createYear(status), "en", UMEASFMT_WIDTH_WIDE, "years" ); in TestDisplayNames()
1756 helperTestDisplayName( MeasureUnit::createYear(status), "ja", UMEASFMT_WIDTH_WIDE, "\\u5E74" ); in TestDisplayNames()
1757 … helperTestDisplayName( MeasureUnit::createYear(status), "es", UMEASFMT_WIDTH_WIDE, "a\\u00F1os" ); in TestDisplayNames()
1758 helperTestDisplayName( MeasureUnit::createYear(status), "pt", UMEASFMT_WIDTH_WIDE, "anos" ); in TestDisplayNames()
1759 helperTestDisplayName( MeasureUnit::createYear(status), "pt-PT", UMEASFMT_WIDTH_WIDE, "anos" ); in TestDisplayNames()
1760 … helperTestDisplayName( MeasureUnit::createAmpere(status), "en", UMEASFMT_WIDTH_WIDE, "amperes" ); in TestDisplayNames()
1761 …helperTestDisplayName( MeasureUnit::createAmpere(status), "ja", UMEASFMT_WIDTH_WIDE, "\\u30A2\\u30… in TestDisplayNames()
1762 … helperTestDisplayName( MeasureUnit::createAmpere(status), "es", UMEASFMT_WIDTH_WIDE, "amperios" ); in TestDisplayNames()
1763 … helperTestDisplayName( MeasureUnit::createAmpere(status), "pt", UMEASFMT_WIDTH_WIDE, "amperes" ); in TestDisplayNames()
1764 …helperTestDisplayName( MeasureUnit::createAmpere(status), "pt-PT", UMEASFMT_WIDTH_WIDE, "amperes" … in TestDisplayNames()
1765 …helperTestDisplayName( MeasureUnit::createMeterPerSecondSquared(status), "pt", UMEASFMT_WIDTH_WIDE… in TestDisplayNames()
1766 …helperTestDisplayName( MeasureUnit::createMeterPerSecondSquared(status), "pt-PT", UMEASFMT_WIDTH_W… in TestDisplayNames()
1767 …helperTestDisplayName( MeasureUnit::createSquareKilometer(status), "pt", UMEASFMT_WIDTH_NARROW, "k… in TestDisplayNames()
1768 …helperTestDisplayName( MeasureUnit::createSquareKilometer(status), "pt", UMEASFMT_WIDTH_SHORT, "km… in TestDisplayNames()
1769 …helperTestDisplayName( MeasureUnit::createSquareKilometer(status), "pt", UMEASFMT_WIDTH_WIDE, "qui… in TestDisplayNames()
1770 helperTestDisplayName( MeasureUnit::createSecond(status), "pt-PT", UMEASFMT_WIDTH_NARROW, "s" ); in TestDisplayNames()
1771 helperTestDisplayName( MeasureUnit::createSecond(status), "pt-PT", UMEASFMT_WIDTH_SHORT, "s" ); in TestDisplayNames()
1772 …helperTestDisplayName( MeasureUnit::createSecond(status), "pt-PT", UMEASFMT_WIDTH_WIDE, "segundos"… in TestDisplayNames()
1773 helperTestDisplayName( MeasureUnit::createSecond(status), "pt", UMEASFMT_WIDTH_NARROW, "seg" ); in TestDisplayNames()
1774 helperTestDisplayName( MeasureUnit::createSecond(status), "pt", UMEASFMT_WIDTH_SHORT, "segs" ); in TestDisplayNames()
1775 … helperTestDisplayName( MeasureUnit::createSecond(status), "pt", UMEASFMT_WIDTH_WIDE, "segundos" ); in TestDisplayNames()
1776 assertSuccess("Error creating measure units", status); in TestDisplayNames()
1783 UErrorCode status = U_ZERO_ERROR; in helperTestDisplayName() local
1784 MeasureFormat fmt(Locale(localeID), width, status); in helperTestDisplayName()
1785 if (U_FAILURE(status)) { in helperTestDisplayName()
1787 localeID, (int)width, u_errorName(status)); in helperTestDisplayName()
1791 UnicodeString dnam = fmt.getUnitDisplayName(*unit, status); in helperTestDisplayName()
1792 if (U_FAILURE(status)) { in helperTestDisplayName()
1794 unit->getType(), unit->getSubtype(), localeID, (int)width, u_errorName(status)); in helperTestDisplayName()
1809 UErrorCode status = U_ZERO_ERROR; in TestFieldPosition() local
1810 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestFieldPosition()
1811 if (!assertSuccess("Error creating format object", status)) { in TestFieldPosition()
1814 Measure measure(43.5, MeasureUnit::createFoot(status), status); in TestFieldPosition()
1815 if (!assertSuccess("Error creating measure object 1", status)) { in TestFieldPosition()
1828 measure = Measure(43.0, MeasureUnit::createFoot(status), status); in TestFieldPosition()
1829 if (!assertSuccess("Error creating measure object 2", status)) { in TestFieldPosition()
1844 UErrorCode status = U_ZERO_ERROR; in TestFieldPositionMultiple() local
1845 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestFieldPositionMultiple()
1846 if (!assertSuccess("Error creating format object", status)) { in TestFieldPositionMultiple()
1850 Measure((double)354, MeasureUnit::createMeter(status), status), in TestFieldPositionMultiple()
1851 Measure((double)23, MeasureUnit::createCentimeter(status), status)}; in TestFieldPositionMultiple()
1853 Measure((double)354, MeasureUnit::createMeter(status), status), in TestFieldPositionMultiple()
1854 Measure((double)23, MeasureUnit::createCentimeter(status), status), in TestFieldPositionMultiple()
1855 Measure((double)5.4, MeasureUnit::createMillimeter(status), status)}; in TestFieldPositionMultiple()
1857 Measure((double)3, MeasureUnit::createMeter(status), status), in TestFieldPositionMultiple()
1858 Measure((double)23, MeasureUnit::createCentimeter(status), status), in TestFieldPositionMultiple()
1859 Measure((double)5, MeasureUnit::createMillimeter(status), status)}; in TestFieldPositionMultiple()
1860 if (!assertSuccess("Error creating measure objects", status)) { in TestFieldPositionMultiple()
1894 UErrorCode status = U_ZERO_ERROR; in TestBadArg() local
1895 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestBadArg()
1896 if (!assertSuccess("Error creating format object", status)) { in TestBadArg()
1905 status); in TestBadArg()
1906 if (status != U_ILLEGAL_ARGUMENT_ERROR) { in TestBadArg()
1912 UErrorCode status = U_ZERO_ERROR; in TestEquality() local
1913 NumberFormat* nfeq = NumberFormat::createInstance("en", status); in TestEquality()
1914 NumberFormat* nfne = NumberFormat::createInstance("fr", status); in TestEquality()
1915 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestEquality()
1916 MeasureFormat fmtEq2("en", UMEASFMT_WIDTH_SHORT, nfeq, status); in TestEquality()
1917 MeasureFormat fmtne1("en", UMEASFMT_WIDTH_WIDE, status); in TestEquality()
1918 MeasureFormat fmtne2("fr", UMEASFMT_WIDTH_SHORT, status); in TestEquality()
1919 MeasureFormat fmtne3("en", UMEASFMT_WIDTH_SHORT, nfne, status); in TestEquality()
1920 if (U_FAILURE(status)) { in TestEquality()
1921 dataerrln("Error creating MeasureFormats - %s", u_errorName(status)); in TestEquality()
1935 UErrorCode status = U_ZERO_ERROR; in TestGroupingSeparator() local
1937 MeasureFormat fmt(en, UMEASFMT_WIDTH_SHORT, status); in TestGroupingSeparator()
1938 if (!assertSuccess("Error creating format object", status)) { in TestGroupingSeparator()
1942 Measure((int32_t)INT32_MAX, MeasureUnit::createYear(status), status), in TestGroupingSeparator()
1943 Measure((int32_t)INT32_MIN, MeasureUnit::createMonth(status), status), in TestGroupingSeparator()
1944 Measure(-987.0, MeasureUnit::createDay(status), status), in TestGroupingSeparator()
1945 Measure(1362.0, MeasureUnit::createHour(status), status), in TestGroupingSeparator()
1946 Measure(987.0, MeasureUnit::createMinute(status), status)}; in TestGroupingSeparator()
1949 fmt.formatMeasures(ms, 5, appendTo, pos, status); in TestGroupingSeparator()
1950 if (!assertSuccess("Error formatting", status)) { in TestGroupingSeparator()
1962 UErrorCode status = U_ZERO_ERROR; in TestDoubleZero() local
1964 Measure(4.7, MeasureUnit::createHour(status), status), in TestDoubleZero()
1965 Measure(23.0, MeasureUnit::createMinute(status), status), in TestDoubleZero()
1966 Measure(16.0, MeasureUnit::createSecond(status), status)}; in TestDoubleZero()
1968 NumberFormat *nf = NumberFormat::createInstance(en, status); in TestDoubleZero()
1969 MeasureFormat fmt("en", UMEASFMT_WIDTH_WIDE, nf, status); in TestDoubleZero()
1972 if (U_FAILURE(status)) { in TestDoubleZero()
1973 dataerrln("Error creating formatter - %s", u_errorName(status)); in TestDoubleZero()
1978 fmt.formatMeasures(measures, UPRV_LENGTHOF(measures), appendTo, pos, status); in TestDoubleZero()
1979 if (!assertSuccess("Error formatting", status)) { in TestDoubleZero()
1986 measures[0] = Measure(-4.7, MeasureUnit::createHour(status), status); in TestDoubleZero()
1988 fmt.formatMeasures(measures, UPRV_LENGTHOF(measures), appendTo, pos, status); in TestDoubleZero()
1989 if (!assertSuccess("Error formatting", status)) { in TestDoubleZero()
1999 UErrorCode status = U_ZERO_ERROR; in TestUnitPerUnitResolution() local
2001 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestUnitPerUnitResolution()
2002 Measure measure(50.0, MeasureUnit::createPound(status), status); in TestUnitPerUnitResolution()
2003 LocalPointer<MeasureUnit> sqInch(MeasureUnit::createSquareInch(status)); in TestUnitPerUnitResolution()
2004 if (!assertSuccess("Create of format unit and per unit", status)) { in TestUnitPerUnitResolution()
2014 status); in TestUnitPerUnitResolution()
2043 UErrorCode status = U_ZERO_ERROR; in verifyFieldPosition() local
2045 const char *descPrefix = ch.append(description, status) in verifyFieldPosition()
2046 .append(": ", status).data(); in verifyFieldPosition()
2048 beginIndex.append(descPrefix, status).append("beginIndex", status); in verifyFieldPosition()
2050 endIndex.append(descPrefix, status).append("endIndex", status); in verifyFieldPosition()
2051 fmt.formatMeasures(measures, measureCount, result, pos, status); in verifyFieldPosition()
2052 if (!assertSuccess("Error formatting", status)) { in verifyFieldPosition()
2083 UErrorCode status = U_ZERO_ERROR; in verifyFormatWithPrefix() local
2084 fmt.formatMeasures(measures, measureCount, result, pos, status); in verifyFormatWithPrefix()
2085 if (!assertSuccess("Error formatting", status)) { in verifyFormatWithPrefix()