forms/JunitTest_forms_unoapi.mk | 31 -------------------- forms/JunitTest_forms_unoapi_1.mk | 31 ++++++++++++++++++++ forms/JunitTest_forms_unoapi_2.mk | 31 ++++++++++++++++++++ forms/JunitTest_forms_unoapi_3.mk | 31 ++++++++++++++++++++ forms/JunitTest_forms_unoapi_4.mk | 31 ++++++++++++++++++++ forms/Module_forms.mk | 5 ++- forms/qa/unoapi/forms.sce | 57 -------------------------------------- forms/qa/unoapi/forms_1.sce | 27 ++++++++++++++++++ forms/qa/unoapi/forms_2.sce | 27 ++++++++++++++++++ forms/qa/unoapi/forms_3.sce | 27 ++++++++++++++++++ forms/qa/unoapi/forms_4.sce | 26 +++++++++++++++++ 11 files changed, 235 insertions(+), 89 deletions(-)
New commits: commit 5fe011ae025d7d354ca0647189524843a444ffba Author: Bjoern Michaelsen <bjoern.michael...@canonical.com> Date: Fri May 29 02:10:29 2015 +0200 split forms unoapi test for performance - test previously took 2m51s here - slowest part is now 54s Change-Id: Ib81fcb1a6e27dd54e0c3a319ff065166d57654ff Reviewed-on: https://gerrit.libreoffice.org/15959 Reviewed-by: Björn Michaelsen <bjoern.michael...@canonical.com> Tested-by: Björn Michaelsen <bjoern.michael...@canonical.com> diff --git a/forms/JunitTest_forms_unoapi.mk b/forms/JunitTest_forms_unoapi_1.mk similarity index 75% rename from forms/JunitTest_forms_unoapi.mk rename to forms/JunitTest_forms_unoapi_1.mk index 3f74a74..7664963 100644 --- a/forms/JunitTest_forms_unoapi.mk +++ b/forms/JunitTest_forms_unoapi_1.mk @@ -7,16 +7,16 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -$(eval $(call gb_JunitTest_JunitTest,forms_unoapi)) +$(eval $(call gb_JunitTest_JunitTest,forms_unoapi_1)) -$(eval $(call gb_JunitTest_set_defs,forms_unoapi,\ +$(eval $(call gb_JunitTest_set_defs,forms_unoapi_1,\ $$(DEFS) \ - -Dorg.openoffice.test.arg.sce=$(SRCDIR)/forms/qa/unoapi/forms.sce \ + -Dorg.openoffice.test.arg.sce=$(SRCDIR)/forms/qa/unoapi/forms_1.sce \ -Dorg.openoffice.test.arg.xcl=$(SRCDIR)/forms/qa/unoapi/knownissues.xcl \ -Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/forms/qa/unoapi/testdocuments \ )) -$(eval $(call gb_JunitTest_use_jars,forms_unoapi,\ +$(eval $(call gb_JunitTest_use_jars,forms_unoapi_1,\ OOoRunner \ ridl \ test \ @@ -24,7 +24,7 @@ $(eval $(call gb_JunitTest_use_jars,forms_unoapi,\ jurt \ )) -$(eval $(call gb_JunitTest_add_classes,forms_unoapi,\ +$(eval $(call gb_JunitTest_add_classes,forms_unoapi_1,\ org.openoffice.test.UnoApiTest \ )) diff --git a/forms/JunitTest_forms_unoapi_2.mk b/forms/JunitTest_forms_unoapi_2.mk new file mode 100644 index 0000000..c309cc7 --- /dev/null +++ b/forms/JunitTest_forms_unoapi_2.mk @@ -0,0 +1,31 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_JunitTest_JunitTest,forms_unoapi_2)) + +$(eval $(call gb_JunitTest_set_defs,forms_unoapi_2,\ + $$(DEFS) \ + -Dorg.openoffice.test.arg.sce=$(SRCDIR)/forms/qa/unoapi/forms_2.sce \ + -Dorg.openoffice.test.arg.xcl=$(SRCDIR)/forms/qa/unoapi/knownissues.xcl \ + -Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/forms/qa/unoapi/testdocuments \ +)) + +$(eval $(call gb_JunitTest_use_jars,forms_unoapi_2,\ + OOoRunner \ + ridl \ + test \ + unoil \ + jurt \ +)) + +$(eval $(call gb_JunitTest_add_classes,forms_unoapi_2,\ + org.openoffice.test.UnoApiTest \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/forms/JunitTest_forms_unoapi_3.mk b/forms/JunitTest_forms_unoapi_3.mk new file mode 100644 index 0000000..4ba8829 --- /dev/null +++ b/forms/JunitTest_forms_unoapi_3.mk @@ -0,0 +1,31 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_JunitTest_JunitTest,forms_unoapi_3)) + +$(eval $(call gb_JunitTest_set_defs,forms_unoapi_3,\ + $$(DEFS) \ + -Dorg.openoffice.test.arg.sce=$(SRCDIR)/forms/qa/unoapi/forms_3.sce \ + -Dorg.openoffice.test.arg.xcl=$(SRCDIR)/forms/qa/unoapi/knownissues.xcl \ + -Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/forms/qa/unoapi/testdocuments \ +)) + +$(eval $(call gb_JunitTest_use_jars,forms_unoapi_3,\ + OOoRunner \ + ridl \ + test \ + unoil \ + jurt \ +)) + +$(eval $(call gb_JunitTest_add_classes,forms_unoapi_3,\ + org.openoffice.test.UnoApiTest \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/forms/JunitTest_forms_unoapi_4.mk b/forms/JunitTest_forms_unoapi_4.mk new file mode 100644 index 0000000..e63cc3f --- /dev/null +++ b/forms/JunitTest_forms_unoapi_4.mk @@ -0,0 +1,31 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_JunitTest_JunitTest,forms_unoapi_4)) + +$(eval $(call gb_JunitTest_set_defs,forms_unoapi_4,\ + $$(DEFS) \ + -Dorg.openoffice.test.arg.sce=$(SRCDIR)/forms/qa/unoapi/forms_4.sce \ + -Dorg.openoffice.test.arg.xcl=$(SRCDIR)/forms/qa/unoapi/knownissues.xcl \ + -Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/forms/qa/unoapi/testdocuments \ +)) + +$(eval $(call gb_JunitTest_use_jars,forms_unoapi_4,\ + OOoRunner \ + ridl \ + test \ + unoil \ + jurt \ +)) + +$(eval $(call gb_JunitTest_add_classes,forms_unoapi_4,\ + org.openoffice.test.UnoApiTest \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/forms/Module_forms.mk b/forms/Module_forms.mk index 45a6773..266f6a3 100644 --- a/forms/Module_forms.mk +++ b/forms/Module_forms.mk @@ -18,7 +18,10 @@ $(eval $(call gb_Module_add_l10n_targets,forms,\ )) $(eval $(call gb_Module_add_subsequentcheck_targets,forms,\ - JunitTest_forms_unoapi \ + JunitTest_forms_unoapi_1 \ + JunitTest_forms_unoapi_2 \ + JunitTest_forms_unoapi_3 \ + JunitTest_forms_unoapi_4 \ JunitTest_forms_complex \ )) diff --git a/forms/qa/unoapi/forms_1.sce b/forms/qa/unoapi/forms_1.sce new file mode 100644 index 0000000..d3d8df7 --- /dev/null +++ b/forms/qa/unoapi/forms_1.sce @@ -0,0 +1,27 @@ +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.apache.org/licenses/LICENSE-2.0 . +# +-o forms.OButtonControl +#i111285 -o forms.OButtonModel +-o forms.OCheckBoxControl +-o forms.OCheckBoxModel +-o forms.OComboBoxControl +-o forms.OComboBoxModel +-o forms.OCurrencyControl +-o forms.OCurrencyModel +#-o forms.ODatabaseForm +-o forms.ODateControl diff --git a/forms/qa/unoapi/forms.sce b/forms/qa/unoapi/forms_2.sce similarity index 58% rename from forms/qa/unoapi/forms.sce rename to forms/qa/unoapi/forms_2.sce index a0264ba..102999d 100644 --- a/forms/qa/unoapi/forms.sce +++ b/forms/qa/unoapi/forms_2.sce @@ -15,16 +15,6 @@ # except in compliance with the License. You may obtain a copy of # the License at http://www.apache.org/licenses/LICENSE-2.0 . # --o forms.OButtonControl -#i111285 -o forms.OButtonModel --o forms.OCheckBoxControl --o forms.OCheckBoxModel --o forms.OComboBoxControl --o forms.OComboBoxModel --o forms.OCurrencyControl --o forms.OCurrencyModel -#-o forms.ODatabaseForm --o forms.ODateControl -o forms.ODateModel -o forms.OEditControl -o forms.OEditModel @@ -35,23 +25,3 @@ # LäSST EIN DOKUMENT OFFEN -o forms.OFormsCollection -o forms.OGridControlModel -o forms.OGroupBoxControl --o forms.OGroupBoxModel --o forms.OHiddenModel --o forms.OImageButtonControl --o forms.OImageButtonModel --o forms.OImageControlControl --o forms.OImageControlModel -#i114669 -o forms.OListBoxControl --o forms.OListBoxModel --o forms.ONavigationBarControl --o forms.ONavigationBarModel --o forms.ONumericControl --o forms.ONumericModel --o forms.OPatternControl --o forms.OPatternModel --o forms.ORadioButtonControl --o forms.ORadioButtonModel --o forms.OScrollBarModel --o forms.OSpinButtonModel --o forms.OTimeControl --o forms.OTimeModel diff --git a/forms/qa/unoapi/forms_3.sce b/forms/qa/unoapi/forms_3.sce new file mode 100644 index 0000000..e8b2754 --- /dev/null +++ b/forms/qa/unoapi/forms_3.sce @@ -0,0 +1,27 @@ +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.apache.org/licenses/LICENSE-2.0 . +# +-o forms.OHiddenModel +-o forms.OImageButtonControl +-o forms.OImageButtonModel +-o forms.OImageControlControl +-o forms.OImageControlModel +#i114669 -o forms.OListBoxControl +-o forms.OListBoxModel +-o forms.ONavigationBarControl +-o forms.ONavigationBarModel +-o forms.ONumericControl diff --git a/forms/qa/unoapi/forms_4.sce b/forms/qa/unoapi/forms_4.sce new file mode 100644 index 0000000..b6bfbc1 --- /dev/null +++ b/forms/qa/unoapi/forms_4.sce @@ -0,0 +1,26 @@ +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.apache.org/licenses/LICENSE-2.0 . +# +-o forms.ONumericModel +-o forms.OPatternControl +-o forms.OPatternModel +-o forms.ORadioButtonControl +-o forms.ORadioButtonModel +-o forms.OScrollBarModel +-o forms.OSpinButtonModel +-o forms.OTimeControl +-o forms.OTimeModel
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits