service TestFactory in module com::sun::star::test::

(Global Index)

Syntax

service TestFactory;

Description

describes a factory of services with interfaces for testing purposes.

It create instances that support the interface com::sun::star::test::XSimpleTest .

The services are accessed through interface, service or object names. The name test service must begin with "test." followed by the interface, service or object name ("test.com.sun.star.beans.XPropertySet").

Example

:Java
 xTestService = TestFactory.createInstance( "com.sun.star.beans.XPropertySet" );
 xTestService.test( "com.sun.star.beans.XPropertySet", myTestObject );

Included Services


com::sun::star::lang::MultiServiceFactory
Top of Page