[openoffice] branch AOO42X updated: Fixed typos, removed whitespace
This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch AOO42X in repository https://gitbox.apache.org/repos/asf/openoffice.git The following commit(s) were added to refs/heads/AOO42X by this push: new 30c596f287 Fixed typos, removed whitespace 30c596f287 is described below commit 30c596f28733932db8356afd25aef01e52f57909 Author: mseidel AuthorDate: Sun Sep 18 11:34:55 2022 +0200 Fixed typos, removed whitespace (cherry picked from commit 23b2c88cd6a69e823600adadb373bff76b7eaa26) --- .../complex/framework/recovery/RecoveryTest.java | 368 ++--- 1 file changed, 184 insertions(+), 184 deletions(-) diff --git a/main/framework/qa/complex/framework/recovery/RecoveryTest.java b/main/framework/qa/complex/framework/recovery/RecoveryTest.java index 13b0348f0e..016f4e63cb 100644 --- a/main/framework/qa/complex/framework/recovery/RecoveryTest.java +++ b/main/framework/qa/complex/framework/recovery/RecoveryTest.java @@ -1,5 +1,5 @@ /** - * + * * 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 @@ -7,16 +7,16 @@ * 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 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * */ @@ -91,22 +91,22 @@ import static org.junit.Assert.*; // -- public class RecoveryTest extends ComplexTestCase { - + static XMultiServiceFactory xMSF; static SOfficeFactory SOF; static RecoveryTools rt; /** - * If you devid the screen in four parts in the first of them the office + * If you divide the screen in four parts in the first of them the office * windows should be placed. The range of the first quarter is stored in the variable. - */ + */ static Point windowMaxPosition; /** * The office windows starts in the first quarter of the screen. In this variable * the maximum size for the windows was stored so the windows can be placed * visible on the screen. - */ + */ static Size windowMaxSize; - + /** * All office windows will be placed by this test on randomized positions. * This positions was stored in this Hashmap. The keys are the frame names @@ -114,30 +114,30 @@ public class RecoveryTest extends ComplexTestCase { * @see com.sun.star.awt.Rectangle */ private Hashtable windowsPosSize = new Hashtable(); - + /** * A function to tell the framework, which test functions are available. * @return All test methods. * * @todo: hidden documents * @todo: running presentation - * @todo: modular dialogs like Hpyerlink-Dialog - * @todo: sceond view of a document + * @todo: modular dialogs like Hyperlink-Dialog + * @todo: second view of a document * @todo: remove recovery data before start test * @todo: after a second start after the crash there should no documents recovered anymore * @todo: enable remove of recovery files - * @todo: makefile anpassen auf Parameter überprüfen + * @todo: modify makefile to check for parameters */ public String[] getTestMethodNames() { return new String[]{"testCrash"}; } - + /** Create the environment for following tests. * Use either a component loader from desktop or * from frame * @throws Exception Exception */ - + public void normalCrash(){ cleanRecoveryData(); startOffice(); @@ -150,18 +150,18 @@ public class RecoveryTest extends ComplexTestCase { handleCrashReporterDialog(true, true); checkDocumentCount(expectedDocumentCount); } - + public void testCrash(){ cleanRecoveryData(); restoreBackupRecoveryData(); startOffice(); int expectedDocumentCount = 3; -//handleRecoveryDialog_QuickExit(expectedDocumentCount); +// handleRecoveryDialog_QuickExit(expectedDocumentCount); handleRecoveryDialog_QuickExitAndSave(expectedDocumentCount); //handleCrashReporterDialog(true, true); //checkDocumentCount(expectedDocumentCount); } - + public void before() throws Exception { String msg ="\n\n\tPATH
[openoffice] branch trunk updated: Fixed typos, removed whitespace
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 23b2c88cd6 Fixed typos, removed whitespace 23b2c88cd6 is described below commit 23b2c88cd6a69e823600adadb373bff76b7eaa26 Author: mseidel AuthorDate: Sun Sep 18 11:34:55 2022 +0200 Fixed typos, removed whitespace --- .../complex/framework/recovery/RecoveryTest.java | 368 ++--- 1 file changed, 184 insertions(+), 184 deletions(-) diff --git a/main/framework/qa/complex/framework/recovery/RecoveryTest.java b/main/framework/qa/complex/framework/recovery/RecoveryTest.java index 13b0348f0e..016f4e63cb 100644 --- a/main/framework/qa/complex/framework/recovery/RecoveryTest.java +++ b/main/framework/qa/complex/framework/recovery/RecoveryTest.java @@ -1,5 +1,5 @@ /** - * + * * 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 @@ -7,16 +7,16 @@ * 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 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * */ @@ -91,22 +91,22 @@ import static org.junit.Assert.*; // -- public class RecoveryTest extends ComplexTestCase { - + static XMultiServiceFactory xMSF; static SOfficeFactory SOF; static RecoveryTools rt; /** - * If you devid the screen in four parts in the first of them the office + * If you divide the screen in four parts in the first of them the office * windows should be placed. The range of the first quarter is stored in the variable. - */ + */ static Point windowMaxPosition; /** * The office windows starts in the first quarter of the screen. In this variable * the maximum size for the windows was stored so the windows can be placed * visible on the screen. - */ + */ static Size windowMaxSize; - + /** * All office windows will be placed by this test on randomized positions. * This positions was stored in this Hashmap. The keys are the frame names @@ -114,30 +114,30 @@ public class RecoveryTest extends ComplexTestCase { * @see com.sun.star.awt.Rectangle */ private Hashtable windowsPosSize = new Hashtable(); - + /** * A function to tell the framework, which test functions are available. * @return All test methods. * * @todo: hidden documents * @todo: running presentation - * @todo: modular dialogs like Hpyerlink-Dialog - * @todo: sceond view of a document + * @todo: modular dialogs like Hyperlink-Dialog + * @todo: second view of a document * @todo: remove recovery data before start test * @todo: after a second start after the crash there should no documents recovered anymore * @todo: enable remove of recovery files - * @todo: makefile anpassen auf Parameter überprüfen + * @todo: modify makefile to check for parameters */ public String[] getTestMethodNames() { return new String[]{"testCrash"}; } - + /** Create the environment for following tests. * Use either a component loader from desktop or * from frame * @throws Exception Exception */ - + public void normalCrash(){ cleanRecoveryData(); startOffice(); @@ -150,18 +150,18 @@ public class RecoveryTest extends ComplexTestCase { handleCrashReporterDialog(true, true); checkDocumentCount(expectedDocumentCount); } - + public void testCrash(){ cleanRecoveryData(); restoreBackupRecoveryData(); startOffice(); int expectedDocumentCount = 3; -//handleRecoveryDialog_QuickExit(expectedDocumentCount); +// handleRecoveryDialog_QuickExit(expectedDocumentCount); handleRecoveryDialog_QuickExitAndSave(expectedDocumentCount); //handleCrashReporterDialog(true, true); //checkDocumentCount(expectedDocumentCount); } - + public void before() throws Exception { String msg ="\n\n\tPATH TO OFFICE BINARY MISSING!\n"; @@ -179,20 +179,20 @@ public class RecoveryTest