diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-02-02 12:55:18 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-02-02 12:55:18 +0000 |
commit | 8f0e6abd15999aebb60aaa1527bbdddc9f78f01a (patch) | |
tree | f891cf25998ffc4ed8fd1b015643e86671b4887c /qadevOOo/runner/base | |
parent | 9523e0ec8363e3ba7f6ba11755e8c7b897255d5c (diff) |
INTEGRATION: CWS imprec01 (1.8.2); FILE MERGED
2005/01/10 15:29:32 cn 1.8.2.2: log.initialize with loggingIsActive parameter
2004/12/20 10:48:01 cn 1.8.2.1: #i39323# the timeOut must be zero
Diffstat (limited to 'qadevOOo/runner/base')
-rw-r--r-- | qadevOOo/runner/base/java_complex.java | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/qadevOOo/runner/base/java_complex.java b/qadevOOo/runner/base/java_complex.java index ee88866c8181..1941d1d9d803 100644 --- a/qadevOOo/runner/base/java_complex.java +++ b/qadevOOo/runner/base/java_complex.java @@ -2,9 +2,9 @@ * * $RCSfile: java_complex.java,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change:$Date: 2004-12-10 16:54:46 $ + * last change:$Date: 2005-02-02 13:55:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -81,6 +81,7 @@ import stats.Summarizer; import base.TestBase; import lib.Status; import lib.TestParameters; +import util.PropertyName; /** * Test base for executing a java complex test. @@ -113,6 +114,16 @@ public class java_complex implements TestBase{ ComplexTestCase testClass = null; boolean returnVal = true; +// the concept of the TimeOut depends on runner logs. If the runner log, +// for exmaple to start a test method, the timeout was restet. This is not +// while the test itself log something like "open docuent...". +// An property of complex test could be that it have only one test method +// which works for serveral minutes. Ih this case the TimeOut get not trigger +// and the office was killed. +// In complex tests just use "ThreadTimeOut" as timout. + + param.put("TimeOut", new Integer(0)); + for (int i=0; i<entries.length; i++) { if (entries[i] == null) continue; @@ -139,7 +150,7 @@ public class java_complex implements TestBase{ office = null; } } - log.initialize(entries[i],true); + log.initialize(entries[i],param.getBool(PropertyName.LOGGING_IS_ACTIVE)); entries[i].Logger = log; // create an instance |