diff options
author | Michael Stahl <mst@openoffice.org> | 2011-04-01 20:47:04 +0000 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-06-17 09:30:37 +0200 |
commit | 1f71e0eb7539ef3819431c0b61c41caadc63a179 (patch) | |
tree | 896e2e6b909b22d50cae1facba6751f29749979b /starmath | |
parent | 8678c85d185b093bc1fbb6cc79efef24db0f2ba1 (diff) |
gnumake4: starmath: fix unoapi test [hg:83ae8c87a0ea]
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/JunitTest_sm_unoapi.mk | 4 | ||||
-rw-r--r-- | starmath/qa/unoapi/Test.java | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/starmath/JunitTest_sm_unoapi.mk b/starmath/JunitTest_sm_unoapi.mk index 6a98bbf680e8..8aa85a0e57fe 100644 --- a/starmath/JunitTest_sm_unoapi.mk +++ b/starmath/JunitTest_sm_unoapi.mk @@ -45,8 +45,8 @@ $(eval $(call gb_JunitTest_add_sourcefiles,sm_unoapi,\ starmath/qa/unoapi/Test \ )) -$(eval $(call gb_JunitTest_add_classes,sw_unoapi,\ - org.openoffice.sw.qa.unoapi.Test \ +$(eval $(call gb_JunitTest_add_classes,sm_unoapi,\ + org.openoffice.starmath.qa.unoapi.Test \ )) # vim: set noet sw=4 ts=4: diff --git a/starmath/qa/unoapi/Test.java b/starmath/qa/unoapi/Test.java index 520491da3a8c..bd2a77d6e030 100644 --- a/starmath/qa/unoapi/Test.java +++ b/starmath/qa/unoapi/Test.java @@ -27,6 +27,7 @@ package org.openoffice.starmath.qa.unoapi; import org.openoffice.Runner; import org.openoffice.test.OfficeConnection; +import org.openoffice.test.Argument; import static org.junit.Assert.*; public final class Test { @@ -43,8 +44,8 @@ public final class Test { @org.junit.Test public void test() { assertTrue( Runner.run( - "-sce", "sm.sce", "-xcl", "knownissues.xcl", "-cs", - connection.getDescription())); + "-sce", Argument.get("sce"), "-xcl", Argument.get("xcl"), + "-cs", connection.getDescription())); } private final OfficeConnection connection = new OfficeConnection(); |