|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--util.utils
Constructor Summary | |
utils()
|
Method Summary | |
static boolean |
copyFile(XMultiServiceFactory msf,
String oldF,
String newF)
This method copies a given file to a new one |
static String |
getFullTestDocName(String sDocName)
This method adds the DOCPTH to a given file |
static String |
getFullTestURL(String sDocName)
This method adds the DOCPTH to a given file and changes the format to an file URL |
static String |
getFullURL(String sDocName)
This method changes a given URL to a valid file URL |
static String |
getImplName(Object aObject)
This method returns the implementation name of a given object |
static int |
getNextFreePort(int startPort)
Scan localhost for the next free port-number from a starting port on. |
static String |
getOfficeTemp(XMultiServiceFactory msf)
This method get's the temp dir of the connected office |
static String |
getOfficeTempDir(XMultiServiceFactory msf)
Gets StarOffice temp directory without 'file:///' prefix. |
static String |
getOfficeTempDirSys(XMultiServiceFactory msf)
Gets StarOffice temp directory without 'file:///' prefix. |
static String |
getOfficeURL(XMultiServiceFactory msf)
|
static String |
getVersion(String aFile,
String aPlatform,
String aTestbase)
This method get the version for a given TestBase/platform combination |
static boolean |
hasPropertyByName(XPropertySet props,
String aName)
|
static boolean |
isVoid(Object aObject)
This method checks if an Object is void |
static void |
make_Directories(String first,
String path)
This method creates folders needed |
static boolean |
overwriteFile(XMultiServiceFactory msf,
String oldF,
String newF)
Copies file to a new location using SOffice features. |
static URL |
parseURL(XMultiServiceFactory xMSF,
String url)
|
static String |
replacePart(String all,
String toReplace,
String replacement)
This method replaces a substring with another |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public utils()
Method Detail |
public static String getFullTestDocName(String sDocName)
public static String getFullTestURL(String sDocName)
public static String getFullURL(String sDocName)
public static void make_Directories(String first, String path)
public static String getVersion(String aFile, String aPlatform, String aTestbase)
public static String getOfficeTemp(XMultiServiceFactory msf)
public static String getOfficeTempDir(XMultiServiceFactory msf)
public static String getOfficeTempDirSys(XMultiServiceFactory msf)
public static boolean copyFile(XMultiServiceFactory msf, String oldF, String newF)
public static boolean overwriteFile(XMultiServiceFactory msf, String oldF, String newF)
public static boolean hasPropertyByName(XPropertySet props, String aName)
public static String getImplName(Object aObject)
public static boolean isVoid(Object aObject)
public static String replacePart(String all, String toReplace, String replacement)
public static int getNextFreePort(int startPort)
startPort
- The port where scanning starts.public static URL parseURL(XMultiServiceFactory xMSF, String url)
public static String getOfficeURL(XMultiServiceFactory msf)
|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |