summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/lib
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-05-17 12:31:12 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-05-17 12:31:12 +0000
commit9a8ec921c529bef726fa779307d2034fc1341183 (patch)
treec0a3b3f7ed21bd1a1b979821b03748ae2304f6e2 /qadevOOo/runner/lib
parent6d1182c7db592c4e95e975ebb7c5f723ab780dc4 (diff)
INTEGRATION: CWS qadev26 (1.5.12); FILE MERGED
2006/02/09 21:30:42 cn 1.5.12.1: #i61872# replace some logging stuff: from now on the 'old' and 'new' values would be logged before the method setPropertyValue() was called. That has the effect that you can see what values would be set if the office crashes/hangs
Diffstat (limited to 'qadevOOo/runner/lib')
-rw-r--r--qadevOOo/runner/lib/MultiPropertyTest.java19
1 files changed, 11 insertions, 8 deletions
diff --git a/qadevOOo/runner/lib/MultiPropertyTest.java b/qadevOOo/runner/lib/MultiPropertyTest.java
index 600358229157..eea6a9904bc4 100644
--- a/qadevOOo/runner/lib/MultiPropertyTest.java
+++ b/qadevOOo/runner/lib/MultiPropertyTest.java
@@ -4,9 +4,9 @@
*
* $RCSfile: MultiPropertyTest.java,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 17:22:27 $
+ * last change: $Author: vg $ $Date: 2006-05-17 13:31:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -184,6 +184,9 @@ public class MultiPropertyTest extends MultiMethodTest {
Exception exception = null;
try {
+ log.println("try to set:");
+ log.println("old = " + toString(oldValue));
+ log.println("new = " + toString(newValue));
oObj.setPropertyValue(propName, newValue);
} catch(IllegalArgumentException e) {
exception = e;
@@ -294,8 +297,8 @@ public class MultiPropertyTest extends MultiMethodTest {
oldValue = AnyConverter.toObject
(new Type(((Any)oldValue).getClass()),oldValue);
}
- log.println("old = " + toString(oldValue));
- log.println("new = " + toString(newValue));
+// log.println("old = " + toString(oldValue));
+// log.println("new = " + toString(newValue));
log.println("result = " + toString(resValue));
} catch(com.sun.star.lang.IllegalArgumentException iae) {
log.println("NOTIFY: this property needs further investigations.");
@@ -324,8 +327,8 @@ public class MultiPropertyTest extends MultiMethodTest {
oldValue = AnyConverter.toObject
(new Type(((Any)oldValue).getClass()),oldValue);
}
- log.println("old = " + toString(oldValue));
- log.println("new = " + toString(newValue));
+// log.println("old = " + toString(oldValue));
+// log.println("new = " + toString(newValue));
log.println("result = " + toString(resValue));
} catch(com.sun.star.lang.IllegalArgumentException iae) {
log.println("NOTIFY: this property needs further investigations.");
@@ -352,8 +355,8 @@ public class MultiPropertyTest extends MultiMethodTest {
oldValue = AnyConverter.toObject
(new Type(((Any)oldValue).getClass()),oldValue);
}
- log.println("old = " + toString(oldValue));
- log.println("new = " + toString(newValue));
+// log.println("old = " + toString(oldValue));
+// log.println("new = " + toString(newValue));
log.println("result = " + toString(resValue));
} catch(com.sun.star.lang.IllegalArgumentException iae) {
}