summaryrefslogtreecommitdiff
path: root/testautomation/extensions
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-06-02 13:53:02 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-06-02 13:53:02 +0200
commit20c9135b759b11411b9b4e9ca7b219de535f38c1 (patch)
tree86700d86c3bc20a9d3664d65a6c3f4ad6b675ca4 /testautomation/extensions
parenta68bbed73a3c306cb0a3c707397096a70bb61013 (diff)
jl152: #i112023 - Fixed e_publisher.inc (has new offset in updates list)
Diffstat (limited to 'testautomation/extensions')
-rwxr-xr-x[-rw-r--r--]testautomation/extensions/optional/includes/publisher.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/testautomation/extensions/optional/includes/publisher.inc b/testautomation/extensions/optional/includes/publisher.inc
index fcf4400ae748..6bda65c781fc 100644..100755
--- a/testautomation/extensions/optional/includes/publisher.inc
+++ b/testautomation/extensions/optional/includes/publisher.inc
@@ -40,6 +40,7 @@ testcase tExtensionPublisher
goto endsub
endif
+ const EXTENSION_LIST_OFFSET = 1 ' French dictionary is usually listed before the test extensions
' Specification document
' http://specs.openoffice.org/appwide/packagemanager/online_update_for_extensions.odt
' http://specs.openoffice.org/appwide/packagemanager/online_update_for_extensions.odt
@@ -190,7 +191,7 @@ testcase tExtensionPublisher
cHasPublisher = hGetValueForKeyAsString( cConfigArray() , "has_publisher" )
cPublisher = hGetValueForKeyAsString( cConfigArray() , "publisher" )
- AvailableUpdatesList.select( iCurrentFile )
+ AvailableUpdatesList.select( iCurrentFile + EXTENSION_LIST_OFFSET )
if ( AvailableUpdatesList.getText() = cCurrentFileName ) then
printlog( "Testing extension: " & cCurrentFileName )