You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2012/11/15 00:18:51 UTC

svn commit: r1409538 - in /incubator/ooo/branches/gbuild/main/starmath: JunitTest_sm_unoapi.mk qa/unoapi/Test.java

Author: arist
Date: Wed Nov 14 23:18:51 2012
New Revision: 1409538

URL: http://svn.apache.org/viewvc?rev=1409538&view=rev
Log:
gnumake4_042_83ae8c87a0ea.patch
# HG changeset patch
# User Michael Stahl <ms...@openoffice.org>
# Date 1301690824 0
# Node ID 83ae8c87a0eaeb67e57c0be344032ce84dfd0741
# Parent  f5e59f9cc0738fbe88a148365ae9a935256b3f0e
gnumake4: starmath: fix unoapi test


Modified:
    incubator/ooo/branches/gbuild/main/starmath/JunitTest_sm_unoapi.mk
    incubator/ooo/branches/gbuild/main/starmath/qa/unoapi/Test.java

Modified: incubator/ooo/branches/gbuild/main/starmath/JunitTest_sm_unoapi.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/starmath/JunitTest_sm_unoapi.mk?rev=1409538&r1=1409537&r2=1409538&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/starmath/JunitTest_sm_unoapi.mk (original)
+++ incubator/ooo/branches/gbuild/main/starmath/JunitTest_sm_unoapi.mk Wed Nov 14 23:18:51 2012
@@ -45,8 +45,8 @@ $(eval $(call gb_JunitTest_add_sourcefil
 	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:

Modified: incubator/ooo/branches/gbuild/main/starmath/qa/unoapi/Test.java
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/starmath/qa/unoapi/Test.java?rev=1409538&r1=1409537&r2=1409538&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/starmath/qa/unoapi/Test.java (original)
+++ incubator/ooo/branches/gbuild/main/starmath/qa/unoapi/Test.java Wed Nov 14 23:18:51 2012
@@ -25,6 +25,7 @@ package org.openoffice.starmath.qa.unoap
 
 import org.openoffice.Runner;
 import org.openoffice.test.OfficeConnection;
+import org.openoffice.test.Argument;
 import static org.junit.Assert.*;
 
 public final class Test {
@@ -41,8 +42,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();