|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.openoffice.RunnerService
The main class, will call ClParser and CfgParser to
fill the TestParameters.
Will then call the appropriate Testbase to run the tests.
Field Summary | |
static String |
__implName
|
static String |
__serviceName
|
Constructor Summary | |
RunnerService(XMultiServiceFactory xMSF)
ct'tor Construct an own office provider for tests |
Method Summary | |
static XSingleServiceFactory |
__getServiceFactory(String implName,
XMultiServiceFactory multiFactory,
XRegistryKey regKey)
Gives a factory for creating the service. |
static boolean |
__writeRegistryServiceInfo(XRegistryKey regKey)
Writes the service information into the given registry key. |
Object |
execute(NamedValue[] args)
|
byte[] |
getImplementationId()
Get the implementation id. |
String |
getImplementationName()
Function for reading the implementation name. |
PropertyValue[] |
getPropertyValues()
Return all valid testcases from the object descriptions |
String |
getServiceName()
This function provides the service name |
String[] |
getSupportedServiceNames()
Function for reading all supported services |
Type[] |
getTypes()
Get all implemented types of this class. |
void |
setPropertyValues(PropertyValue[] propertyValue)
empty: not needed here. |
boolean |
supportsService(String serviceName)
Does the implementation support this service? |
Field Detail |
public static final String __serviceName
public static final String __implName
Constructor Detail |
public RunnerService(XMultiServiceFactory xMSF)
Method Detail |
public Object execute(NamedValue[] args)
public String getServiceName()
public Type[] getTypes()
com.sun.star.lang.XTypeProvider
public byte[] getImplementationId()
com.sun.star.lang.XTypeProvider
public String getImplementationName()
com.sun.star.lang.XServiceInfo
public boolean supportsService(String serviceName)
serviceName
- The name of the service in questioncom.sun.star.lang.XServiceInfo
public String[] getSupportedServiceNames()
com.sun.star.lang.XServiceInfo
public PropertyValue[] getPropertyValues()
public static XSingleServiceFactory __getServiceFactory(String implName, XMultiServiceFactory multiFactory, XRegistryKey regKey)
JavaLoader
implName
- the name of the implementation for which a service is desiredmultiFactory
- the service manager to be used if neededregKey
- the registryKeyXSingleServiceFactory
for creating the componentcom.sun.star.comp.loader.JavaLoader
public static boolean __writeRegistryServiceInfo(XRegistryKey regKey)
JavaLoader
regKey
- the registryKeycom.sun.star.comp.loader.JavaLoader
public void setPropertyValues(PropertyValue[] propertyValue) throws UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException
|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |