Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

interface XBridgeTestBase
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. *  
Attributes' Summary
Bool  
Byte  
Char  
Short  
UShort  
Long  
ULong  
Hyper  
UHyper  
Float  
Double  
Enum  
String  
Interface  
Any  
Sequence  
Struct  
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] TestEnum  eEnum,
[in] string  aString,
[in] ::com::sun::star::uno::XInterface  xInterface,
[in] any  aAny,
[in] sequence< TestElement >  aSequence,
[in] TestData  aStruct );

Description
* in parameter test, tests by calls reference also (complex types)
setValues2
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] TestEnum  eEnum,
[inout] string  aString,
[inout] ::com::sun::star::uno::XInterface  xInterface,
[inout] any  aAny,
[inout] sequence< TestElement >  aSequence,
[inout] 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
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] TestEnum  eEnum,
[out] string  aString,
[out] ::com::sun::star::uno::XInterface  xInterface,
[out] any  aAny,
[out] sequence< TestElement >  aSequence,
[out] 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] XRecursiveCall  xCall,
[in] long  nToCall );

Description
* methods to check, if threads thread identity is holded. *
Attributes' Details
Bool
boolean Bool;
Byte
byte Byte;
Char
char Char;
Short
short Short;
UShort
unsigned short UShort;
Long
long Long;
ULong
unsigned long ULong;
Hyper
hyper Hyper;
UHyper
unsigned hyper UHyper;
Float
float Float;
Double
double Double;
Enum
TestEnum Enum;
String
string String;
Interface
::com::sun::star::uno::XInterface Interface;
Any
any Any;
Sequence
sequence< TestElement > Sequence;
Struct
TestData Struct;
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.