diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-22 15:08:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-13 08:42:56 +0200 |
commit | 9b8fb077d26883d3749785803f5a9138d7ba0d29 (patch) | |
tree | 3b1d649abe86bafa5649a81b96668032273adbcb /forms | |
parent | a7d1292194054cd6842573054b07f046e600b6ec (diff) |
java: inline some test properties
Change-Id: I8be2ee13652ed7223e41765811db577ecc1c85d6
Diffstat (limited to 'forms')
-rw-r--r-- | forms/qa/integration/forms/ListSelection.java | 26 | ||||
-rw-r--r-- | forms/qa/integration/forms/ListSelection.props | 2 |
2 files changed, 6 insertions, 22 deletions
diff --git a/forms/qa/integration/forms/ListSelection.java b/forms/qa/integration/forms/ListSelection.java index ee7d7ca4606a..5e9fd8a55e21 100644 --- a/forms/qa/integration/forms/ListSelection.java +++ b/forms/qa/integration/forms/ListSelection.java @@ -63,28 +63,14 @@ public class ListSelection extends integration.forms.TestCase /* ------------------------------------------------------------------ */ public void checkUserListSelection() throws com.sun.star.uno.Exception, java.lang.Exception { - boolean interactiveTest = param.getBool( "Interactive" ); - - if ( interactiveTest ) + int runs = 5; + for ( int i = 0; i < runs; ++i ) { + log.println( "Round " + ( i + 1 ) + " of " + runs ); prepareDocument(); - waitForUserInput(); - closeDocumentByUI(); - } - else - { - int runs = param.getInt( "Runs" ); - if ( runs == 0 ) - runs = 10; - - for ( int i = 0; i < runs; ++i ) - { - log.println( "Round " + ( i + 1 ) + " of " + runs ); - prepareDocument(); - impl_clickListBox(); - synchronized( this ) { this.wait( 1000 ); } - closeDocument(); - } + impl_clickListBox(); + synchronized( this ) { this.wait( 1000 ); } + closeDocument(); } } diff --git a/forms/qa/integration/forms/ListSelection.props b/forms/qa/integration/forms/ListSelection.props index 4464e320561c..92b56bef9909 100644 --- a/forms/qa/integration/forms/ListSelection.props +++ b/forms/qa/integration/forms/ListSelection.props @@ -1,3 +1 @@ ThreadTimeOut=600000 -Interactive=false -Runs=5 |