CWS-TOOLING: integrate CWS rpttestcleanup01

This commit is contained in:
Hans-Joachim Lankenau 2010-12-17 16:34:46 +01:00
commit be93b507c0
2 changed files with 15 additions and 8 deletions

View file

@ -373,13 +373,20 @@ public class OpenOfficeDatabaseReportExtractor extends Assurance
{
String sReportName = sElementNames[i];
XComponent xDoc = loadComponent(sReportName, _xNameAccess, _aPropertyList);
// util.utils.shortWait(1000);
// print? or store?
String sDocumentPathName = storeComponent(sReportName, xDoc /*, _nType*/);
aList.add(sDocumentPathName);
// util.utils.shortWait(1000);
closeComponent(xDoc);
// util.utils.shortWait(1000);
if (xDoc != null)
{
// util.utils.shortWait(1000);
// print? or store?
String sDocumentPathName = storeComponent(sReportName, xDoc /*, _nType*/);
aList.add(sDocumentPathName);
// util.utils.shortWait(1000);
closeComponent(xDoc);
// util.utils.shortWait(1000);
}
else
{
System.out.println("Leave out maybe due to errors.");
}
// sBackPath contains the path where to find the extracted ODB Document
}
}

View file

@ -184,7 +184,7 @@ public class Runner
public static boolean run(String... args)
{
System.out.println("OOoRunner Main() version from 20100922 (yyyymmdd)");
System.out.println("OOoRunner Main() version from 20101118 (yyyymmdd)");
setStartTime(getTime());