diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-05-03 07:48:18 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-05-03 07:48:18 +0000 |
commit | bdd129c2b159c521b4d7f0ebdf9d49e81ddbeba9 (patch) | |
tree | f050a39ed75af42fc83291b3d4e4dcc3d70d861e /qadevOOo/runner/org/openoffice | |
parent | 1d19140ce223ae54b529c0bdb81bc3a917a1575e (diff) |
INTEGRATION: CWS qadev17 (1.4.96); FILE MERGED
2004/04/28 14:53:07 sw 1.4.96.1: #i26677#
Diffstat (limited to 'qadevOOo/runner/org/openoffice')
-rw-r--r-- | qadevOOo/runner/org/openoffice/RunnerService.java | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/qadevOOo/runner/org/openoffice/RunnerService.java b/qadevOOo/runner/org/openoffice/RunnerService.java index 18eaef958d90..d6644a101049 100644 --- a/qadevOOo/runner/org/openoffice/RunnerService.java +++ b/qadevOOo/runner/org/openoffice/RunnerService.java @@ -2,9 +2,9 @@ * * $RCSfile: RunnerService.java,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change:$Date: 2003-03-31 17:01:51 $ + * last change:$Date: 2004-05-03 08:48:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -64,7 +64,7 @@ package org.openoffice; import share.LogWriter; import stats.InternalLogWriter; import lib.TestParameters; -import lib.DynamicClassLoader; +import util.DynamicClassLoader; import base.TestBase; import helper.AppProvider; import helper.ClParser; @@ -83,6 +83,7 @@ import com.sun.star.registry.XRegistryKey; import com.sun.star.beans.NamedValue; import java.util.Vector; + /** * The main class, will call ClParser and CfgParser to <br> * fill the TestParameters.<br> @@ -257,15 +258,17 @@ public class RunnerService implements XJob, XServiceInfo, while (enum.hasMoreElements()) { String entry = enum.nextElement().toString(); if (entry.endsWith(".csv")) { + String module = null; String object = null; int startIndex = entry.indexOf("objdsc/") + 7; - int endIndex = entry.indexOf('.'); + int endIndex = entry.lastIndexOf('/'); +/* int endIndex = entry.indexOf('.'); module = entry.substring(startIndex, endIndex); startIndex = 0; - endIndex = module.lastIndexOf('/'); - module = module.substring(startIndex, endIndex); + endIndex = module.lastIndexOf('/'); */ + module = entry.substring(startIndex, endIndex); // special cases if (entry.indexOf("/file/") != -1 || entry.indexOf("/xmloff/") != -1) { |