summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/drawing/_XShape.java
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:21:41 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:21:41 +0200
commit1b12b332a9ff0c44b19f7f4f0c76b3f8ee534fc7 (patch)
treef951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/ifc/drawing/_XShape.java
parent42e0579442c805df41454461d17cdede43c47b6a (diff)
recreated tag libreoffice-3.3.3.1 which had these commits:
commit aec86c5680a68c65de8537b8a83a16e8d90cfdd9 (tag: refs/tags/libreoffice-3.3.3.1) Author: Petr Mladek <pmladek@suse.cz> Date: Tue May 31 17:39:08 2011 +0200 Version 3.3.3.1, tag libreoffice-3.3.3.1 (3.3.3-rc1)
Notes
Notes: split repo tag: testing_libreoffice-3.3.3.1 split repo tag: testing_libreoffice-3.3.4.1
Diffstat (limited to 'qadevOOo/tests/java/ifc/drawing/_XShape.java')
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XShape.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/ifc/drawing/_XShape.java b/qadevOOo/tests/java/ifc/drawing/_XShape.java
index e774721c9fdc..c1a6378bfc46 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -136,7 +136,7 @@ public class _XShape extends MultiMethodTest {
}
Size gSize = oObj.getSize() ;
-
+
log.println("Previously: "+sOld.Height+";"+sOld.Width);
log.println("Expected: "+sNew.Height+";"+sNew.Width);
log.println("Getting: "+gSize.Height+";"+gSize.Width);
@@ -144,7 +144,7 @@ public class _XShape extends MultiMethodTest {
//result &= util.ValueComparer.equalValue(sNew, gSize) ;
//errors in calculation from points/twips less then 1 are acceptable
result &= (sNew.Height-gSize.Height <= 2) && (sNew.Width-gSize.Width <= 2);
-
+
if (result && ((sNew.Height-gSize.Height != 0) || (sNew.Width-gSize.Width != 0))){
log.println("NOTE: there is a difference between the expected and the getted value. " +
"This might be ok because of problems in calculation from points <-> twips");
@@ -179,11 +179,11 @@ public class _XShape extends MultiMethodTest {
oObj.setPosition(pNew);
Point gPos = oObj.getPosition() ;
-
+
log.println("Previously: "+pOld.X+";"+pOld.Y);
log.println("Expected: "+pNew.X+";"+pNew.Y);
log.println("Getting: "+gPos.X+";"+gPos.Y);
-
+
result = !util.ValueComparer.equalValue(pOld, gPos) ;
tRes.tested("setPosition()", result);