This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push: new aaf8cf4899 pre-commit(end-of-file-fixer): auto fix the `test` directory (#275) aaf8cf4899 is described below commit aaf8cf4899a4001c6ec145bb169b0503114ac51d Author: John Bampton <jbamp...@users.noreply.github.com> AuthorDate: Tue Feb 11 22:55:02 2025 +1000 pre-commit(end-of-file-fixer): auto fix the `test` directory (#275) --- .pre-commit-config.yaml | 2 +- test/run.bat | 1 - test/smoketestdoc/MANIFEST.MF | 1 - test/smoketestdoc/aoo-ant.xml | 1 - test/smoketestdoc/build.xml | 1 - test/smoketestdoc/idl.xml | 1 - test/smoketestdoc/manifest.xml | 2 +- test/testcommon/source/org/openoffice/test/Run.help | 1 - test/testgui/data/text.txt | 2 +- test/testgui/readme.txt | 2 +- test/testuno/data/limit_cfg.ini | 2 +- 11 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a839278a81..1a8da84f93 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: - id: check-merge-conflict - id: check-vcs-permalinks - id: end-of-file-fixer - files: \.(hxx|java|md|mk|pl|pm|py|sh|ya?ml)$ + files: \.(hxx|java|md|mk|pl|pm|py|sh|ya?ml)$|^test/.*$ - id: mixed-line-ending files: ^main/.*\.(c|h)xx$ - repo: https://github.com/codespell-project/codespell diff --git a/test/run.bat b/test/run.bat index cc983ed142..b96eb15eef 100644 --- a/test/run.bat +++ b/test/run.bat @@ -22,4 +22,3 @@ rem ************************************************************* set BASE=%~pd0% java -cp "%BASE%\lib\junit.jar;%BASE%\lib\hamcrest.jar;%BASE%\testcommon\bin;%BASE%\testgui\bin;%BASE%\testuno\bin;%BASE%\testgui\data;%BASE%\testuno\data" org.openoffice.test.Run -r org.openoffice.test.common.Installer -l org.openoffice.test.common.XMLReporter -l org.openoffice.test.common.ReportUploader "-Dtestspace=%BASE%\testspace" -Dsingleton=true %* - diff --git a/test/smoketestdoc/MANIFEST.MF b/test/smoketestdoc/MANIFEST.MF index 09e2f42ca0..50d48babe9 100644 --- a/test/smoketestdoc/MANIFEST.MF +++ b/test/smoketestdoc/MANIFEST.MF @@ -1,2 +1 @@ RegistrationClassName: com.sun.star.comp.smoketest.TestExtension - diff --git a/test/smoketestdoc/aoo-ant.xml b/test/smoketestdoc/aoo-ant.xml index 722cb488a3..81d4c272d9 100644 --- a/test/smoketestdoc/aoo-ant.xml +++ b/test/smoketestdoc/aoo-ant.xml @@ -240,4 +240,3 @@ <target name="main" depends="test,jar"/> </project> - diff --git a/test/smoketestdoc/build.xml b/test/smoketestdoc/build.xml index 74d5da31e1..a9d316e1d6 100644 --- a/test/smoketestdoc/build.xml +++ b/test/smoketestdoc/build.xml @@ -96,4 +96,3 @@ <target name="smoketest" depends="smoketestdoc,TestExtension"/> </project> - diff --git a/test/smoketestdoc/idl.xml b/test/smoketestdoc/idl.xml index 8bf0586581..237c7b6678 100644 --- a/test/smoketestdoc/idl.xml +++ b/test/smoketestdoc/idl.xml @@ -129,4 +129,3 @@ </macrodef> </project> - diff --git a/test/smoketestdoc/manifest.xml b/test/smoketestdoc/manifest.xml index 0ed75123d6..f0227aefd2 100644 --- a/test/smoketestdoc/manifest.xml +++ b/test/smoketestdoc/manifest.xml @@ -22,4 +22,4 @@ <manifest:manifest> <manifest:file-entry manifest:full-path="TestExtension.jar" manifest:media-type="application/vnd.sun.star.uno-component;type=Java"/> <manifest:file-entry manifest:full-path="TestExtension.rdb" manifest:media-type="application/vnd.sun.star.uno-typelibrary;type=RDB"/> -</manifest:manifest> \ No newline at end of file +</manifest:manifest> diff --git a/test/testcommon/source/org/openoffice/test/Run.help b/test/testcommon/source/org/openoffice/test/Run.help index 43ff12733c..a3fae18964 100644 --- a/test/testcommon/source/org/openoffice/test/Run.help +++ b/test/testcommon/source/org/openoffice/test/Run.help @@ -20,4 +20,3 @@ Example run -Dopenoffice.home=/Applications/OpenOffice.org.app/Contents -tp bvt run -Dopenoffice.home=/Applications/OpenOffice.org.app/Contents -tc bvt:bvt.gui.BasicFunctionTest,bvt.gui.FileTypeTest run -Dopenoffice.pack=http://ci.apache.org/projects/openoffice/install/linux64/Apache_OpenOffice_4.0.0_Linux_x86-64_install-arc_en-US.tar.gz -tp bvt - diff --git a/test/testgui/data/text.txt b/test/testgui/data/text.txt index 3ae82da0ba..b8402da22d 100644 --- a/test/testgui/data/text.txt +++ b/test/testgui/data/text.txt @@ -19,4 +19,4 @@ # #************************************************************** -dsfsdfsdf \ No newline at end of file +dsfsdfsdf diff --git a/test/testgui/readme.txt b/test/testgui/readme.txt index 1f51958317..63be5895ed 100644 --- a/test/testgui/readme.txt +++ b/test/testgui/readme.txt @@ -23,4 +23,4 @@ The module stores GUI testing scripts. It's an eclipse project. Setup the projec 1. Open eclipse and then click menu "File -> Import...". 2. Select "General -> Existing Projects into Workspace", click "Next", and then select the parent directory of this module as root directory. 3. Choose "testcommon" and "testscript", and then click "Finish". -4. Download JUnit-4.10.jar (Version MUST be higher than 4.10) into testscript/output/lib/junit.jar and then refresh the project. \ No newline at end of file +4. Download JUnit-4.10.jar (Version MUST be higher than 4.10) into testscript/output/lib/junit.jar and then refresh the project. diff --git a/test/testuno/data/limit_cfg.ini b/test/testuno/data/limit_cfg.ini index b8981b5cd1..c7af215f8b 100644 --- a/test/testuno/data/limit_cfg.ini +++ b/test/testuno/data/limit_cfg.ini @@ -20,4 +20,4 @@ [SHEET] /*Max row in worksheet*/ 1.MAXROW=5000 -2.MAXROW=5000 \ No newline at end of file +2.MAXROW=5000