interface XBridgeTestBase in module com::sun::star::test::bridge::

(Global Index)

Syntax

interface XBridgeTestBase : 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.

Method 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. *

Method Details



setValues

Syntax

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

Description

* in parameter test, tests by calls reference also (complex types)


setValues2

Syntax

com::sun::star::test::bridge::TestData setValues2 (
boolean bBool,
char cChar,
byte nByte,
short nShort,
unsigned short nUShort,
long nLong,
unsigned long nULong,
hyper nHyper,
unsigned hyper nUHyper,
float fFloat,
double fDouble,
com::sun::star::test::bridge::TestEnum eEnum,
string aString,
com::sun::star::uno::XInterface xInterface,
any aAny,
sequence< com::sun::star::test::bridge::TestElement > aSequence,
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

Syntax

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

Description

* out parameter test


transportAny

Syntax

any transportAny (
any value );

Description

* This method returns the parameter value. * Method to extensivly test anys.


call

Syntax

void call (
long nCallId,
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

Syntax

oneway void callOneway (
long nCallId,
long nWaitMUSEC );

sequenceOfCallTestPassed

Syntax

boolean sequenceOfCallTestPassed ();

startRecursiveCall

Syntax

void startRecursiveCall (
com::sun::star::test::bridge::XRecursiveCall xCall,
long nToCall );

Description

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

Top of Page