diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-05-29 02:10:29 +0200 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2015-05-29 11:54:05 +0000 |
commit | 5fe011ae025d7d354ca0647189524843a444ffba (patch) | |
tree | 00ba4701dd9902c0eda2cc65641547f939c2b4b1 /forms | |
parent | 5c85974066306137907534c0473e17c56844876d (diff) |
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.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/JunitTest_forms_unoapi_1.mk (renamed from forms/JunitTest_forms_unoapi.mk) | 10 | ||||
-rw-r--r-- | forms/JunitTest_forms_unoapi_2.mk | 31 | ||||
-rw-r--r-- | forms/JunitTest_forms_unoapi_3.mk | 31 | ||||
-rw-r--r-- | forms/JunitTest_forms_unoapi_4.mk | 31 | ||||
-rw-r--r-- | forms/Module_forms.mk | 5 | ||||
-rw-r--r-- | forms/qa/unoapi/forms_1.sce | 27 | ||||
-rw-r--r-- | forms/qa/unoapi/forms_2.sce (renamed from forms/qa/unoapi/forms.sce) | 30 | ||||
-rw-r--r-- | forms/qa/unoapi/forms_3.sce | 27 | ||||
-rw-r--r-- | forms/qa/unoapi/forms_4.sce | 26 |
9 files changed, 182 insertions, 36 deletions
diff --git a/forms/JunitTest_forms_unoapi.mk b/forms/JunitTest_forms_unoapi_1.mk index 3f74a74bf652..766496355b63 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 000000000000..c309cc75ebce --- /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 000000000000..4ba8829fddfa --- /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 000000000000..e63cc3ff069c --- /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 45a6773e9d0f..266f6a3c2aec 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 000000000000..d3d8df751256 --- /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 index a0264ba88a2a..102999ddc74c 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 @@ # LSST 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 000000000000..e8b2754255d3 --- /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 000000000000..b6bfbc1f5bd8 --- /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 |