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

interface XTestListener
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-::com::sun::star::lang::XEventListener
    |
    +-XTestListener
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] 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] 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] 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