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

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

interface XTestListener

Base Interface
com::sun::star::lang::XEventListener

Description
is used to handle errors/exceptions and warnings during tests.


Methods' Summary

notifyError gets called when an error occurs while performing an test. If the error results from an exception, the exception can be found in the Exception member of the TestEvent
notifyWarning gets called when an warning occurs while performing an test.
protocol can be called by the broadcaster to inform the listener about the progress of the test. The listener can use this information for example to write it into a test protocol file.

Methods' Details

notifyError
 
void
notifyError(
[ in ] com::sun::star::test::TestEvent evt );

Description
gets called when an error occurs while performing an test. If the error results from an exception, the exception can be found in the Exception member of the TestEvent
Parameter evt
This property contains the TestEvent object that describes the event source and error description.
notifyWarning
 
void
notifyWarning(
[ in ] com::sun::star::test::TestEvent evt );

Description
gets called when an warning occurs while performing an test.
Parameter evt
This property contains the TestEvent object that describes the event source and warning description.
protocol
 
void
protocol(
[ in ] com::sun::star::test::TestEvent evt );

Description
can be called by the broadcaster to inform the listener about the progress of the test. The listener can use this information for example to write it into a test protocol file.
Parameter evt
This property contains the TestEvent object that describes the protocol message.

Top of Page