diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2010-04-16 10:09:51 +0200 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2010-04-16 10:09:51 +0200 |
commit | 224dbf39c0782b97950acd1f4e74e5a1e66fcaed (patch) | |
tree | 45b2f5b1d3f1a88e65f70109e5a1112a2b118a2a /sw | |
parent | 281ba7bdd44fc6fccacdec5fca877229e9be54d7 (diff) | |
parent | 05880bac6475e045694fb00806d807ab38e1f1e5 (diff) |
CWS-TOOLING: integrate CWS sb118
Diffstat (limited to 'sw')
-rwxr-xr-x | sw/prj/build.lst | 1 | ||||
-rw-r--r-- | sw/qa/core/export.map | 2 | ||||
-rw-r--r-- | sw/qa/core/makefile.mk | 2 | ||||
-rw-r--r-- | sw/qa/unoapi/Test.java | 51 | ||||
-rw-r--r-- | sw/qa/unoapi/knownissues.xcl | 5 | ||||
-rw-r--r-- | sw/qa/unoapi/makefile.mk | 31 | ||||
-rw-r--r-- | sw/source/ui/dialog/makefile.mk | 4 | ||||
-rw-r--r-- | sw/util/makefile.mk | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | sw/util/msword.map | 2 | ||||
-rw-r--r-- | sw/util/sw.map | 8 | ||||
-rw-r--r-- | sw/util/swd.map | 8 | ||||
-rw-r--r-- | sw/util/swui.map | 2 | ||||
-rw-r--r-- | sw/util/vbaswobj.map | 9 |
13 files changed, 83 insertions, 46 deletions
diff --git a/sw/prj/build.lst b/sw/prj/build.lst index 6fd49c1d77b0..87d163d72648 100755 --- a/sw/prj/build.lst +++ b/sw/prj/build.lst @@ -74,3 +74,4 @@ sw sw\source\ui nmake - all sw_ui sw_app sw sw\source\core nmake - all sw_core sw_attr sw_bast sw_crsr sw_dcnd sw_doc sw_draw sw_edit sw_excpt sw_fld sw_frmed sw_grph sw_layo sw_ole sw_para sw_sw3io sw_swg sw_text sw_tox sw_txtnd sw_uco sw_undo sw_view sw_acc sw_objpos sw_NumberTree sw_tablecore NULL sw sw\source\filter nmake - all sw_flt sw_ascii sw_bsflt sw_html sw_rtf sw_wrtr sw_ww1 sw_ww8 sw_xml NULL sw sw\util nmake - all sw_util sw_core sw_flt sw_sdi sw_ui NULL +sw sw\qa\unoapi nmake - all sw_qa_unoapi NULL diff --git a/sw/qa/core/export.map b/sw/qa/core/export.map index 0e4fe0c88ff2..7321bbca16ad 100644 --- a/sw/qa/core/export.map +++ b/sw/qa/core/export.map @@ -25,7 +25,7 @@ # #************************************************************************* -UDK_3.0 { +UDK_3_0_0 { global: registerAllTestFunction; diff --git a/sw/qa/core/makefile.mk b/sw/qa/core/makefile.mk index 02e69f45dae2..00ebfda8844a 100644 --- a/sw/qa/core/makefile.mk +++ b/sw/qa/core/makefile.mk @@ -37,6 +37,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +CFLAGSCXX += $(CPPUNIT_CFLAGS) + # BEGIN ---------------------------------------------------------------- # auto generated Target:testjob by codegen.pl diff --git a/sw/qa/unoapi/Test.java b/sw/qa/unoapi/Test.java new file mode 100644 index 000000000000..e0311cc069bb --- /dev/null +++ b/sw/qa/unoapi/Test.java @@ -0,0 +1,51 @@ +/************************************************************************* +* 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 +* +* This file is part of OpenOffice.org. +* +* OpenOffice.org is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License version 3 +* only, as published by the Free Software Foundation. +* +* OpenOffice.org is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License version 3 for more details +* (a copy is included in the LICENSE file that accompanied this code). +* +* You should have received a copy of the GNU Lesser General Public License +* version 3 along with OpenOffice.org. If not, see +* <http://www.openoffice.org/license.html> +* for a copy of the LGPLv3 License. +************************************************************************/ + +package org.openoffice.sw.qa.unoapi; + +import org.openoffice.Runner; +import org.openoffice.test.OfficeConnection; +import static org.junit.Assert.*; + +public final class Test { + @org.junit.Before public void setUp() throws Exception { + connection.setUp(); + } + + @org.junit.After public void tearDown() + throws InterruptedException, com.sun.star.uno.Exception + { + connection.tearDown(); + } + + @org.junit.Test public void test() { + assertTrue( + Runner.run( + "-sce", "sw.sce", "-xcl", "knownissues.xcl", "-tdoc", + "testdocuments", "-cs", connection.getDescription())); + } + + private final OfficeConnection connection = new OfficeConnection(); +} diff --git a/sw/qa/unoapi/knownissues.xcl b/sw/qa/unoapi/knownissues.xcl index ee20559798a6..0c0ae3e506eb 100644 --- a/sw/qa/unoapi/knownissues.xcl +++ b/sw/qa/unoapi/knownissues.xcl @@ -150,4 +150,7 @@ sw.SwXTextEmbeddedObject::com::sun::star::text::BaseFrameProperties sw.SwXTextPortion::com::sun::star::style::CharacterProperties ### i94977 ### -sw.SwXTextGraphicObject::com::sun::star::text::BaseFrameProperties
\ No newline at end of file +sw.SwXTextGraphicObject::com::sun::star::text::BaseFrameProperties + +### i109917 ### +sw.SwXTextDocument::com::sun::star::document::XEventBroadcaster diff --git a/sw/qa/unoapi/makefile.mk b/sw/qa/unoapi/makefile.mk index 777c108c9e3e..f5102c2c9c84 100644 --- a/sw/qa/unoapi/makefile.mk +++ b/sw/qa/unoapi/makefile.mk @@ -1,7 +1,6 @@ #************************************************************************* -# # 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 @@ -22,18 +21,28 @@ # version 3 along with OpenOffice.org. If not, see # <http://www.openoffice.org/license.html> # for a copy of the LGPLv3 License. -# -#************************************************************************* -PRJ=..$/.. +#***********************************************************************/ -PRJNAME=sw -TARGET=qa_unoapi +.IF "$(OOO_SUBSEQUENT_TESTS)" == "" +nothing .PHONY: +.ELSE -.INCLUDE: settings.mk +PRJ = ../.. +PRJNAME = sw +TARGET = qa_unoapi + +.IF "$(OOO_JUNIT_JAR)" != "" +PACKAGE = org/openoffice/sw/qa/unoapi +JAVATESTFILES = Test.java +JAVAFILES = $(JAVATESTFILES) +JARFILES = OOoRunner.jar ridl.jar test.jar +EXTRAJARFILES = $(OOO_JUNIT_JAR) +.END +.INCLUDE: settings.mk .INCLUDE: target.mk +.INCLUDE: installationtest.mk -ALLTAR : UNOAPI_TEST +ALLTAR : javatest -UNOAPI_TEST: - +$(SOLARENV)$/bin$/checkapi -sce sw.sce -xcl knownissues.xcl -tdoc $(PWD)$/testdocuments +.END diff --git a/sw/source/ui/dialog/makefile.mk b/sw/source/ui/dialog/makefile.mk index 54b7784946e8..758ea00fcb10 100644 --- a/sw/source/ui/dialog/makefile.mk +++ b/sw/source/ui/dialog/makefile.mk @@ -86,11 +86,7 @@ $(INCCOM)$/swuilib.hxx: makefile.mk $(RM) $@ echo \#define DLL_NAME \"libswui$(DLLPOSTFIX)$(DLLPOST)\" >$@ .ELSE -.IF "$(USE_SHELL)"!="4nt" echo \#define DLL_NAME \"swui$(DLLPOSTFIX)$(DLLPOST)\" >$@ -.ELSE # "$(USE_SHELL)"!="4nt" - echo #define DLL_NAME "swui$(DLLPOSTFIX)$(DLLPOST)" >$@ -.ENDIF # "$(USE_SHELL)"!="4nt" .ENDIF $(SLO)$/swabstdlg.obj : $(INCCOM)$/swuilib.hxx diff --git a/sw/util/makefile.mk b/sw/util/makefile.mk index c69cec312565..557e871a74e7 100644 --- a/sw/util/makefile.mk +++ b/sw/util/makefile.mk @@ -134,7 +134,7 @@ DEFLIB1NAME=swall $(SWLIBFILES:b) SHL2TARGET= swd$(DLLPOSTFIX) SHL2IMPLIB= swdimp -SHL2VERSIONMAP= swd.map +SHL2VERSIONMAP=$(SOLARENV)/src/component.map SHL2DEF=$(MISC)$/$(SHL2TARGET).def DEF2NAME= $(SHL2TARGET) @@ -342,7 +342,7 @@ TARGET_VBA=vbaswobj SHL5TARGET=$(TARGET_VBA)$(DLLPOSTFIX).uno SHL5IMPLIB= i$(TARGET_VBA) -SHL5VERSIONMAP=$(TARGET_VBA).map +SHL5VERSIONMAP=$(SOLARENV)/src/component.map SHL5DEF=$(MISC)$/$(SHL5TARGET).def DEF5NAME=$(SHL5TARGET) SHL5STDLIBS= \ diff --git a/sw/util/msword.map b/sw/util/msword.map index db60fc5ce8c8..16b9d25b0b78 100644..100755 --- a/sw/util/msword.map +++ b/sw/util/msword.map @@ -1,4 +1,4 @@ -MSWORD_1_0 { +UDK_3_0_0 { global: ImportRTF; ExportRTF; diff --git a/sw/util/sw.map b/sw/util/sw.map deleted file mode 100644 index 272fab31a03d..000000000000 --- a/sw/util/sw.map +++ /dev/null @@ -1,8 +0,0 @@ -SW_1_0 { - global: - component_getImplementationEnvironment; - component_writeInfo; - component_getFactory; - local: - *; -}; diff --git a/sw/util/swd.map b/sw/util/swd.map deleted file mode 100644 index 272fab31a03d..000000000000 --- a/sw/util/swd.map +++ /dev/null @@ -1,8 +0,0 @@ -SW_1_0 { - global: - component_getImplementationEnvironment; - component_writeInfo; - component_getFactory; - local: - *; -}; diff --git a/sw/util/swui.map b/sw/util/swui.map index f40bd255fe1d..ad5e33836c7c 100644 --- a/sw/util/swui.map +++ b/sw/util/swui.map @@ -1,4 +1,4 @@ -SWUI_1_0 { +UDK_3_0_0 { global: CreateDialogFactory; local: diff --git a/sw/util/vbaswobj.map b/sw/util/vbaswobj.map deleted file mode 100644 index 737cddbfe3df..000000000000 --- a/sw/util/vbaswobj.map +++ /dev/null @@ -1,9 +0,0 @@ -OOO_1.1 { - global: - component_getImplementationEnvironment; - component_getFactory; - component_writeInfo; - - local: - *; -}; |