Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XTestListener
Base Interfaces
XTestListener
┗ ::com::sun::star::lang::XEventListener

::com::sun::star::lang::XEventListener
(referenced interface's summary:)
base interface for all event listeners interfaces.
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

Apache Software Foundation

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

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