Lines Matching refs:OSL_ENSURE
173 OSL_ENSURE( 6 == a1.getCount(), "not all properties inserted" ); in test_PropertyArrayHelper()
176 OSL_ENSURE( 6 == aProps.getLength(), "getProperties() gives not all properties" ); in test_PropertyArrayHelper()
179 OSL_ENSURE( pP[i].Name == getPropertyTable1()[i].Name , "Name not correct" ); in test_PropertyArrayHelper()
180 OSL_ENSURE( pP[i].Handle == getPropertyTable1()[i].Handle, "Handle not correct" ); in test_PropertyArrayHelper()
181 OSL_ENSURE( pP[i].Attributes == getPropertyTable1()[i].Attributes, "Attributes not correct" ); in test_PropertyArrayHelper()
182 OSL_ENSURE( pP[i].Type == getPropertyTable1()[i].Type, "Type not correct" ); in test_PropertyArrayHelper()
191 OSL_ENSURE( 6 == aProps.getLength(), "getProperties() gives not all properties" ); in test_PropertyArrayHelper()
197 OSL_ENSURE( pP[i].Name == getPropertyTable2()[a[i]].Name , "Name not correct" ); in test_PropertyArrayHelper()
198 OSL_ENSURE( pP[i].Handle == getPropertyTable2()[a[i]].Handle, "Handle not correct" ); in test_PropertyArrayHelper()
199 … OSL_ENSURE( pP[i].Attributes == getPropertyTable2()[a[i]].Attributes, "Attributes not correct" ); in test_PropertyArrayHelper()
200 OSL_ENSURE( pP[i].Type == getPropertyTable2()[a[i]].Type, "Type not correct" ); in test_PropertyArrayHelper()
209 OSL_ENSURE( 3 == aProps.getLength(), "getProperties() gives not all properties" ); in test_PropertyArrayHelper()
214 OSL_ENSURE( pP[i].Name == getPropertyTable3()[a[i]].Name , "Name not correct" ); in test_PropertyArrayHelper()
215 OSL_ENSURE( pP[i].Handle == getPropertyTable3()[a[i]].Handle, "Handle not correct" ); in test_PropertyArrayHelper()
216 … OSL_ENSURE( pP[i].Attributes == getPropertyTable3()[a[i]].Attributes, "Attributes not correct" ); in test_PropertyArrayHelper()
217 OSL_ENSURE( pP[i].Type == getPropertyTable3()[a[i]].Type, "Type not correct" ); in test_PropertyArrayHelper()
226 …OSL_ENSURE( a1.hasPropertyByName( getPropertyTable1()[i].Name ), "hasPropertyByName not correct" ); in test_PropertyArrayHelper()
228 OSL_ENSURE( aP.Name == getPropertyTable1()[i].Name , "Name not correct" ); in test_PropertyArrayHelper()
229 OSL_ENSURE( aP.Handle == getPropertyTable1()[i].Handle, "Handle not correct" ); in test_PropertyArrayHelper()
230 OSL_ENSURE( aP.Attributes == getPropertyTable1()[i].Attributes, "Attributes not correct" ); in test_PropertyArrayHelper()
231 OSL_ENSURE( aP.Type == getPropertyTable1()[i].Type, "Type not correct" ); in test_PropertyArrayHelper()
234 …OSL_ENSURE( !a1.hasPropertyByName( OUString( RTL_CONSTASCII_USTRINGPARAM("never exist") ) ), "hasP… in test_PropertyArrayHelper()
238 OSL_ENSURE( sal_False, "exeption not thrown" ); in test_PropertyArrayHelper()
251 OSL_ENSURE( Handle == getPropertyTable1()[i].Handle, "Handle not correct" ); in test_PropertyArrayHelper()
254 OSL_ENSURE( Handle == -1, "Handle not correct" ); in test_PropertyArrayHelper()
266 OSL_ENSURE( b, "fillPropertyMembersByHandle: handle not found" ); in test_PropertyArrayHelper()
267 …OSL_ENSURE( nAttributes == getPropertyTable1()[i].Attributes, "fillPropertyMembersByHandle: Attrib… in test_PropertyArrayHelper()
268 …OSL_ENSURE( aPropName == getPropertyTable1()[i].Name , "fillPropertyMembersByHandle: Name not corr… in test_PropertyArrayHelper()
270 …OSL_ENSURE( !a1.fillPropertyMembersByHandle( NULL, NULL, 66666 ), "fillPropertyMembersByHandle: ha… in test_PropertyArrayHelper()
278 OSL_ENSURE( b, "fillPropertyMembersByHandle: handle not found" ); in test_PropertyArrayHelper()
279 …OSL_ENSURE( nAttributes == getPropertyTable1()[i].Attributes, "fillPropertyMembersByHandle: Attrib… in test_PropertyArrayHelper()
280 …OSL_ENSURE( aPropName == getPropertyTable1()[i].Name , "fillPropertyMembersByHandle: Name not corr… in test_PropertyArrayHelper()
282 …OSL_ENSURE( !a4.fillPropertyMembersByHandle( NULL, NULL, 66666 ), "fillPropertyMembersByHandle: ha… in test_PropertyArrayHelper()
296 OSL_ENSURE( nHitCount == 3, "wrong number of hits " ); in test_PropertyArrayHelper()
297 OSL_ENSURE( Handles[0] == getPropertyTable1()[0].Handle, "Handle not correct" ); in test_PropertyArrayHelper()
298 OSL_ENSURE( Handles[1] == getPropertyTable1()[3].Handle, "Handle not correct" ); in test_PropertyArrayHelper()
299 OSL_ENSURE( Handles[2] == getPropertyTable1()[5].Handle, "Handle not correct" ); in test_PropertyArrayHelper()
300 OSL_ENSURE( Handles[3] == -1, "Handle not correct" ); in test_PropertyArrayHelper()
475 OSL_ENSURE( nCurrent +1 < nCount, "PropertySetHelper: too many listener calls" ); in propertyChange()
481 OSL_ENSURE( sal_False , "PropertySetHelper: BOOL cannot change" ); in propertyChange()
482 …OSL_ENSURE( evt.PropertyName == OUString( RTL_CONSTASCII_USTRINGPARAM("BOOL") ), "PropertySetHelpe… in propertyChange()
488 …OSL_ENSURE( evt.PropertyName == OUString( RTL_CONSTASCII_USTRINGPARAM("INT16") ), "PropertySetHelp… in propertyChange()
490 OSL_ENSURE( pExceptedListenerValues[nCurrent].getValueType().getTypeClass() == TypeClass_SHORT , in propertyChange()
496 OSL_ENSURE( nInt16 == nOldInt16, "PropertySetHelper: wrong old value" ); in propertyChange()
501 OSL_ENSURE( nInt16 == nOldInt16 , "PropertySetHelper: wrong new value" ); in propertyChange()
507 …OSL_ENSURE( evt.PropertyName == OUString( RTL_CONSTASCII_USTRINGPARAM("INT32") ), "PropertySetHelp… in propertyChange()
513 OSL_ENSURE( nInt32 == nOldInt32 , "PropertySetHelper: wrong old value" ); in propertyChange()
517 OSL_ENSURE( nInt32 == nOldInt32 , "PropertySetHelper: wrong new value" ); in propertyChange()
522 OSL_ENSURE( sal_False, "XPropeSetHelper: invalid property handle" ); in propertyChange()
533 OSL_ENSURE( nCurrent +1 < nCount, "PropertySetHelper: too many listener calls" ); in vetoableChange()
539 OSL_ENSURE( sal_False , "PropertySetHelper: BOOL cannot change" ); in vetoableChange()
540 …OSL_ENSURE( evt.PropertyName == OUString( RTL_CONSTASCII_USTRINGPARAM("BOOL") ), "PropertySetHelpe… in vetoableChange()
546 …OSL_ENSURE( evt.PropertyName == OUString( RTL_CONSTASCII_USTRINGPARAM("INT16") ), "PropertySetHelp… in vetoableChange()
552 OSL_ENSURE( nInt16 == nOldInt16,"PropertySetHelper: wrong old value" ); in vetoableChange()
556 OSL_ENSURE( nInt16 == nOldInt16 , "PropertySetHelper: wrong new value" ); in vetoableChange()
568 …OSL_ENSURE( evt.PropertyName == OUString( RTL_CONSTASCII_USTRINGPARAM("INT32") ), "PropertySetHelp… in vetoableChange()
573 OSL_ENSURE( nInt32 == nOldInt32 , "PropertySetHelper: wrong old value" ); in vetoableChange()
577 OSL_ENSURE( nInt32 == nOldInt32 , "PropertySetHelper: wrong new value" ); in vetoableChange()
582 OSL_ENSURE( sal_False, "XPropeSetHelper: invalid property handle" ); in vetoableChange()
596 OSL_ENSURE( nCurrent +1 < nCount, "PropertySetHelper: too many listener calls" ); in propertiesChange()
602 OSL_ENSURE( sal_False, "PropertySetHelper: BOOL cannot change" ); in propertiesChange()
603 …OSL_ENSURE( evt.PropertyName == OUString( RTL_CONSTASCII_USTRINGPARAM("BOOL") ), "PropertySetHelpe… in propertiesChange()
609 …OSL_ENSURE( evt.PropertyName == OUString( RTL_CONSTASCII_USTRINGPARAM("INT16") ), "PropertySetHelp… in propertiesChange()
614 OSL_ENSURE( nInt16 == nOldInt16 , "PropertySetHelper: wrong old value" ); in propertiesChange()
619 OSL_ENSURE( nInt16 == nOldInt16 , "PropertySetHelper: wrong new value" ); in propertiesChange()
625 …OSL_ENSURE( evt.PropertyName == OUString( RTL_CONSTASCII_USTRINGPARAM("INT32") ), "PropertySetHelp… in propertiesChange()
631 OSL_ENSURE( nInt32 == nOldInt32 , "PropertySetHelper: wrong old value" ); in propertiesChange()
635 OSL_ENSURE( nInt32 == nOldInt32 , "PropertySetHelper: wrong new value" ); in propertiesChange()
640 OSL_ENSURE( sal_False, "XPropeSetHelper: invalid property handle" ); in propertiesChange()
722 OSL_ENSURE( nHandle == -1, "invalid property handle" ); in convertFastPropertyValue()
739 OSL_ENSURE( rValue.getValueType().getTypeClass() == TypeClass_BOOLEAN, "invalid type" ); in setFastPropertyValue_NoBroadcast()
744 OSL_ENSURE( rValue.getValueType().getTypeClass() == TypeClass_SHORT, "invalid type" ); in setFastPropertyValue_NoBroadcast()
749 OSL_ENSURE( rValue.getValueType().getTypeClass() == TypeClass_LONG, "invalid type" ); in setFastPropertyValue_NoBroadcast()
754 OSL_ENSURE( nHandle == -1, "invalid property handle" ); in setFastPropertyValue_NoBroadcast()
777 OSL_ENSURE( nHandle == -1, "invalid property handle" ); in getFastPropertyValue()
803 OSL_ENSURE( rProp.is() , "PropertySetHelper: XPropertySet nor supported" ); in test_PropertySetHelper()
806 OSL_ENSURE( rMulti.is() , "PropertySetHelper: XMultiPropertySet nor supported" ); in test_PropertySetHelper()
809 OSL_ENSURE( rFast.is() , "PropertySetHelper: XFastPropertySet nor supported" ); in test_PropertySetHelper()
838 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
848 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
856 OSL_ENSURE( pPS_L->getRefCount() == 1, "PropertySetHelper: wrong reference count" ); in test_PropertySetHelper()
873 OSL_ENSURE( pPS_L->nDisposing == 4 , "PropertySetHelper: wrong disposing count" ); in test_PropertySetHelper()
874 OSL_ENSURE( pPS_L->getRefCount() == 1 , "PropertySetHelper: wrong reference count" ); in test_PropertySetHelper()
888 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
902 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
915 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
927 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
938 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
948 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
959 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
969 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
981 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
993 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
1003 OSL_ENSURE( ! b, "PropertySetHelper: wrong BOOL value" ); in test_PropertySetHelper()
1007 OSL_ENSURE( !b, "PropertySetHelper: wrong BOOL value" ); in test_PropertySetHelper()
1014 OSL_ENSURE( 22 == n16 , "PropertySetHelper: wrong INT16 value" ); in test_PropertySetHelper()
1020 OSL_ENSURE( 44 == n16, "PropertySetHelper: wrong INT16 value" ); in test_PropertySetHelper()
1028 OSL_ENSURE( 55 == n32 , "PropertySetHelper: wrong INT32 value" ); in test_PropertySetHelper()
1033 OSL_ENSURE( 66 == n32, "PropertySetHelper: wrong INT32 value" ); in test_PropertySetHelper()
1045 OSL_ENSURE( !b, "PropertySetHelper: wrong BOOL value" ); in test_PropertySetHelper()
1046 OSL_ENSURE( 44 == n16, "PropertySetHelper: wrong INT16 value" ); in test_PropertySetHelper()
1047 OSL_ENSURE( 66 == n32, "PropertySetHelper: wrong INT32 value" ); in test_PropertySetHelper()
1086 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
1092 OSL_ENSURE( pPS_L->nCount == pPS_L->nCurrent, "not all listeners called" ); in test_PropertySetHelper()
1134 OSL_ENSURE( pPS_L->nCount == pPS_L->nCurrent, "not all listeners called" ); in test_PropertySetHelper()
1146 OSL_ENSURE( pPS_L->nCount == pPS_L->nCurrent, "not all listeners called" ); in test_PropertySetHelper()
1166 OSL_ENSURE( sal_False, "PropertySetHelper: exeption not thrown" ); in test_PropertySetHelper()
1172 OSL_ENSURE( pPS_L->nCount == pPS_L->nCurrent, "not all listeners called" ); in test_PropertySetHelper()