Lines Matching full:status
178 UErrorCode status = U_ZERO_ERROR; in TestCompatible53() local
180 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible53()
181 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible53()
182 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible53()
183 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible53()
184 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible53()
185 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible53()
186 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible53()
187 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible53()
188 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible53()
189 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible53()
190 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible53()
191 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible53()
192 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible53()
193 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible53()
194 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible53()
195 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible53()
196 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible53()
197 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible53()
198 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible53()
199 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible53()
200 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible53()
201 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible53()
202 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible53()
203 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible53()
204 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible53()
205 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible53()
206 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible53()
207 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible53()
208 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible53()
209 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible53()
210 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible53()
211 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible53()
212 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible53()
213 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible53()
214 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible53()
215 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible53()
216 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible53()
217 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible53()
218 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible53()
219 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible53()
220 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible53()
221 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible53()
222 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible53()
223 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible53()
224 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible53()
225 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible53()
226 assertSuccess("", status); in TestCompatible53()
230 UErrorCode status = U_ZERO_ERROR; in TestCompatible54() local
232 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible54()
233 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible54()
234 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible54()
235 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible54()
236 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible54()
237 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible54()
238 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible54()
239 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible54()
240 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible54()
241 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible54()
242 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible54()
243 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible54()
244 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible54()
245 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible54()
246 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible54()
247 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible54()
248 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible54()
249 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible54()
250 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible54()
251 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible54()
252 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible54()
253 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible54()
254 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible54()
255 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible54()
256 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible54()
257 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible54()
258 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible54()
259 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible54()
260 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible54()
261 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible54()
262 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible54()
263 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible54()
264 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible54()
265 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible54()
266 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible54()
267 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible54()
268 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible54()
269 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible54()
270 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible54()
271 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible54()
272 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible54()
273 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible54()
274 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible54()
275 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible54()
276 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible54()
277 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible54()
278 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible54()
279 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible54()
280 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible54()
281 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible54()
282 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible54()
283 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible54()
284 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible54()
285 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible54()
286 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible54()
287 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible54()
288 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible54()
289 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible54()
290 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible54()
291 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible54()
292 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible54()
293 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible54()
294 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible54()
295 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible54()
296 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible54()
297 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible54()
298 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible54()
299 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible54()
300 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible54()
301 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible54()
302 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible54()
303 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible54()
304 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible54()
305 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible54()
306 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible54()
307 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible54()
308 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible54()
309 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible54()
310 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible54()
311 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible54()
312 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible54()
313 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible54()
314 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible54()
315 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible54()
316 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible54()
317 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible54()
318 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible54()
319 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible54()
320 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible54()
321 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible54()
322 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible54()
323 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible54()
324 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible54()
325 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible54()
326 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible54()
327 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible54()
328 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible54()
329 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible54()
330 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible54()
331 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible54()
332 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible54()
333 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible54()
334 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible54()
335 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible54()
336 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible54()
337 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible54()
338 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible54()
339 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible54()
340 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible54()
341 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible54()
342 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible54()
343 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible54()
344 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible54()
345 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible54()
346 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible54()
347 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible54()
348 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible54()
349 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible54()
350 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible54()
351 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible54()
352 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible54()
353 assertSuccess("", status); in TestCompatible54()
357 UErrorCode status = U_ZERO_ERROR; in TestCompatible55() local
359 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible55()
360 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible55()
361 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible55()
362 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible55()
363 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible55()
364 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible55()
365 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible55()
366 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible55()
367 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible55()
368 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible55()
369 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible55()
370 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible55()
371 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible55()
372 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible55()
373 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible55()
374 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible55()
375 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible55()
376 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible55()
377 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible55()
378 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible55()
379 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible55()
380 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible55()
381 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible55()
382 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible55()
383 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible55()
384 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible55()
385 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible55()
386 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible55()
387 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible55()
388 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible55()
389 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible55()
390 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible55()
391 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible55()
392 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible55()
393 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible55()
394 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible55()
395 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible55()
396 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible55()
397 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible55()
398 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible55()
399 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible55()
400 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible55()
401 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible55()
402 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible55()
403 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible55()
404 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible55()
405 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible55()
406 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible55()
407 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible55()
408 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible55()
409 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible55()
410 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible55()
411 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible55()
412 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible55()
413 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible55()
414 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible55()
415 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible55()
416 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible55()
417 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible55()
418 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible55()
419 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible55()
420 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible55()
421 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible55()
422 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible55()
423 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible55()
424 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible55()
425 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible55()
426 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible55()
427 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible55()
428 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible55()
429 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible55()
430 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible55()
431 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible55()
432 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible55()
433 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible55()
434 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible55()
435 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible55()
436 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible55()
437 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible55()
438 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible55()
439 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible55()
440 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible55()
441 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible55()
442 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible55()
443 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible55()
444 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible55()
445 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible55()
446 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible55()
447 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible55()
448 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible55()
449 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible55()
450 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible55()
451 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible55()
452 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible55()
453 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible55()
454 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible55()
455 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible55()
456 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible55()
457 measureUnit.adoptInstead(MeasureUnit::createGenericTemperature(status)); in TestCompatible55()
458 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible55()
459 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible55()
460 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible55()
461 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible55()
462 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible55()
463 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible55()
464 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible55()
465 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible55()
466 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible55()
467 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible55()
468 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible55()
469 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible55()
470 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible55()
471 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible55()
472 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible55()
473 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible55()
474 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible55()
475 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible55()
476 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible55()
477 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible55()
478 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible55()
479 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible55()
480 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible55()
481 assertSuccess("", status); in TestCompatible55()
485 UErrorCode status = U_ZERO_ERROR; in TestCompatible56() local
487 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible56()
488 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible56()
489 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible56()
490 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible56()
491 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible56()
492 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible56()
493 measureUnit.adoptInstead(MeasureUnit::createRevolutionAngle(status)); in TestCompatible56()
494 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible56()
495 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible56()
496 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible56()
497 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible56()
498 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible56()
499 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible56()
500 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible56()
501 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible56()
502 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible56()
503 measureUnit.adoptInstead(MeasureUnit::createLiterPer100Kilometers(status)); in TestCompatible56()
504 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible56()
505 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible56()
506 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible56()
507 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible56()
508 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible56()
509 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible56()
510 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible56()
511 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible56()
512 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible56()
513 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible56()
514 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible56()
515 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible56()
516 measureUnit.adoptInstead(MeasureUnit::createCentury(status)); in TestCompatible56()
517 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible56()
518 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible56()
519 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible56()
520 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible56()
521 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible56()
522 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible56()
523 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible56()
524 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible56()
525 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible56()
526 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible56()
527 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible56()
528 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible56()
529 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible56()
530 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible56()
531 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible56()
532 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible56()
533 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible56()
534 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible56()
535 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible56()
536 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible56()
537 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible56()
538 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible56()
539 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible56()
540 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible56()
541 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible56()
542 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible56()
543 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible56()
544 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible56()
545 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible56()
546 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible56()
547 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible56()
548 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible56()
549 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible56()
550 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible56()
551 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible56()
552 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible56()
553 measureUnit.adoptInstead(MeasureUnit::createMileScandinavian(status)); in TestCompatible56()
554 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible56()
555 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible56()
556 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible56()
557 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible56()
558 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible56()
559 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible56()
560 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible56()
561 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible56()
562 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible56()
563 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible56()
564 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible56()
565 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible56()
566 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible56()
567 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible56()
568 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible56()
569 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible56()
570 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible56()
571 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible56()
572 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible56()
573 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible56()
574 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible56()
575 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible56()
576 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible56()
577 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible56()
578 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible56()
579 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible56()
580 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible56()
581 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible56()
582 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible56()
583 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible56()
584 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible56()
585 measureUnit.adoptInstead(MeasureUnit::createKnot(status)); in TestCompatible56()
586 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible56()
587 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible56()
588 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible56()
589 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible56()
590 measureUnit.adoptInstead(MeasureUnit::createGenericTemperature(status)); in TestCompatible56()
591 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible56()
592 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible56()
593 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible56()
594 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible56()
595 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible56()
596 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible56()
597 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible56()
598 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible56()
599 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible56()
600 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible56()
601 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible56()
602 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible56()
603 measureUnit.adoptInstead(MeasureUnit::createCupMetric(status)); in TestCompatible56()
604 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible56()
605 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible56()
606 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible56()
607 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible56()
608 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible56()
609 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible56()
610 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible56()
611 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible56()
612 measureUnit.adoptInstead(MeasureUnit::createPintMetric(status)); in TestCompatible56()
613 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible56()
614 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible56()
615 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible56()
616 assertSuccess("", status); in TestCompatible56()
620 UErrorCode status = U_ZERO_ERROR; in TestCompatible57() local
622 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible57()
623 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible57()
624 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible57()
625 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible57()
626 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible57()
627 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible57()
628 measureUnit.adoptInstead(MeasureUnit::createRevolutionAngle(status)); in TestCompatible57()
629 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible57()
630 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible57()
631 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible57()
632 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible57()
633 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible57()
634 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible57()
635 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible57()
636 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible57()
637 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible57()
638 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible57()
639 measureUnit.adoptInstead(MeasureUnit::createMilligramPerDeciliter(status)); in TestCompatible57()
640 measureUnit.adoptInstead(MeasureUnit::createMillimolePerLiter(status)); in TestCompatible57()
641 measureUnit.adoptInstead(MeasureUnit::createPartPerMillion(status)); in TestCompatible57()
642 measureUnit.adoptInstead(MeasureUnit::createLiterPer100Kilometers(status)); in TestCompatible57()
643 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible57()
644 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible57()
645 measureUnit.adoptInstead(MeasureUnit::createMilePerGallonImperial(status)); in TestCompatible57()
646 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible57()
647 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible57()
648 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible57()
649 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible57()
650 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible57()
651 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible57()
652 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible57()
653 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible57()
654 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible57()
655 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible57()
656 measureUnit.adoptInstead(MeasureUnit::createCentury(status)); in TestCompatible57()
657 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible57()
658 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible57()
659 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible57()
660 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible57()
661 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible57()
662 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible57()
663 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible57()
664 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible57()
665 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible57()
666 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible57()
667 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible57()
668 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible57()
669 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible57()
670 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible57()
671 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible57()
672 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible57()
673 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible57()
674 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible57()
675 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible57()
676 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible57()
677 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible57()
678 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible57()
679 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible57()
680 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible57()
681 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible57()
682 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible57()
683 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible57()
684 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible57()
685 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible57()
686 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible57()
687 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible57()
688 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible57()
689 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible57()
690 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible57()
691 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible57()
692 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible57()
693 measureUnit.adoptInstead(MeasureUnit::createMileScandinavian(status)); in TestCompatible57()
694 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible57()
695 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible57()
696 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible57()
697 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible57()
698 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible57()
699 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible57()
700 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible57()
701 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible57()
702 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible57()
703 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible57()
704 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible57()
705 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible57()
706 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible57()
707 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible57()
708 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible57()
709 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible57()
710 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible57()
711 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible57()
712 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible57()
713 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible57()
714 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible57()
715 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible57()
716 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible57()
717 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible57()
718 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible57()
719 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible57()
720 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible57()
721 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible57()
722 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible57()
723 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible57()
724 measureUnit.adoptInstead(MeasureUnit::createKnot(status)); in TestCompatible57()
725 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible57()
726 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible57()
727 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible57()
728 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible57()
729 measureUnit.adoptInstead(MeasureUnit::createGenericTemperature(status)); in TestCompatible57()
730 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible57()
731 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible57()
732 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible57()
733 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible57()
734 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible57()
735 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible57()
736 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible57()
737 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible57()
738 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible57()
739 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible57()
740 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible57()
741 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible57()
742 measureUnit.adoptInstead(MeasureUnit::createCupMetric(status)); in TestCompatible57()
743 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible57()
744 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible57()
745 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible57()
746 measureUnit.adoptInstead(MeasureUnit::createGallonImperial(status)); in TestCompatible57()
747 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible57()
748 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible57()
749 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible57()
750 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible57()
751 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible57()
752 measureUnit.adoptInstead(MeasureUnit::createPintMetric(status)); in TestCompatible57()
753 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible57()
754 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible57()
755 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible57()
756 assertSuccess("", status); in TestCompatible57()
760 UErrorCode status = U_ZERO_ERROR; in TestCompatible58() local
762 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible58()
763 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible58()
764 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible58()
765 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible58()
766 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible58()
767 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible58()
768 measureUnit.adoptInstead(MeasureUnit::createRevolutionAngle(status)); in TestCompatible58()
769 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible58()
770 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible58()
771 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible58()
772 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible58()
773 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible58()
774 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible58()
775 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible58()
776 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible58()
777 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible58()
778 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible58()
779 measureUnit.adoptInstead(MeasureUnit::createMilligramPerDeciliter(status)); in TestCompatible58()
780 measureUnit.adoptInstead(MeasureUnit::createMillimolePerLiter(status)); in TestCompatible58()
781 measureUnit.adoptInstead(MeasureUnit::createPartPerMillion(status)); in TestCompatible58()
782 measureUnit.adoptInstead(MeasureUnit::createLiterPer100Kilometers(status)); in TestCompatible58()
783 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible58()
784 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible58()
785 measureUnit.adoptInstead(MeasureUnit::createMilePerGallonImperial(status)); in TestCompatible58()
786 // measureUnit.adoptInstead(MeasureUnit::createEast(status)); in TestCompatible58()
787 // measureUnit.adoptInstead(MeasureUnit::createNorth(status)); in TestCompatible58()
788 // measureUnit.adoptInstead(MeasureUnit::createSouth(status)); in TestCompatible58()
789 // measureUnit.adoptInstead(MeasureUnit::createWest(status)); in TestCompatible58()
790 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible58()
791 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible58()
792 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible58()
793 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible58()
794 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible58()
795 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible58()
796 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible58()
797 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible58()
798 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible58()
799 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible58()
800 measureUnit.adoptInstead(MeasureUnit::createCentury(status)); in TestCompatible58()
801 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible58()
802 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible58()
803 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible58()
804 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible58()
805 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible58()
806 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible58()
807 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible58()
808 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible58()
809 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible58()
810 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible58()
811 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible58()
812 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible58()
813 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible58()
814 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible58()
815 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible58()
816 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible58()
817 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible58()
818 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible58()
819 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible58()
820 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible58()
821 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible58()
822 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible58()
823 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible58()
824 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible58()
825 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible58()
826 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible58()
827 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible58()
828 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible58()
829 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible58()
830 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible58()
831 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible58()
832 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible58()
833 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible58()
834 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible58()
835 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible58()
836 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible58()
837 measureUnit.adoptInstead(MeasureUnit::createMileScandinavian(status)); in TestCompatible58()
838 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible58()
839 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible58()
840 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible58()
841 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible58()
842 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible58()
843 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible58()
844 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible58()
845 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible58()
846 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible58()
847 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible58()
848 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible58()
849 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible58()
850 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible58()
851 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible58()
852 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible58()
853 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible58()
854 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible58()
855 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible58()
856 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible58()
857 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible58()
858 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible58()
859 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible58()
860 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible58()
861 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible58()
862 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible58()
863 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible58()
864 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible58()
865 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible58()
866 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible58()
867 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible58()
868 measureUnit.adoptInstead(MeasureUnit::createKnot(status)); in TestCompatible58()
869 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible58()
870 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible58()
871 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible58()
872 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible58()
873 measureUnit.adoptInstead(MeasureUnit::createGenericTemperature(status)); in TestCompatible58()
874 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible58()
875 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible58()
876 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible58()
877 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible58()
878 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible58()
879 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible58()
880 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible58()
881 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible58()
882 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible58()
883 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible58()
884 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible58()
885 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible58()
886 measureUnit.adoptInstead(MeasureUnit::createCupMetric(status)); in TestCompatible58()
887 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible58()
888 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible58()
889 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible58()
890 measureUnit.adoptInstead(MeasureUnit::createGallonImperial(status)); in TestCompatible58()
891 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible58()
892 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible58()
893 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible58()
894 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible58()
895 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible58()
896 measureUnit.adoptInstead(MeasureUnit::createPintMetric(status)); in TestCompatible58()
897 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible58()
898 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible58()
899 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible58()
900 assertSuccess("", status); in TestCompatible58()
904 UErrorCode status = U_ZERO_ERROR; in TestCompatible59() local
906 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible59()
907 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible59()
908 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible59()
909 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible59()
910 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible59()
911 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible59()
912 measureUnit.adoptInstead(MeasureUnit::createRevolutionAngle(status)); in TestCompatible59()
913 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible59()
914 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible59()
915 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible59()
916 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible59()
917 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible59()
918 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible59()
919 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible59()
920 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible59()
921 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible59()
922 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible59()
923 measureUnit.adoptInstead(MeasureUnit::createMilligramPerDeciliter(status)); in TestCompatible59()
924 measureUnit.adoptInstead(MeasureUnit::createMillimolePerLiter(status)); in TestCompatible59()
925 measureUnit.adoptInstead(MeasureUnit::createPartPerMillion(status)); in TestCompatible59()
926 measureUnit.adoptInstead(MeasureUnit::createLiterPer100Kilometers(status)); in TestCompatible59()
927 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible59()
928 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible59()
929 measureUnit.adoptInstead(MeasureUnit::createMilePerGallonImperial(status)); in TestCompatible59()
930 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible59()
931 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible59()
932 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible59()
933 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible59()
934 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible59()
935 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible59()
936 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible59()
937 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible59()
938 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible59()
939 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible59()
940 measureUnit.adoptInstead(MeasureUnit::createCentury(status)); in TestCompatible59()
941 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible59()
942 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible59()
943 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible59()
944 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible59()
945 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible59()
946 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible59()
947 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible59()
948 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible59()
949 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible59()
950 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible59()
951 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible59()
952 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible59()
953 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible59()
954 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible59()
955 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible59()
956 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible59()
957 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible59()
958 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible59()
959 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible59()
960 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible59()
961 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible59()
962 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible59()
963 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible59()
964 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible59()
965 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible59()
966 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible59()
967 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible59()
968 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible59()
969 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible59()
970 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible59()
971 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible59()
972 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible59()
973 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible59()
974 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible59()
975 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible59()
976 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible59()
977 measureUnit.adoptInstead(MeasureUnit::createMileScandinavian(status)); in TestCompatible59()
978 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible59()
979 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible59()
980 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible59()
981 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible59()
982 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible59()
983 measureUnit.adoptInstead(MeasureUnit::createPoint(status)); in TestCompatible59()
984 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible59()
985 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible59()
986 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible59()
987 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible59()
988 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible59()
989 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible59()
990 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible59()
991 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible59()
992 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible59()
993 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible59()
994 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible59()
995 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible59()
996 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible59()
997 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible59()
998 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible59()
999 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible59()
1000 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible59()
1001 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible59()
1002 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible59()
1003 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible59()
1004 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible59()
1005 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible59()
1006 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible59()
1007 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible59()
1008 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible59()
1009 measureUnit.adoptInstead(MeasureUnit::createKnot(status)); in TestCompatible59()
1010 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible59()
1011 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible59()
1012 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible59()
1013 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible59()
1014 measureUnit.adoptInstead(MeasureUnit::createGenericTemperature(status)); in TestCompatible59()
1015 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible59()
1016 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible59()
1017 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible59()
1018 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible59()
1019 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible59()
1020 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible59()
1021 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible59()
1022 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible59()
1023 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible59()
1024 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible59()
1025 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible59()
1026 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible59()
1027 measureUnit.adoptInstead(MeasureUnit::createCupMetric(status)); in TestCompatible59()
1028 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible59()
1029 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible59()
1030 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible59()
1031 measureUnit.adoptInstead(MeasureUnit::createGallonImperial(status)); in TestCompatible59()
1032 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible59()
1033 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible59()
1034 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible59()
1035 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible59()
1036 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible59()
1037 measureUnit.adoptInstead(MeasureUnit::createPintMetric(status)); in TestCompatible59()
1038 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible59()
1039 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible59()
1040 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible59()
1041 assertSuccess("", status); in TestCompatible59()
1048 UErrorCode status = U_ZERO_ERROR; in TestCompatible63() local
1050 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible63()
1051 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecondSquared(status)); in TestCompatible63()
1052 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible63()
1053 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible63()
1054 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible63()
1055 measureUnit.adoptInstead(MeasureUnit::createRadian(status)); in TestCompatible63()
1056 measureUnit.adoptInstead(MeasureUnit::createRevolutionAngle(status)); in TestCompatible63()
1057 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible63()
1058 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible63()
1059 measureUnit.adoptInstead(MeasureUnit::createSquareCentimeter(status)); in TestCompatible63()
1060 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible63()
1061 measureUnit.adoptInstead(MeasureUnit::createSquareInch(status)); in TestCompatible63()
1062 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible63()
1063 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible63()
1064 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible63()
1065 measureUnit.adoptInstead(MeasureUnit::createSquareYard(status)); in TestCompatible63()
1066 measureUnit.adoptInstead(MeasureUnit::createKarat(status)); in TestCompatible63()
1067 measureUnit.adoptInstead(MeasureUnit::createMilligramPerDeciliter(status)); in TestCompatible63()
1068 measureUnit.adoptInstead(MeasureUnit::createMillimolePerLiter(status)); in TestCompatible63()
1069 measureUnit.adoptInstead(MeasureUnit::createPartPerMillion(status)); in TestCompatible63()
1070 measureUnit.adoptInstead(MeasureUnit::createPercent(status)); in TestCompatible63()
1071 measureUnit.adoptInstead(MeasureUnit::createPermille(status)); in TestCompatible63()
1072 measureUnit.adoptInstead(MeasureUnit::createLiterPer100Kilometers(status)); in TestCompatible63()
1073 measureUnit.adoptInstead(MeasureUnit::createLiterPerKilometer(status)); in TestCompatible63()
1074 measureUnit.adoptInstead(MeasureUnit::createMilePerGallon(status)); in TestCompatible63()
1075 measureUnit.adoptInstead(MeasureUnit::createMilePerGallonImperial(status)); in TestCompatible63()
1076 measureUnit.adoptInstead(MeasureUnit::createBit(status)); in TestCompatible63()
1077 measureUnit.adoptInstead(MeasureUnit::createByte(status)); in TestCompatible63()
1078 measureUnit.adoptInstead(MeasureUnit::createGigabit(status)); in TestCompatible63()
1079 measureUnit.adoptInstead(MeasureUnit::createGigabyte(status)); in TestCompatible63()
1080 measureUnit.adoptInstead(MeasureUnit::createKilobit(status)); in TestCompatible63()
1081 measureUnit.adoptInstead(MeasureUnit::createKilobyte(status)); in TestCompatible63()
1082 measureUnit.adoptInstead(MeasureUnit::createMegabit(status)); in TestCompatible63()
1083 measureUnit.adoptInstead(MeasureUnit::createMegabyte(status)); in TestCompatible63()
1084 measureUnit.adoptInstead(MeasureUnit::createPetabyte(status)); in TestCompatible63()
1085 measureUnit.adoptInstead(MeasureUnit::createTerabit(status)); in TestCompatible63()
1086 measureUnit.adoptInstead(MeasureUnit::createTerabyte(status)); in TestCompatible63()
1087 measureUnit.adoptInstead(MeasureUnit::createCentury(status)); in TestCompatible63()
1088 measureUnit.adoptInstead(MeasureUnit::createDay(status)); in TestCompatible63()
1089 measureUnit.adoptInstead(MeasureUnit::createHour(status)); in TestCompatible63()
1090 measureUnit.adoptInstead(MeasureUnit::createMicrosecond(status)); in TestCompatible63()
1091 measureUnit.adoptInstead(MeasureUnit::createMillisecond(status)); in TestCompatible63()
1092 measureUnit.adoptInstead(MeasureUnit::createMinute(status)); in TestCompatible63()
1093 measureUnit.adoptInstead(MeasureUnit::createMonth(status)); in TestCompatible63()
1094 measureUnit.adoptInstead(MeasureUnit::createNanosecond(status)); in TestCompatible63()
1095 measureUnit.adoptInstead(MeasureUnit::createSecond(status)); in TestCompatible63()
1096 measureUnit.adoptInstead(MeasureUnit::createWeek(status)); in TestCompatible63()
1097 measureUnit.adoptInstead(MeasureUnit::createYear(status)); in TestCompatible63()
1098 measureUnit.adoptInstead(MeasureUnit::createAmpere(status)); in TestCompatible63()
1099 measureUnit.adoptInstead(MeasureUnit::createMilliampere(status)); in TestCompatible63()
1100 measureUnit.adoptInstead(MeasureUnit::createOhm(status)); in TestCompatible63()
1101 measureUnit.adoptInstead(MeasureUnit::createVolt(status)); in TestCompatible63()
1102 measureUnit.adoptInstead(MeasureUnit::createCalorie(status)); in TestCompatible63()
1103 measureUnit.adoptInstead(MeasureUnit::createFoodcalorie(status)); in TestCompatible63()
1104 measureUnit.adoptInstead(MeasureUnit::createJoule(status)); in TestCompatible63()
1105 measureUnit.adoptInstead(MeasureUnit::createKilocalorie(status)); in TestCompatible63()
1106 measureUnit.adoptInstead(MeasureUnit::createKilojoule(status)); in TestCompatible63()
1107 measureUnit.adoptInstead(MeasureUnit::createKilowattHour(status)); in TestCompatible63()
1108 measureUnit.adoptInstead(MeasureUnit::createGigahertz(status)); in TestCompatible63()
1109 measureUnit.adoptInstead(MeasureUnit::createHertz(status)); in TestCompatible63()
1110 measureUnit.adoptInstead(MeasureUnit::createKilohertz(status)); in TestCompatible63()
1111 measureUnit.adoptInstead(MeasureUnit::createMegahertz(status)); in TestCompatible63()
1112 measureUnit.adoptInstead(MeasureUnit::createAstronomicalUnit(status)); in TestCompatible63()
1113 measureUnit.adoptInstead(MeasureUnit::createCentimeter(status)); in TestCompatible63()
1114 measureUnit.adoptInstead(MeasureUnit::createDecimeter(status)); in TestCompatible63()
1115 measureUnit.adoptInstead(MeasureUnit::createFathom(status)); in TestCompatible63()
1116 measureUnit.adoptInstead(MeasureUnit::createFoot(status)); in TestCompatible63()
1117 measureUnit.adoptInstead(MeasureUnit::createFurlong(status)); in TestCompatible63()
1118 measureUnit.adoptInstead(MeasureUnit::createInch(status)); in TestCompatible63()
1119 measureUnit.adoptInstead(MeasureUnit::createKilometer(status)); in TestCompatible63()
1120 measureUnit.adoptInstead(MeasureUnit::createLightYear(status)); in TestCompatible63()
1121 measureUnit.adoptInstead(MeasureUnit::createMeter(status)); in TestCompatible63()
1122 measureUnit.adoptInstead(MeasureUnit::createMicrometer(status)); in TestCompatible63()
1123 measureUnit.adoptInstead(MeasureUnit::createMile(status)); in TestCompatible63()
1124 measureUnit.adoptInstead(MeasureUnit::createMileScandinavian(status)); in TestCompatible63()
1125 measureUnit.adoptInstead(MeasureUnit::createMillimeter(status)); in TestCompatible63()
1126 measureUnit.adoptInstead(MeasureUnit::createNanometer(status)); in TestCompatible63()
1127 measureUnit.adoptInstead(MeasureUnit::createNauticalMile(status)); in TestCompatible63()
1128 measureUnit.adoptInstead(MeasureUnit::createParsec(status)); in TestCompatible63()
1129 measureUnit.adoptInstead(MeasureUnit::createPicometer(status)); in TestCompatible63()
1130 measureUnit.adoptInstead(MeasureUnit::createPoint(status)); in TestCompatible63()
1131 measureUnit.adoptInstead(MeasureUnit::createYard(status)); in TestCompatible63()
1132 measureUnit.adoptInstead(MeasureUnit::createLux(status)); in TestCompatible63()
1133 measureUnit.adoptInstead(MeasureUnit::createCarat(status)); in TestCompatible63()
1134 measureUnit.adoptInstead(MeasureUnit::createGram(status)); in TestCompatible63()
1135 measureUnit.adoptInstead(MeasureUnit::createKilogram(status)); in TestCompatible63()
1136 measureUnit.adoptInstead(MeasureUnit::createMetricTon(status)); in TestCompatible63()
1137 measureUnit.adoptInstead(MeasureUnit::createMicrogram(status)); in TestCompatible63()
1138 measureUnit.adoptInstead(MeasureUnit::createMilligram(status)); in TestCompatible63()
1139 measureUnit.adoptInstead(MeasureUnit::createOunce(status)); in TestCompatible63()
1140 measureUnit.adoptInstead(MeasureUnit::createOunceTroy(status)); in TestCompatible63()
1141 measureUnit.adoptInstead(MeasureUnit::createPound(status)); in TestCompatible63()
1142 measureUnit.adoptInstead(MeasureUnit::createStone(status)); in TestCompatible63()
1143 measureUnit.adoptInstead(MeasureUnit::createTon(status)); in TestCompatible63()
1144 measureUnit.adoptInstead(MeasureUnit::createGigawatt(status)); in TestCompatible63()
1145 measureUnit.adoptInstead(MeasureUnit::createHorsepower(status)); in TestCompatible63()
1146 measureUnit.adoptInstead(MeasureUnit::createKilowatt(status)); in TestCompatible63()
1147 measureUnit.adoptInstead(MeasureUnit::createMegawatt(status)); in TestCompatible63()
1148 measureUnit.adoptInstead(MeasureUnit::createMilliwatt(status)); in TestCompatible63()
1149 measureUnit.adoptInstead(MeasureUnit::createWatt(status)); in TestCompatible63()
1150 measureUnit.adoptInstead(MeasureUnit::createAtmosphere(status)); in TestCompatible63()
1151 measureUnit.adoptInstead(MeasureUnit::createHectopascal(status)); in TestCompatible63()
1152 measureUnit.adoptInstead(MeasureUnit::createInchHg(status)); in TestCompatible63()
1153 measureUnit.adoptInstead(MeasureUnit::createMillibar(status)); in TestCompatible63()
1154 measureUnit.adoptInstead(MeasureUnit::createMillimeterOfMercury(status)); in TestCompatible63()
1155 measureUnit.adoptInstead(MeasureUnit::createPoundPerSquareInch(status)); in TestCompatible63()
1156 measureUnit.adoptInstead(MeasureUnit::createKilometerPerHour(status)); in TestCompatible63()
1157 measureUnit.adoptInstead(MeasureUnit::createKnot(status)); in TestCompatible63()
1158 measureUnit.adoptInstead(MeasureUnit::createMeterPerSecond(status)); in TestCompatible63()
1159 measureUnit.adoptInstead(MeasureUnit::createMilePerHour(status)); in TestCompatible63()
1160 measureUnit.adoptInstead(MeasureUnit::createCelsius(status)); in TestCompatible63()
1161 measureUnit.adoptInstead(MeasureUnit::createFahrenheit(status)); in TestCompatible63()
1162 measureUnit.adoptInstead(MeasureUnit::createGenericTemperature(status)); in TestCompatible63()
1163 measureUnit.adoptInstead(MeasureUnit::createKelvin(status)); in TestCompatible63()
1164 measureUnit.adoptInstead(MeasureUnit::createAcreFoot(status)); in TestCompatible63()
1165 measureUnit.adoptInstead(MeasureUnit::createBushel(status)); in TestCompatible63()
1166 measureUnit.adoptInstead(MeasureUnit::createCentiliter(status)); in TestCompatible63()
1167 measureUnit.adoptInstead(MeasureUnit::createCubicCentimeter(status)); in TestCompatible63()
1168 measureUnit.adoptInstead(MeasureUnit::createCubicFoot(status)); in TestCompatible63()
1169 measureUnit.adoptInstead(MeasureUnit::createCubicInch(status)); in TestCompatible63()
1170 measureUnit.adoptInstead(MeasureUnit::createCubicKilometer(status)); in TestCompatible63()
1171 measureUnit.adoptInstead(MeasureUnit::createCubicMeter(status)); in TestCompatible63()
1172 measureUnit.adoptInstead(MeasureUnit::createCubicMile(status)); in TestCompatible63()
1173 measureUnit.adoptInstead(MeasureUnit::createCubicYard(status)); in TestCompatible63()
1174 measureUnit.adoptInstead(MeasureUnit::createCup(status)); in TestCompatible63()
1175 measureUnit.adoptInstead(MeasureUnit::createCupMetric(status)); in TestCompatible63()
1176 measureUnit.adoptInstead(MeasureUnit::createDeciliter(status)); in TestCompatible63()
1177 measureUnit.adoptInstead(MeasureUnit::createFluidOunce(status)); in TestCompatible63()
1178 measureUnit.adoptInstead(MeasureUnit::createGallon(status)); in TestCompatible63()
1179 measureUnit.adoptInstead(MeasureUnit::createGallonImperial(status)); in TestCompatible63()
1180 measureUnit.adoptInstead(MeasureUnit::createHectoliter(status)); in TestCompatible63()
1181 measureUnit.adoptInstead(MeasureUnit::createLiter(status)); in TestCompatible63()
1182 measureUnit.adoptInstead(MeasureUnit::createMegaliter(status)); in TestCompatible63()
1183 measureUnit.adoptInstead(MeasureUnit::createMilliliter(status)); in TestCompatible63()
1184 measureUnit.adoptInstead(MeasureUnit::createPint(status)); in TestCompatible63()
1185 measureUnit.adoptInstead(MeasureUnit::createPintMetric(status)); in TestCompatible63()
1186 measureUnit.adoptInstead(MeasureUnit::createQuart(status)); in TestCompatible63()
1187 measureUnit.adoptInstead(MeasureUnit::createTablespoon(status)); in TestCompatible63()
1188 measureUnit.adoptInstead(MeasureUnit::createTeaspoon(status)); in TestCompatible63()
1189 assertSuccess("", status); in TestCompatible63()
1193 UErrorCode status = U_ZERO_ERROR; in TestBasic() local
1194 MeasureUnit *ptr1 = MeasureUnit::createArcMinute(status); in TestBasic()
1195 MeasureUnit *ptr2 = MeasureUnit::createArcMinute(status); in TestBasic()
1202 MeasureUnit *ptr3 = MeasureUnit::createMeter(status); in TestBasic()
1227 UErrorCode status = U_ZERO_ERROR; in TestGetAvailable() local
1228 int32_t totalCount = MeasureUnit::getAvailable(units, 0, status); in TestGetAvailable()
1229 while (status == U_BUFFER_OVERFLOW_ERROR) { in TestGetAvailable()
1230 status = U_ZERO_ERROR; in TestGetAvailable()
1233 totalCount = MeasureUnit::getAvailable(units, totalCount, status); in TestGetAvailable()
1235 if (U_FAILURE(status)) { in TestGetAvailable()
1236 dataerrln("Failure creating format object - %s", u_errorName(status)); in TestGetAvailable()
1244 StringEnumeration *types = MeasureUnit::getAvailableTypes(status); in TestGetAvailable()
1245 if (U_FAILURE(status)) { in TestGetAvailable()
1246 dataerrln("Failure getting types - %s", u_errorName(status)); in TestGetAvailable()
1250 if (types->count(status) < 10) { in TestGetAvailable()
1257 const char* type = types->next(NULL, status); in TestGetAvailable()
1259 type = types->next(NULL, status)) { in TestGetAvailable()
1260 int32_t unitCount = MeasureUnit::getAvailable(type, units, unitCapacity, status); in TestGetAvailable()
1261 while (status == U_BUFFER_OVERFLOW_ERROR) { in TestGetAvailable()
1262 status = U_ZERO_ERROR; in TestGetAvailable()
1266 unitCount = MeasureUnit::getAvailable(type, units, unitCapacity, status); in TestGetAvailable()
1268 if (U_FAILURE(status)) { in TestGetAvailable()
1269 dataerrln("Failure getting units - %s", u_errorName(status)); in TestGetAvailable()
1287 UErrorCode status = U_ZERO_ERROR; in TestExamplesInDocs() local
1288 MeasureFormat fmtFr(Locale::getFrench(), UMEASFMT_WIDTH_SHORT, status); in TestExamplesInDocs()
1290 Locale::getFrench(), UMEASFMT_WIDTH_WIDE, status); in TestExamplesInDocs()
1292 Locale::getFrench(), UMEASFMT_WIDTH_NARROW, status); in TestExamplesInDocs()
1293 MeasureFormat fmtEn(Locale::getUS(), UMEASFMT_WIDTH_WIDE, status); in TestExamplesInDocs()
1294 if (!assertSuccess("Error creating formatters", status)) { in TestExamplesInDocs()
1297 Measure measureC((double)23, MeasureUnit::createCelsius(status), status); in TestExamplesInDocs()
1298 Measure measureF((double)70, MeasureUnit::createFahrenheit(status), status); in TestExamplesInDocs()
1300 Measure((double)70, MeasureUnit::createFoot(status), status), in TestExamplesInDocs()
1301 Measure((double)5.3, MeasureUnit::createInch(status), status)}; in TestExamplesInDocs()
1303 Measure((double)1, MeasureUnit::createFoot(status), status), in TestExamplesInDocs()
1304 Measure((double)1, MeasureUnit::createInch(status), status)}; in TestExamplesInDocs()
1306 Measure((double)1, MeasureUnit::createInch(status), status), in TestExamplesInDocs()
1307 Measure((double)2, MeasureUnit::createFoot(status), status)}; in TestExamplesInDocs()
1308 if (!assertSuccess("Error creating measurements.", status)) { in TestExamplesInDocs()
1364 UErrorCode status = U_ZERO_ERROR; in TestFormatPeriodEn() local
1365 Measure t_19m[] = {Measure((double)19, MeasureUnit::createMinute(status), status)}; in TestFormatPeriodEn()
1367 Measure((double)1.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1368 Measure((double)23.5, MeasureUnit::createSecond(status), status) in TestFormatPeriodEn()
1371 Measure((double)1.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1372 Measure((double)23.5, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1378 TimeUnit::UTIMEUNIT_HOUR, status), in TestFormatPeriodEn()
1379 status), in TestFormatPeriodEn()
1383 TimeUnit::UTIMEUNIT_MINUTE, status), in TestFormatPeriodEn()
1384 status), in TestFormatPeriodEn()
1388 TimeUnit::UTIMEUNIT_SECOND, status), in TestFormatPeriodEn()
1389 status) in TestFormatPeriodEn()
1392 Measure(2.0, MeasureUnit::createYear(status), status), in TestFormatPeriodEn()
1393 Measure(5.0, MeasureUnit::createMonth(status), status), in TestFormatPeriodEn()
1394 Measure(3.0, MeasureUnit::createWeek(status), status), in TestFormatPeriodEn()
1395 Measure(4.0, MeasureUnit::createDay(status), status) in TestFormatPeriodEn()
1398 Measure(1.0, MeasureUnit::createMinute(status), status), in TestFormatPeriodEn()
1399 Measure(59.9996, MeasureUnit::createSecond(status), status) in TestFormatPeriodEn()
1402 Measure(5.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1403 Measure(17.0, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1406 Measure(-5.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1407 Measure(17.0, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1410 Measure(19.0, MeasureUnit::createMinute(status), status), in TestFormatPeriodEn()
1411 Measure(28.0, MeasureUnit::createSecond(status), status) in TestFormatPeriodEn()
1414 Measure(0.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1415 Measure(0.0, MeasureUnit::createMinute(status), status), in TestFormatPeriodEn()
1416 Measure(9.0, MeasureUnit::createSecond(status), status) in TestFormatPeriodEn()
1419 Measure(0.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1420 Measure(0.0, MeasureUnit::createMinute(status), status), in TestFormatPeriodEn()
1421 Measure(17.0, MeasureUnit::createSecond(status), status) in TestFormatPeriodEn()
1424 Measure(6.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1425 Measure(56.92, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1428 Measure(3.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1429 Measure(4.0, MeasureUnit::createSecond(status), status), in TestFormatPeriodEn()
1430 Measure(5.0, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1433 Measure(6.7, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1434 Measure(56.92, MeasureUnit::createMinute(status), status) in TestFormatPeriodEn()
1438 Measure(3.0, MeasureUnit::createHour(status), status), in TestFormatPeriodEn()
1439 Measure(5.0, MeasureUnit::createHour(status), status) in TestFormatPeriodEn()
1442 if (!assertSuccess("Error creating Measure objects", status)) { in TestFormatPeriodEn()
1508 LocalPointer<NumberFormat> nf(NumberFormat::createInstance(en, status)); in TestFormatPeriodEn()
1509 if (U_FAILURE(status)) { in TestFormatPeriodEn()
1510 dataerrln("Error creating number format en object - %s", u_errorName(status)); in TestFormatPeriodEn()
1514 MeasureFormat mf(en, UMEASFMT_WIDTH_WIDE, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1515 if (!assertSuccess("Error creating measure format en WIDE", status)) { in TestFormatPeriodEn()
1531 mf = MeasureFormat(en, UMEASFMT_WIDTH_SHORT, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1532 if (!assertSuccess("Error creating measure format en SHORT", status)) { in TestFormatPeriodEn()
1536 mf = MeasureFormat(en, UMEASFMT_WIDTH_NARROW, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1537 if (!assertSuccess("Error creating measure format en NARROW", status)) { in TestFormatPeriodEn()
1541 mf = MeasureFormat(en, UMEASFMT_WIDTH_NUMERIC, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1542 if (!assertSuccess("Error creating measure format en NUMERIC", status)) { in TestFormatPeriodEn()
1548 nf.adoptInstead(NumberFormat::createInstance(de, status)); in TestFormatPeriodEn()
1549 if (!assertSuccess("Error creating number format de object", status)) { in TestFormatPeriodEn()
1553 mf = MeasureFormat(de, UMEASFMT_WIDTH_WIDE, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1554 if (!assertSuccess("Error creating measure format de WIDE", status)) { in TestFormatPeriodEn()
1558 mf = MeasureFormat(de, UMEASFMT_WIDTH_NUMERIC, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1559 if (!assertSuccess("Error creating measure format de NUMERIC", status)) { in TestFormatPeriodEn()
1572 UErrorCode status = U_ZERO_ERROR; in Test10219FractionalPlurals() local
1576 (DecimalFormat *) NumberFormat::createInstance(en, status); in Test10219FractionalPlurals()
1577 if (U_FAILURE(status)) { in Test10219FractionalPlurals()
1578 dataerrln("Error creating Number format - %s", u_errorName(status)); in Test10219FractionalPlurals()
1584 MeasureFormat mf(en, UMEASFMT_WIDTH_WIDE, df, status); in Test10219FractionalPlurals()
1585 if (!assertSuccess("Error creating Measure format", status)) { in Test10219FractionalPlurals()
1588 Measure measure(values[j], MeasureUnit::createMinute(status), status); in Test10219FractionalPlurals()
1589 if (!assertSuccess("Error creating Measure unit", status)) { in Test10219FractionalPlurals()
1605 UErrorCode status = U_ZERO_ERROR; in TestGreek() local
1607 toMeasureUnit(MeasureUnit::createSecond(status)), in TestGreek()
1608 toMeasureUnit(MeasureUnit::createMinute(status)), in TestGreek()
1609 toMeasureUnit(MeasureUnit::createHour(status)), in TestGreek()
1610 toMeasureUnit(MeasureUnit::createDay(status)), in TestGreek()
1611 toMeasureUnit(MeasureUnit::createWeek(status)), in TestGreek()
1612 toMeasureUnit(MeasureUnit::createMonth(status)), in TestGreek()
1613 toMeasureUnit(MeasureUnit::createYear(status))}; in TestGreek()
1614 if (!assertSuccess("Error creating Measure units", status)) { in TestGreek()
1693 Measure measure(numbers[numIndex], new MeasureUnit(units[unitIndex]), status); in TestGreek()
1694 if (!assertSuccess("Error creating Measure", status)) { in TestGreek()
1697 MeasureFormat fmt(locales[locIndex], styles[styleIndex], status); in TestGreek()
1698 if (!assertSuccess("Error creating Measure format", status)) { in TestGreek()
1710 UErrorCode status = U_ZERO_ERROR; in TestFormatSingleArg() local
1711 MeasureFormat fmt("en", UMEASFMT_WIDTH_WIDE, status); in TestFormatSingleArg()
1712 if (!assertSuccess("Error creating formatter", status)) { in TestFormatSingleArg()
1718 new Measure(3.5, MeasureUnit::createFoot(status), status), in TestFormatSingleArg()
1721 status); in TestFormatSingleArg()
1722 if (!assertSuccess("Error formatting", status)) { in TestFormatSingleArg()
1732 UErrorCode status = U_ZERO_ERROR; in TestFormatMeasuresZeroArg() local
1733 MeasureFormat fmt("en", UMEASFMT_WIDTH_WIDE, status); in TestFormatMeasuresZeroArg()
1739 UErrorCode status = U_ZERO_ERROR; in TestSimplePer() local
1740 LocalPointer<MeasureUnit> second(MeasureUnit::createSecond(status)); in TestSimplePer()
1741 LocalPointer<MeasureUnit> minute(MeasureUnit::createMinute(status)); in TestSimplePer()
1742 LocalPointer<MeasureUnit> pound(MeasureUnit::createPound(status)); in TestSimplePer()
1743 if (!assertSuccess("", status)) { in TestSimplePer()
1805 UErrorCode status = U_ZERO_ERROR; in TestNumeratorPlurals() local
1806 LocalPointer<MeasureUnit> second(MeasureUnit::createSecond(status)); in TestNumeratorPlurals()
1807 LocalPointer<MeasureUnit> foot(MeasureUnit::createFoot(status)); in TestNumeratorPlurals()
1808 if (!assertSuccess("", status)) { in TestNumeratorPlurals()
1858 UErrorCode status = U_ZERO_ERROR; in helperTestSimplePer() local
1860 MeasureFormat fmt(locale, width, status); in helperTestSimplePer()
1861 if (!assertSuccess("Error creating format object", status)) { in helperTestSimplePer()
1864 Measure measure(value, (MeasureUnit *) unit.clone(), status); in helperTestSimplePer()
1865 if (!assertSuccess("Error creating measure object", status)) { in helperTestSimplePer()
1875 status); in helperTestSimplePer()
1876 if (!assertSuccess("Error formatting measures with per", status)) { in helperTestSimplePer()
1908 UErrorCode status = U_ZERO_ERROR; in helperTestMultiples() local
1910 MeasureFormat fmt(locale, width, status); in helperTestMultiples()
1911 if (!assertSuccess("Error creating format object", status)) { in helperTestMultiples()
1915 Measure(2.0, MeasureUnit::createMile(status), status), in helperTestMultiples()
1916 Measure(1.0, MeasureUnit::createFoot(status), status), in helperTestMultiples()
1917 Measure(2.3, MeasureUnit::createInch(status), status)}; in helperTestMultiples()
1918 if (!assertSuccess("Error creating measures", status)) { in helperTestMultiples()
1922 fmt.formatMeasures(measures, UPRV_LENGTHOF(measures), buffer, pos, status); in helperTestMultiples()
1923 if (!assertSuccess("Error formatting measures", status)) { in helperTestMultiples()
1930 UErrorCode status = U_ZERO_ERROR; in TestManyLocaleDurations() local
1932 Measure(5.0, MeasureUnit::createHour(status), status), in TestManyLocaleDurations()
1933 Measure(37.0, MeasureUnit::createMinute(status), status)}; in TestManyLocaleDurations()
1934 if (!assertSuccess("Error creating measures", status)) { in TestManyLocaleDurations()
1972 UErrorCode status = U_ZERO_ERROR; in helperTestManyLocaleDurations() local
1973 MeasureFormat fmt(Locale(localeID), width, status); in helperTestManyLocaleDurations()
1974 if (U_FAILURE(status)) { in helperTestManyLocaleDurations()
1975 …not create MeasureFormat for locale %s, width %d, status: %s", localeID, (int)width, u_errorName(s… in helperTestManyLocaleDurations()
1980 fmt.formatMeasures(measures, measureCount, buffer, pos, status); in helperTestManyLocaleDurations()
1981 if (U_FAILURE(status)) { in helperTestManyLocaleDurations()
1982 …t::formatMeasures failed for locale %s, width %d, status: %s", localeID, (int)width, u_errorName(s… in helperTestManyLocaleDurations()
1992 UErrorCode status = U_ZERO_ERROR; in TestGram() local
1993 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestGram()
1994 if (!assertSuccess("Error creating format object", status)) { in TestGram()
1997 Measure gram((double)1, MeasureUnit::createGram(status), status); in TestGram()
1998 Measure gforce((double)1, MeasureUnit::createGForce(status), status); in TestGram()
1999 if (!assertSuccess("Error creating measures", status)) { in TestGram()
2009 UErrorCode status = U_ZERO_ERROR; in TestCurrencies() local
2010 CurrencyUnit USD_unit(USD, status); in TestCurrencies()
2012 if (!assertSuccess("Error creating CurrencyUnit", status)) { in TestCurrencies()
2015 CurrencyAmount USD_1(1.0, USD, status); in TestCurrencies()
2017 CurrencyAmount USD_2(2.0, USD, status); in TestCurrencies()
2018 CurrencyAmount USD_NEG_1(-1.0, USD, status); in TestCurrencies()
2019 if (!assertSuccess("Error creating currencies", status)) { in TestCurrencies()
2023 MeasureFormat fmt(en, UMEASFMT_WIDTH_WIDE, status); in TestCurrencies()
2024 if (!assertSuccess("Error creating format object", status)) { in TestCurrencies()
2030 fmt = MeasureFormat(en, UMEASFMT_WIDTH_SHORT, status); in TestCurrencies()
2031 if (!assertSuccess("Error creating format object", status)) { in TestCurrencies()
2037 fmt = MeasureFormat(en, UMEASFMT_WIDTH_NARROW, status); in TestCurrencies()
2038 if (!assertSuccess("Error creating format object", status)) { in TestCurrencies()
2044 fmt = MeasureFormat(en, UMEASFMT_WIDTH_NUMERIC, status); in TestCurrencies()
2045 if (!assertSuccess("Error creating format object", status)) { in TestCurrencies()
2054 UErrorCode status = U_ZERO_ERROR; in TestDisplayNames() local
2055 helperTestDisplayName( MeasureUnit::createYear(status), "en", UMEASFMT_WIDTH_WIDE, "years" ); in TestDisplayNames()
2056 helperTestDisplayName( MeasureUnit::createYear(status), "ja", UMEASFMT_WIDTH_WIDE, "\\u5E74" ); in TestDisplayNames()
2057 … helperTestDisplayName( MeasureUnit::createYear(status), "es", UMEASFMT_WIDTH_WIDE, "a\\u00F1os" ); in TestDisplayNames()
2058 helperTestDisplayName( MeasureUnit::createYear(status), "pt", UMEASFMT_WIDTH_WIDE, "anos" ); in TestDisplayNames()
2059 helperTestDisplayName( MeasureUnit::createYear(status), "pt-PT", UMEASFMT_WIDTH_WIDE, "anos" ); in TestDisplayNames()
2060 … helperTestDisplayName( MeasureUnit::createAmpere(status), "en", UMEASFMT_WIDTH_WIDE, "amperes" ); in TestDisplayNames()
2061 …helperTestDisplayName( MeasureUnit::createAmpere(status), "ja", UMEASFMT_WIDTH_WIDE, "\\u30A2\\u30… in TestDisplayNames()
2062 … helperTestDisplayName( MeasureUnit::createAmpere(status), "es", UMEASFMT_WIDTH_WIDE, "amperios" ); in TestDisplayNames()
2063 … helperTestDisplayName( MeasureUnit::createAmpere(status), "pt", UMEASFMT_WIDTH_WIDE, "amperes" ); in TestDisplayNames()
2064 …helperTestDisplayName( MeasureUnit::createAmpere(status), "pt-PT", UMEASFMT_WIDTH_WIDE, "amperes" … in TestDisplayNames()
2065 …helperTestDisplayName( MeasureUnit::createMeterPerSecondSquared(status), "pt", UMEASFMT_WIDTH_WIDE… in TestDisplayNames()
2066 …helperTestDisplayName( MeasureUnit::createMeterPerSecondSquared(status), "pt-PT", UMEASFMT_WIDTH_W… in TestDisplayNames()
2067 …helperTestDisplayName( MeasureUnit::createSquareKilometer(status), "pt", UMEASFMT_WIDTH_NARROW, "k… in TestDisplayNames()
2068 …helperTestDisplayName( MeasureUnit::createSquareKilometer(status), "pt", UMEASFMT_WIDTH_SHORT, "km… in TestDisplayNames()
2069 …helperTestDisplayName( MeasureUnit::createSquareKilometer(status), "pt", UMEASFMT_WIDTH_WIDE, "qui… in TestDisplayNames()
2070 helperTestDisplayName( MeasureUnit::createSecond(status), "pt-PT", UMEASFMT_WIDTH_NARROW, "s" ); in TestDisplayNames()
2071 helperTestDisplayName( MeasureUnit::createSecond(status), "pt-PT", UMEASFMT_WIDTH_SHORT, "s" ); in TestDisplayNames()
2072 …helperTestDisplayName( MeasureUnit::createSecond(status), "pt-PT", UMEASFMT_WIDTH_WIDE, "segundos"… in TestDisplayNames()
2073 helperTestDisplayName( MeasureUnit::createSecond(status), "pt", UMEASFMT_WIDTH_NARROW, "seg" ); in TestDisplayNames()
2074 helperTestDisplayName( MeasureUnit::createSecond(status), "pt", UMEASFMT_WIDTH_SHORT, "seg" ); in TestDisplayNames()
2075 … helperTestDisplayName( MeasureUnit::createSecond(status), "pt", UMEASFMT_WIDTH_WIDE, "segundos" ); in TestDisplayNames()
2076 assertSuccess("Error creating measure units", status); in TestDisplayNames()
2083 UErrorCode status = U_ZERO_ERROR; in helperTestDisplayName() local
2084 MeasureFormat fmt(Locale(localeID), width, status); in helperTestDisplayName()
2085 if (U_FAILURE(status)) { in helperTestDisplayName()
2086 errln("Could not create MeasureFormat for locale %s, width %d, status: %s", in helperTestDisplayName()
2087 localeID, (int)width, u_errorName(status)); in helperTestDisplayName()
2091 UnicodeString dnam = fmt.getUnitDisplayName(*unit, status); in helperTestDisplayName()
2092 if (U_FAILURE(status)) { in helperTestDisplayName()
2093 … errln("MeasureFormat::getUnitDisplayName failed for unit %s-%s, locale %s, width %d, status: %s", in helperTestDisplayName()
2094 unit->getType(), unit->getSubtype(), localeID, (int)width, u_errorName(status)); in helperTestDisplayName()
2109 UErrorCode status = U_ZERO_ERROR; in TestFieldPosition() local
2110 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestFieldPosition()
2111 if (!assertSuccess("Error creating format object", status)) { in TestFieldPosition()
2114 Measure measure(43.5, MeasureUnit::createFoot(status), status); in TestFieldPosition()
2115 if (!assertSuccess("Error creating measure object 1", status)) { in TestFieldPosition()
2128 measure = Measure(43.0, MeasureUnit::createFoot(status), status); in TestFieldPosition()
2129 if (!assertSuccess("Error creating measure object 2", status)) { in TestFieldPosition()
2144 UErrorCode status = U_ZERO_ERROR; in TestFieldPositionMultiple() local
2145 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestFieldPositionMultiple()
2146 if (!assertSuccess("Error creating format object", status)) { in TestFieldPositionMultiple()
2150 Measure((double)354, MeasureUnit::createMeter(status), status), in TestFieldPositionMultiple()
2151 Measure((double)23, MeasureUnit::createCentimeter(status), status)}; in TestFieldPositionMultiple()
2153 Measure((double)354, MeasureUnit::createMeter(status), status), in TestFieldPositionMultiple()
2154 Measure((double)23, MeasureUnit::createCentimeter(status), status), in TestFieldPositionMultiple()
2155 Measure((double)5.4, MeasureUnit::createMillimeter(status), status)}; in TestFieldPositionMultiple()
2157 Measure((double)3, MeasureUnit::createMeter(status), status), in TestFieldPositionMultiple()
2158 Measure((double)23, MeasureUnit::createCentimeter(status), status), in TestFieldPositionMultiple()
2159 Measure((double)5, MeasureUnit::createMillimeter(status), status)}; in TestFieldPositionMultiple()
2160 if (!assertSuccess("Error creating measure objects", status)) { in TestFieldPositionMultiple()
2194 UErrorCode status = U_ZERO_ERROR; in TestBadArg() local
2195 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestBadArg()
2196 if (!assertSuccess("Error creating format object", status)) { in TestBadArg()
2205 status); in TestBadArg()
2206 if (status != U_ILLEGAL_ARGUMENT_ERROR) { in TestBadArg()
2212 UErrorCode status = U_ZERO_ERROR; in TestEquality() local
2213 NumberFormat* nfeq = NumberFormat::createInstance("en", status); in TestEquality()
2214 NumberFormat* nfne = NumberFormat::createInstance("fr", status); in TestEquality()
2215 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestEquality()
2216 MeasureFormat fmtEq2("en", UMEASFMT_WIDTH_SHORT, nfeq, status); in TestEquality()
2217 MeasureFormat fmtne1("en", UMEASFMT_WIDTH_WIDE, status); in TestEquality()
2218 MeasureFormat fmtne2("fr", UMEASFMT_WIDTH_SHORT, status); in TestEquality()
2219 MeasureFormat fmtne3("en", UMEASFMT_WIDTH_SHORT, nfne, status); in TestEquality()
2220 if (U_FAILURE(status)) { in TestEquality()
2221 dataerrln("Error creating MeasureFormats - %s", u_errorName(status)); in TestEquality()
2235 UErrorCode status = U_ZERO_ERROR; in TestGroupingSeparator() local
2237 MeasureFormat fmt(en, UMEASFMT_WIDTH_SHORT, status); in TestGroupingSeparator()
2238 if (!assertSuccess("Error creating format object", status)) { in TestGroupingSeparator()
2242 Measure((int32_t)INT32_MAX, MeasureUnit::createYear(status), status), in TestGroupingSeparator()
2243 Measure((int32_t)INT32_MIN, MeasureUnit::createMonth(status), status), in TestGroupingSeparator()
2244 Measure(-987.0, MeasureUnit::createDay(status), status), in TestGroupingSeparator()
2245 Measure(1362.0, MeasureUnit::createHour(status), status), in TestGroupingSeparator()
2246 Measure(987.0, MeasureUnit::createMinute(status), status)}; in TestGroupingSeparator()
2249 fmt.formatMeasures(ms, 5, appendTo, pos, status); in TestGroupingSeparator()
2250 if (!assertSuccess("Error formatting", status)) { in TestGroupingSeparator()
2262 UErrorCode status = U_ZERO_ERROR; in TestDoubleZero() local
2264 Measure(4.7, MeasureUnit::createHour(status), status), in TestDoubleZero()
2265 Measure(23.0, MeasureUnit::createMinute(status), status), in TestDoubleZero()
2266 Measure(16.0, MeasureUnit::createSecond(status), status)}; in TestDoubleZero()
2268 NumberFormat *nf = NumberFormat::createInstance(en, status); in TestDoubleZero()
2269 MeasureFormat fmt("en", UMEASFMT_WIDTH_WIDE, nf, status); in TestDoubleZero()
2272 if (U_FAILURE(status)) { in TestDoubleZero()
2273 dataerrln("Error creating formatter - %s", u_errorName(status)); in TestDoubleZero()
2278 fmt.formatMeasures(measures, UPRV_LENGTHOF(measures), appendTo, pos, status); in TestDoubleZero()
2279 if (!assertSuccess("Error formatting", status)) { in TestDoubleZero()
2286 measures[0] = Measure(-4.7, MeasureUnit::createHour(status), status); in TestDoubleZero()
2288 fmt.formatMeasures(measures, UPRV_LENGTHOF(measures), appendTo, pos, status); in TestDoubleZero()
2289 if (!assertSuccess("Error formatting", status)) { in TestDoubleZero()
2299 UErrorCode status = U_ZERO_ERROR; in TestUnitPerUnitResolution() local
2301 MeasureFormat fmt("en", UMEASFMT_WIDTH_SHORT, status); in TestUnitPerUnitResolution()
2302 Measure measure(50.0, MeasureUnit::createPound(status), status); in TestUnitPerUnitResolution()
2303 LocalPointer<MeasureUnit> sqInch(MeasureUnit::createSquareInch(status)); in TestUnitPerUnitResolution()
2304 if (!assertSuccess("Create of format unit and per unit", status)) { in TestUnitPerUnitResolution()
2314 status); in TestUnitPerUnitResolution()
2343 UErrorCode status = U_ZERO_ERROR; in verifyFieldPosition() local
2345 const char *descPrefix = ch.append(description, status) in verifyFieldPosition()
2346 .append(": ", status).data(); in verifyFieldPosition()
2348 beginIndex.append(descPrefix, status).append("beginIndex", status); in verifyFieldPosition()
2350 endIndex.append(descPrefix, status).append("endIndex", status); in verifyFieldPosition()
2351 fmt.formatMeasures(measures, measureCount, result, pos, status); in verifyFieldPosition()
2352 if (!assertSuccess("Error formatting", status)) { in verifyFieldPosition()
2383 UErrorCode status = U_ZERO_ERROR; in verifyFormatWithPrefix() local
2384 fmt.formatMeasures(measures, measureCount, result, pos, status); in verifyFormatWithPrefix()
2385 if (!assertSuccess("Error formatting", status)) { in verifyFormatWithPrefix()