Lines Matching refs:val

194         byte val= AnyConverter.toByte(aByte);  in test_toByte()
195 assertTrue("", val == aByte.byteValue()); in test_toByte()
196 val= AnyConverter.toByte(anyByte); in test_toByte()
197 assertTrue("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toByte()
314 int val= AnyConverter.toInt(aByte); in test_toInt() local
315 assertTrue("", val == aByte.byteValue()); in test_toInt()
316 val= AnyConverter.toInt(aShort); in test_toInt()
317 assertTrue("", val == aShort.shortValue()); in test_toInt()
318 val= AnyConverter.toInt(aInt); in test_toInt()
319 assertTrue("", val == aInt.intValue()); in test_toInt()
320 val= AnyConverter.toInt(anyByte); in test_toInt()
321 assertTrue("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toInt()
322 val= AnyConverter.toInt(anyShort); in test_toInt()
323 assertTrue("", val == ((Short) anyShort.getObject()).shortValue()); in test_toInt()
324 val= AnyConverter.toInt(anyInt); in test_toInt()
325 assertTrue("", val == ((Integer) anyInt.getObject()).intValue()); in test_toInt()
382 long val= AnyConverter.toLong(aByte); in test_toLong() local
383 assertTrue("", val == aByte.byteValue()); in test_toLong()
384 val= AnyConverter.toLong(aShort); in test_toLong()
385 assertTrue("", val == aShort.shortValue()); in test_toLong()
386 val= AnyConverter.toLong(aInt); in test_toLong()
387 assertTrue("", val == aInt.intValue()); in test_toLong()
388 val= AnyConverter.toLong(aLong); in test_toLong()
389 assertTrue("", val == aLong.longValue()); in test_toLong()
390 val= AnyConverter.toLong(anyByte); in test_toLong()
391 assertTrue("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toLong()
392 val= AnyConverter.toLong(anyShort); in test_toLong()
393 assertTrue("", val == ((Short) anyShort.getObject()).shortValue()); in test_toLong()
394 val= AnyConverter.toLong(anyInt); in test_toLong()
395 assertTrue("", val == ((Integer) anyInt.getObject()).intValue()); in test_toLong()
396 val= AnyConverter.toLong(anyLong); in test_toLong()
397 assertTrue("", val == ((Long) anyLong.getObject()).longValue()); in test_toLong()
455 float val= AnyConverter.toFloat(aByte); in test_toFloat() local
456 assertTrue("", val == aByte.byteValue()); // 111 = 111.0 in test_toFloat()
457 val= AnyConverter.toFloat(anyByte); in test_toFloat()
458 assertTrue("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toFloat()
459 val= AnyConverter.toFloat(aShort); in test_toFloat()
460 assertTrue("", val == aShort.shortValue()); //11111 = 11111.0 in test_toFloat()
461 val= AnyConverter.toFloat(anyShort); in test_toFloat()
462 assertTrue("", val == ((Short) anyShort.getObject()).shortValue()); in test_toFloat()
463 val= AnyConverter.toFloat(aFloat); in test_toFloat()
464 assertTrue("", val == aFloat.floatValue()); in test_toFloat()
465 val= AnyConverter.toFloat(anyFloat); in test_toFloat()
466 assertTrue("", val == ((Float) anyFloat.getObject()).floatValue()); in test_toFloat()
512 double val= AnyConverter.toDouble(aByte); in test_toDouble() local
513 assertTrue("", val == aByte.byteValue()); // 111 = 111.0 in test_toDouble()
514 val= AnyConverter.toDouble(anyByte); in test_toDouble()
515 assertTrue("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toDouble()
516 val= AnyConverter.toDouble(aShort); in test_toDouble()
517 assertTrue("", val == aShort.shortValue()); //11111 = 11111.0 in test_toDouble()
518 val= AnyConverter.toDouble(anyShort); in test_toDouble()
519 assertTrue("", val == ((Short) anyShort.getObject()).shortValue()); in test_toDouble()
520 val= AnyConverter.toDouble(aInt); in test_toDouble()
521 assertTrue("", val == aInt.intValue()); in test_toDouble()
522 val= AnyConverter.toDouble(anyInt); in test_toDouble()
523 assertTrue("", val == ((Integer) anyInt.getObject()).intValue()); in test_toDouble()
524 val= AnyConverter.toDouble(aFloat); in test_toDouble()
525 assertTrue("", val == aFloat.floatValue()); in test_toDouble()
526 val= AnyConverter.toDouble(anyFloat); in test_toDouble()
528 assertTrue("", val <= (float1 + 0.1) || val >= (float1 - 0.1)); in test_toDouble()
529 val= AnyConverter.toDouble(aDouble); in test_toDouble()
530 assertTrue("", val == aDouble.doubleValue()); in test_toDouble()
531 val= AnyConverter.toDouble(anyDouble); in test_toDouble()
532 assertTrue("", val == ((Double) anyDouble.getObject()).doubleValue()); in test_toDouble()
571 Object val= AnyConverter.toObject(_type, aObj); in test_toObject() local
572 assertTrue("", UnoRuntime.areSame(val, aObj)); in test_toObject()
573 val= AnyConverter.toObject( in test_toObject()
575 assertTrue("", val == null); in test_toObject()
627 String val= AnyConverter.toString(aStr); in test_toString() local
628 assertTrue("", aStr.equals(val)); in test_toString()
629 val= AnyConverter.toString(anyStr); in test_toString()
630 assertTrue("", ((String)anyStr.getObject()).equals(val)); in test_toString()
684 Type val= AnyConverter.toType(aType); in test_toType() local
685 assertTrue("", val == aType); in test_toType()
686 val= AnyConverter.toType(anyType); in test_toType()
687 assertTrue("", val == anyType.getObject()); in test_toType()
741 Object val= AnyConverter.toArray(arByte); in test_toArray() local
742 assertTrue("", val == arByte); in test_toArray()
743 val= AnyConverter.toArray(anyArByte); in test_toArray()
744 assertTrue("", val == anyArByte.getObject()); in test_toArray()