summaryrefslogtreecommitdiff
path: root/dbaccess/qa
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-10 12:33:07 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-10 12:33:07 +0100
commit40a6cf973726495772b11df46278ed50a8ac0b9f (patch)
treec3ff7dd2e478d5e7e002d082b37a5f120b65acba /dbaccess/qa
parent7336d88dc46c6aa9c845c6173d37b2a905b16b4c (diff)
undoapi: don't use deprecated JUnit API, this seems to fail now (but didn't before the rebase)
Diffstat (limited to 'dbaccess/qa')
-rw-r--r--dbaccess/qa/complex/dbaccess/UISettings.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/dbaccess/qa/complex/dbaccess/UISettings.java b/dbaccess/qa/complex/dbaccess/UISettings.java
index 8733f000f644..cf8d56e9c082 100644
--- a/dbaccess/qa/complex/dbaccess/UISettings.java
+++ b/dbaccess/qa/complex/dbaccess/UISettings.java
@@ -38,12 +38,7 @@ import com.sun.star.util.XCloseable;
import connectivity.tools.CRMDatabase;
// ---------- junit imports -----------------
-import org.junit.After;
-import org.junit.AfterClass;
-import org.junit.Before;
-import org.junit.BeforeClass;
import org.junit.Test;
-import org.openoffice.test.OfficeConnection;
import static org.junit.Assert.*;
// ------------------------------------------
@@ -107,7 +102,7 @@ public class UISettings extends TestCase
// verify the properties
assertEquals( "wrong font name", "Andale Sans UI", (String)tableControlModel.getPropertyValue( "FontName" ) );
- assertEquals( "wrong font height", (float)20, ((Float)tableControlModel.getPropertyValue( "FontHeight" )).floatValue() );
+ assertEquals( "wrong font height", (float)20, ((Float)tableControlModel.getPropertyValue( "FontHeight" )).floatValue(), 0 );
assertEquals( "wrong font slant", FontSlant.ITALIC, (FontSlant)tableControlModel.getPropertyValue( "FontSlant" ) );
// close the doc