Syntax
interface XTestListener : com::sun::star::lang::XEventListener ;
Description
is used to handle errors/exceptions and warnings during tests.
Method 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.
|
|
Method Details
|
|
Syntax
- void notifyError
(
- 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.
Syntax
- void notifyWarning
(
- 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.
Syntax
- void protocol
(
- 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
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.