You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2020/07/27 05:38:33 UTC
[openoffice] branch trunk updated (5612a2b -> fbeee53)
This is an automated email from the ASF dual-hosted git repository.
damjan pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git.
from 5612a2b Updated graphic for helpagent
new 3705dcb Explain format of "-tm" parameter when it's wrong.
new fbeee53 Fix a test timing issue, and deal with "Save changes" dialog.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
test/testcommon/source/org/openoffice/test/common/NamedRequest.java | 5 ++++-
.../source/fvt/gui/formula/importexport/FormulaInDifferentWays.java | 3 ++-
2 files changed, 6 insertions(+), 2 deletions(-)
[openoffice] 02/02: Fix a test timing issue,
and deal with "Save changes" dialog.
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
damjan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit fbeee538df5958e9c8ad230af896b4c8175ab763
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Mon Jul 27 07:32:01 2020 +0200
Fix a test timing issue, and deal with "Save changes" dialog.
Patch by: me
---
.../source/fvt/gui/formula/importexport/FormulaInDifferentWays.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java b/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java
index aec77ea..c241181 100644
--- a/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java
+++ b/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java
@@ -54,7 +54,7 @@ public class FormulaInDifferentWays {
@After
public void tearDown() throws Exception {
- close();
+ discard();
app.stop();
}
@@ -167,6 +167,7 @@ public class FormulaInDifferentWays {
// commands window
mathElementsUnaryBinary.click();
mathElementsUnaryBinaryPlus.click();
+ sleep(1);
typeKeys("a"); // "+a";
// Undo and verify if it works fine
[openoffice] 01/02: Explain format of "-tm" parameter when it's
wrong.
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
damjan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 3705dcbca917f01156f9b8d7e49186e5358fb78b
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Mon Jul 27 07:31:25 2020 +0200
Explain format of "-tm" parameter when it's wrong.
Patch by: me
---
test/testcommon/source/org/openoffice/test/common/NamedRequest.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/test/testcommon/source/org/openoffice/test/common/NamedRequest.java b/test/testcommon/source/org/openoffice/test/common/NamedRequest.java
index ffb4b6e..dbfbe55 100644
--- a/test/testcommon/source/org/openoffice/test/common/NamedRequest.java
+++ b/test/testcommon/source/org/openoffice/test/common/NamedRequest.java
@@ -123,6 +123,9 @@ public class NamedRequest extends Request {
String[] methods = arg.split(",");
for (String m : methods) {
int i = m.lastIndexOf(".");
+ if (i < 0) {
+ throw new RuntimeException("-tm parameter needs to have the form className.methodName");
+ }
String className = m.substring(0, i);
String methodName = m.substring(++i);
try {
@@ -179,4 +182,4 @@ public class NamedRequest extends Request {
}
}
-}
\ No newline at end of file
+}