diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-13 13:35:52 +0100 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-13 13:35:52 +0100 |
commit | f38ce5629d5dafae9bbf7b41308c95c6f4e14942 (patch) | |
tree | 4eee2c91cd667a835f73122eb5f434f072ccab63 /testautomation | |
parent | 2103d4f2a979d991d79e08efd9ff38bfb2a0058a (diff) |
native0: #161747 - Fix help tests (missing reference files) and disabled saving files in 645 (binfilter) format for now. Need to check why the f_basic_incorrect_passwords still fails.
Diffstat (limited to 'testautomation')
-rwxr-xr-x[-rw-r--r--] | testautomation/framework/optional/includes/basic_shared_modules.inc | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/testautomation/framework/optional/includes/basic_shared_modules.inc b/testautomation/framework/optional/includes/basic_shared_modules.inc index ea677e31f23a..7e9beec7af98 100644..100755 --- a/testautomation/framework/optional/includes/basic_shared_modules.inc +++ b/testautomation/framework/optional/includes/basic_shared_modules.inc @@ -37,7 +37,8 @@ testcase tBasicSharedModules dim iObjectPosition as integer dim iLibraryCount as integer - const EXPECTED_LIBRARY_COUNT = 12 + const EXPECTED_LIBRARY_COUNT = 13 ' prebundled extensions add a library + const EXPECTED_LIBRARY_COUNT_OOO = 12 hInitSingleDoc() @@ -72,9 +73,15 @@ testcase tBasicSharedModules iLibraryCount = Library.getItemCount() printlog( "There are " & iLibraryCount & " items in the list" ) - - if ( iLibraryCount <> EXPECTED_LIBRARY_COUNT ) then - warnlog( "The number of items in the library-list is incorrect (should be 12): " & iLibraryCount ) + + if ( gOOo ) then + if ( iLibraryCount <> EXPECTED_LIBRARY_COUNT_OOO ) then + warnlog( "Incorrect itemcount in libraries list: " & iLibraryCount ) + endif + else + if ( iLibraryCount <> EXPECTED_LIBRARY_COUNT ) then + warnlog( "Incorrect itemcount in libraries list: " & iLibraryCount ) + endif endif Kontext "MacroBar" |