Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: test :: bridge ::

interface XBridgeTestBase

Base Interface
com::sun::star::uno::XInterface

Description
* Monster test interface to test bridge calls. * An implementation of this object has to store given values and return whenever there * is an out param or return value.


Methods' Summary

setValues * in parameter test, tests by calls reference also (complex types)
setValues2 * inout parameter test * *
getValues * out parameter test
transportAny * This method returns the parameter value. * Method to extensivly test anys.
call * methods to check sequence of calls. Call call() and callOneway * in an arbitrary sequence. Increase the callId for every call. * The testobject sets an error flag.
callOneway
sequenceOfCallTestPassed
startRecursiveCall * methods to check, if threads thread identity is holded. *

Methods' Details

setValues
 
[ oneway ] void
setValues(
[ in ] boolean bBool,
[ in ] char cChar,
[ in ] byte nByte,
[ in ] short nShort,
[ in ] unsigned short nUShort,
[ in ] long nLong,
[ in ] unsigned long nULong,
[ in ] hyper nHyper,
[ in ] unsigned hyper nUHyper,
[ in ] float fFloat,
[ in ] double fDouble,
[ in ] com::sun::star::test::bridge::TestEnum eEnum,
[ in ] string aString,
[ in ] com::sun::star::uno::XInterface xInterface,
[ in ] any aAny,
[ in ] sequence< com::sun::star::test::bridge::TestElement > aSequence,
[ in ] com::sun::star::test::bridge::TestData aStruct );

Description
* in parameter test, tests by calls reference also (complex types)
setValues2
 
com::sun::star::test::bridge::TestData
setValues2(
[ inout ] boolean bBool,
[ inout ] char cChar,
[ inout ] byte nByte,
[ inout ] short nShort,
[ inout ] unsigned short nUShort,
[ inout ] long nLong,
[ inout ] unsigned long nULong,
[ inout ] hyper nHyper,
[ inout ] unsigned hyper nUHyper,
[ inout ] float fFloat,
[ inout ] double fDouble,
[ inout ] com::sun::star::test::bridge::TestEnum eEnum,
[ inout ] string aString,
[ inout ] com::sun::star::uno::XInterface xInterface,
[ inout ] any aAny,
[ inout ] sequence< com::sun::star::test::bridge::TestElement > aSequence,
[ inout ] com::sun::star::test::bridge::TestData aStruct );

Description
* inout parameter test * *
Returns
aStruct. The out parameter contain the values, that were previously set * by setValues or (if not called before) default constructed values. *
getValues
 
com::sun::star::test::bridge::TestData
getValues(
[ out ] boolean bBool,
[ out ] char cChar,
[ out ] byte nByte,
[ out ] short nShort,
[ out ] unsigned short nUShort,
[ out ] long nLong,
[ out ] unsigned long nULong,
[ out ] hyper nHyper,
[ out ] unsigned hyper nUHyper,
[ out ] float fFloat,
[ out ] double fDouble,
[ out ] com::sun::star::test::bridge::TestEnum eEnum,
[ out ] string aString,
[ out ] com::sun::star::uno::XInterface xInterface,
[ out ] any aAny,
[ out ] sequence< com::sun::star::test::bridge::TestElement > aSequence,
[ out ] com::sun::star::test::bridge::TestData aStruct );

Description
* out parameter test
transportAny
 
any
transportAny(
[ in ] any value );

Description
* This method returns the parameter value. * Method to extensivly test anys.
call
 
void
call(
[ in ] long nCallId,
[ in ] long nWaitMUSEC );

Description
* methods to check sequence of calls. Call call() and callOneway * in an arbitrary sequence. Increase the callId for every call. * The testobject sets an error flag.
See also
testSequencePassed
callOneway
 
[ oneway ] void
callOneway(
[ in ] long nCallId,
[ in ] long nWaitMUSEC );

sequenceOfCallTestPassed
 
boolean
sequenceOfCallTestPassed();
startRecursiveCall
 
void
startRecursiveCall(
[ in ] com::sun::star::test::bridge::XRecursiveCall xCall,
[ in ] long nToCall );

Description
* methods to check, if threads thread identity is holded. *

Top of Page