diff --git a/testautomation/framework/optional/includes/basic_package_import.inc b/testautomation/framework/optional/includes/basic_package_import.inc index a49774320482..abdc37ca4305 100755 --- a/testautomation/framework/optional/includes/basic_package_import.inc +++ b/testautomation/framework/optional/includes/basic_package_import.inc @@ -8,9 +8,9 @@ '* '* $RCSfile: basic_package_import.inc,v $ '* -'* $Revision: 1.1 $ +'* $Revision: 1.2 $ '* -'* last change: $Author: jsi $ $Date: 2008-06-16 12:18:13 $ +'* last change: $Author: jsk $ $Date: 2008-06-17 11:42:14 $ '* '* This file is part of OpenOffice.org. '* @@ -42,7 +42,7 @@ testcase tBasicPackageImport '///

Import BASIC library as UNO package via Package Manager UI

' Assumption: All actions take place in the user/work directory - ' macro taken from framework/tools/input/macros.txt::tBasicLibraryExport + ' macro taken from global/input/macros.txt::tBasicLibraryExport dim package_name as string @@ -73,10 +73,10 @@ testcase tBasicPackageImport '///+
  • Add a package
  • '///+
  • Select "tBasicLibraryExportAsPackage.oxt", import it
  • '///+
  • Close the package manager ui
  • - iStatus = hExtensionAddGUI( cFile, false ) + iStatus = hExtensionAddGUI( cFile, "InstallForUser,NoLicense,NoUpdate" ) ' Evaluate the returncode. Anything different from 0 causes the test to end. - if ( iStatus <> 0 ) then + if ( iStatus <= 0 ) then warnlog( "Error adding extension. Aborting." ) goto endsub endif