Lines Matching refs:assure

93         assure("", b == aBool.booleanValue());  in test_toBoolean()
95 assure("", b == ((Boolean)anyBool.getObject()).booleanValue()); in test_toBoolean()
149 assure("", b == aChar.charValue()); in test_toChar()
151 assure("", b == ((Character)anyChar.getObject()).charValue()); in test_toChar()
205 assure("", val == aByte.byteValue()); in test_toByte()
207 assure("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toByte()
257 assure("", sh == aByte.byteValue()); in test_toShort()
259 assure("", sh == aShort.shortValue()); in test_toShort()
261 assure("", sh == ((Byte)anyByte.getObject()).byteValue()); in test_toShort()
263 assure("", sh == ((Short) anyShort.getObject()).shortValue()); in test_toShort()
265 assure("", 5 == AnyConverter.toUnsignedShort( a )); in test_toShort()
323 assure("", val == aByte.byteValue()); in test_toInt()
325 assure("", val == aShort.shortValue()); in test_toInt()
327 assure("", val == aInt.intValue()); in test_toInt()
329 assure("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toInt()
331 assure("", val == ((Short) anyShort.getObject()).shortValue()); in test_toInt()
333 assure("", val == ((Integer) anyInt.getObject()).intValue()); in test_toInt()
335 assure("", 5 == AnyConverter.toInt(a)); in test_toInt()
336 assure("", 5 == AnyConverter.toUnsignedInt(a)); in test_toInt()
338 assure("", 5 == AnyConverter.toUnsignedInt(a)); in test_toInt()
390 assure("", val == aByte.byteValue()); in test_toLong()
392 assure("", val == aShort.shortValue()); in test_toLong()
394 assure("", val == aInt.intValue()); in test_toLong()
396 assure("", val == aLong.longValue()); in test_toLong()
398 assure("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toLong()
400 assure("", val == ((Short) anyShort.getObject()).shortValue()); in test_toLong()
402 assure("", val == ((Integer) anyInt.getObject()).intValue()); in test_toLong()
404 assure("", val == ((Long) anyLong.getObject()).longValue()); in test_toLong()
406 assure("", 5 == AnyConverter.toLong(a)); in test_toLong()
407 assure("", 5 == AnyConverter.toUnsignedLong(a)); in test_toLong()
409 assure("", 5 == AnyConverter.toUnsignedLong(a)); in test_toLong()
410 assure("", 5 == AnyConverter.toLong(a)); in test_toLong()
412 assure("", 5 == AnyConverter.toUnsignedLong(a)); in test_toLong()
462 assure("", val == aByte.byteValue()); // 111 = 111.0 in test_toFloat()
464 assure("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toFloat()
466 assure("", val == aShort.shortValue()); //11111 = 11111.0 in test_toFloat()
468 assure("", val == ((Short) anyShort.getObject()).shortValue()); in test_toFloat()
470 assure("", val == aFloat.floatValue()); in test_toFloat()
472 assure("", val == ((Float) anyFloat.getObject()).floatValue()); in test_toFloat()
518 assure("", val == aByte.byteValue()); // 111 = 111.0 in test_toDouble()
520 assure("", val == ((Byte)anyByte.getObject()).byteValue()); in test_toDouble()
522 assure("", val == aShort.shortValue()); //11111 = 11111.0 in test_toDouble()
524 assure("", val == ((Short) anyShort.getObject()).shortValue()); in test_toDouble()
526 assure("", val == aInt.intValue()); in test_toDouble()
528 assure("", val == ((Integer) anyInt.getObject()).intValue()); in test_toDouble()
530 assure("", val == aFloat.floatValue()); in test_toDouble()
533 assure("", val <= (float1 + 0.1) || val >= (float1 - 0.1)); in test_toDouble()
535 assure("", val == aDouble.doubleValue()); in test_toDouble()
537 assure("", val == ((Double) anyDouble.getObject()).doubleValue()); in test_toDouble()
576 assure("", UnoRuntime.areSame(val, aObj)); in test_toObject()
579 assure("", val == null); in test_toObject()
587 assure("", in test_toObject()
591 assure("", in test_toObject()
602 assure("", in test_toObject()
606 assure("", in test_toObject()
631 assure("", aStr.equals(val)); in test_toString()
633 assure("", ((String)anyStr.getObject()).equals(val)); in test_toString()
687 assure("", val == aType); in test_toType()
689 assure("", val == anyType.getObject()); in test_toType()
743 assure("", val == arByte); in test_toArray()
745 assure("", val == anyArByte.getObject()); in test_toArray()
795 assure("", AnyConverter.isBoolean(aBool)); in test_isBoolean()
796 assure("", AnyConverter.isBoolean(anyBool)); in test_isBoolean()
797 assure("", !AnyConverter.isBoolean(aChar)); in test_isBoolean()
801 assure("", AnyConverter.isChar(aChar)); in test_isChar()
802 assure("", AnyConverter.isChar(anyChar)); in test_isChar()
803 assure("", !AnyConverter.isChar(aBool)); in test_isChar()
807 assure("", AnyConverter.isByte(aByte)); in test_isByte()
808 assure("", AnyConverter.isByte(anyByte)); in test_isByte()
809 assure("", !AnyConverter.isByte(aBool)); in test_isByte()
813 assure("", AnyConverter.isShort(aShort)); in test_isShort()
814 assure("", AnyConverter.isShort(anyShort)); in test_isShort()
815 assure("", Type.SHORT.equals(AnyConverter.getType(anyShort))); in test_isShort()
817 assure("", Type.UNSIGNED_SHORT.equals(AnyConverter.getType(a))); in test_isShort()
818 assure("", !AnyConverter.isShort(a)); in test_isShort()
819 assure("", !Type.SHORT.equals(AnyConverter.getType(a))); in test_isShort()
820 assure("", !AnyConverter.isShort(aBool)); in test_isShort()
824 assure("", AnyConverter.isInt(aInt)); in test_isInt()
825 assure("", AnyConverter.isInt(anyInt)); in test_isInt()
826 assure("", Type.LONG.equals(AnyConverter.getType(anyInt))); in test_isInt()
828 assure("", Type.UNSIGNED_LONG.equals(AnyConverter.getType(a))); in test_isInt()
829 assure("", !AnyConverter.isInt(a)); in test_isInt()
830 assure("", !Type.LONG.equals(AnyConverter.getType(a))); in test_isInt()
831 assure("", !AnyConverter.isInt(aBool)); in test_isInt()
835 assure("", AnyConverter.isLong(aLong)); in test_isLong()
836 assure("", AnyConverter.isLong(anyLong)); in test_isLong()
837 assure("", Type.HYPER.equals(AnyConverter.getType(anyLong))); in test_isLong()
839 assure("", Type.UNSIGNED_HYPER.equals( AnyConverter.getType(a) )); in test_isLong()
840 assure("", !AnyConverter.isLong(a)); in test_isLong()
841 assure("", !Type.HYPER.equals( AnyConverter.getType(a) )); in test_isLong()
842 assure("", !AnyConverter.isLong(aBool)); in test_isLong()
846 assure("", AnyConverter.isFloat(aFloat)); in test_isFloat()
847 assure("", AnyConverter.isFloat(anyFloat)); in test_isFloat()
848 assure("", !AnyConverter.isFloat(aDouble)); in test_isFloat()
852 assure("", AnyConverter.isDouble(aDouble)); in test_isDouble()
853 assure("", AnyConverter.isDouble(anyDouble)); in test_isDouble()
854 assure("", !AnyConverter.isDouble(aFloat)); in test_isDouble()
858 assure("", AnyConverter.isObject(aObj)); in test_isObject()
859 assure("", AnyConverter.isObject( new Any( XInterface.class, null))); in test_isObject()
860 assure("", !AnyConverter.isObject(new Object())); in test_isObject()
864 assure("", AnyConverter.isString(aStr)); in test_isString()
865 assure("", AnyConverter.isString(anyStr)); in test_isString()
866 assure("", !AnyConverter.isString(new Object())); in test_isString()
870 assure("", AnyConverter.isType(aType)); in test_isType()
871 assure("", AnyConverter.isType(anyType)); in test_isType()
872 assure("", !AnyConverter.isType(new Object())); in test_isType()
876 assure("", AnyConverter.isArray(arByte)); in test_isArray()
877 assure("", AnyConverter.isArray(anyArByte)); in test_isArray()
878 assure("", !AnyConverter.isArray(new Object())); in test_isArray()
882 assure("", AnyConverter.isVoid(anyVoid)); in test_isVoid()
883 assure("", !AnyConverter.isVoid(new Object())); in test_isVoid()