Lines Matching refs:val

204         byte val= AnyConverter.toByte(aByte);  in test_toByte()
205 assure("", val == aByte.byteValue()); in test_toByte()
206 val= AnyConverter.toByte(anyByte); in test_toByte()
207 assure("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toByte()
322 int val= AnyConverter.toInt(aByte); in test_toInt() local
323 assure("", val == aByte.byteValue()); in test_toInt()
324 val= AnyConverter.toInt(aShort); in test_toInt()
325 assure("", val == aShort.shortValue()); in test_toInt()
326 val= AnyConverter.toInt(aInt); in test_toInt()
327 assure("", val == aInt.intValue()); in test_toInt()
328 val= AnyConverter.toInt(anyByte); in test_toInt()
329 assure("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toInt()
330 val= AnyConverter.toInt(anyShort); in test_toInt()
331 assure("", val == ((Short) anyShort.getObject()).shortValue()); in test_toInt()
332 val= AnyConverter.toInt(anyInt); in test_toInt()
333 assure("", val == ((Integer) anyInt.getObject()).intValue()); in test_toInt()
389 long val= AnyConverter.toLong(aByte); in test_toLong() local
390 assure("", val == aByte.byteValue()); in test_toLong()
391 val= AnyConverter.toLong(aShort); in test_toLong()
392 assure("", val == aShort.shortValue()); in test_toLong()
393 val= AnyConverter.toLong(aInt); in test_toLong()
394 assure("", val == aInt.intValue()); in test_toLong()
395 val= AnyConverter.toLong(aLong); in test_toLong()
396 assure("", val == aLong.longValue()); in test_toLong()
397 val= AnyConverter.toLong(anyByte); in test_toLong()
398 assure("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toLong()
399 val= AnyConverter.toLong(anyShort); in test_toLong()
400 assure("", val == ((Short) anyShort.getObject()).shortValue()); in test_toLong()
401 val= AnyConverter.toLong(anyInt); in test_toLong()
402 assure("", val == ((Integer) anyInt.getObject()).intValue()); in test_toLong()
403 val= AnyConverter.toLong(anyLong); in test_toLong()
404 assure("", val == ((Long) anyLong.getObject()).longValue()); in test_toLong()
461 float val= AnyConverter.toFloat(aByte); in test_toFloat() local
462 assure("", val == aByte.byteValue()); // 111 = 111.0 in test_toFloat()
463 val= AnyConverter.toFloat(anyByte); in test_toFloat()
464 assure("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toFloat()
465 val= AnyConverter.toFloat(aShort); in test_toFloat()
466 assure("", val == aShort.shortValue()); //11111 = 11111.0 in test_toFloat()
467 val= AnyConverter.toFloat(anyShort); in test_toFloat()
468 assure("", val == ((Short) anyShort.getObject()).shortValue()); in test_toFloat()
469 val= AnyConverter.toFloat(aFloat); in test_toFloat()
470 assure("", val == aFloat.floatValue()); in test_toFloat()
471 val= AnyConverter.toFloat(anyFloat); in test_toFloat()
472 assure("", val == ((Float) anyFloat.getObject()).floatValue()); in test_toFloat()
517 double val= AnyConverter.toDouble(aByte); in test_toDouble() local
518 assure("", val == aByte.byteValue()); // 111 = 111.0 in test_toDouble()
519 val= AnyConverter.toDouble(anyByte); in test_toDouble()
520 assure("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toDouble()
521 val= AnyConverter.toDouble(aShort); in test_toDouble()
522 assure("", val == aShort.shortValue()); //11111 = 11111.0 in test_toDouble()
523 val= AnyConverter.toDouble(anyShort); in test_toDouble()
524 assure("", val == ((Short) anyShort.getObject()).shortValue()); in test_toDouble()
525 val= AnyConverter.toDouble(aInt); in test_toDouble()
526 assure("", val == aInt.intValue()); in test_toDouble()
527 val= AnyConverter.toDouble(anyInt); in test_toDouble()
528 assure("", val == ((Integer) anyInt.getObject()).intValue()); in test_toDouble()
529 val= AnyConverter.toDouble(aFloat); in test_toDouble()
530 assure("", val == aFloat.floatValue()); in test_toDouble()
531 val= AnyConverter.toDouble(anyFloat); in test_toDouble()
533 assure("", val <= (float1 + 0.1) || val >= (float1 - 0.1)); in test_toDouble()
534 val= AnyConverter.toDouble(aDouble); in test_toDouble()
535 assure("", val == aDouble.doubleValue()); in test_toDouble()
536 val= AnyConverter.toDouble(anyDouble); in test_toDouble()
537 assure("", val == ((Double) anyDouble.getObject()).doubleValue()); in test_toDouble()
575 Object val= AnyConverter.toObject(_type, aObj); in test_toObject() local
576 assure("", UnoRuntime.areSame(val, aObj)); in test_toObject()
577 val= AnyConverter.toObject( in test_toObject()
579 assure("", val == null); in test_toObject()
630 String val= AnyConverter.toString(aStr); in test_toString() local
631 assure("", aStr.equals(val)); in test_toString()
632 val= AnyConverter.toString(anyStr); in test_toString()
633 assure("", ((String)anyStr.getObject()).equals(val)); in test_toString()
686 Type val= AnyConverter.toType(aType); in test_toType() local
687 assure("", val == aType); in test_toType()
688 val= AnyConverter.toType(anyType); in test_toType()
689 assure("", val == anyType.getObject()); in test_toType()
742 Object val= AnyConverter.toArray(arByte); in test_toArray() local
743 assure("", val == arByte); in test_toArray()
744 val= AnyConverter.toArray(anyArByte); in test_toArray()
745 assure("", val == anyArByte.getObject()); in test_toArray()