diff options
Diffstat (limited to 'testautomation/dbaccess/optional/includes/wiz_DatabaseWizard.inc')
-rw-r--r--[-rwxr-xr-x] | testautomation/dbaccess/optional/includes/wiz_DatabaseWizard.inc | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/testautomation/dbaccess/optional/includes/wiz_DatabaseWizard.inc b/testautomation/dbaccess/optional/includes/wiz_DatabaseWizard.inc index 5be669dc1081..df9026ba2dd9 100755..100644 --- a/testautomation/dbaccess/optional/includes/wiz_DatabaseWizard.inc +++ b/testautomation/dbaccess/optional/includes/wiz_DatabaseWizard.inc @@ -208,27 +208,23 @@ endcase '------------------------------------------------------------------------- testcase tMozilla - if(gPlatform = "osx") then - qaerrorlog "Mozilla address book not supported under Mac." - else - if ( fCreateMozillaAddressbookDatasource(gOfficePath + "user/work/tt_mozilla.odb") = true) then - if ( fOpendatabase(gOfficePath + "user/work/tt_mozilla.odb") = true) then - Kontext "ContainerView" - ViewTables - else - warnlog "mozilla database could not be open." - - endif + if ( fCreateMozillaAddressbookDatasource(gOfficePath + "user/work/tt_mozilla.odb") = true) then + if ( fOpendatabase(gOfficePath + "user/work/tt_mozilla.odb") = true) then + Kontext "ContainerView" + ViewTables else - qaerrorlog "mozilla database could not be created. Maybe you have no mozilla installed." - Kontext "MessageBox" - if (MessageBox.exists(1)) then - MessageBox.OK - endif + warnlog "mozilla database could not be open." + endif - ' try to close the database - call fCloseDatabase(false) + else + qaerrorlog "mozilla database could not be created. Maybe you have no mozilla installed." + Kontext "MessageBox" + if (MessageBox.exists(1)) then + MessageBox.OK + endif endif + ' try to close the database + call fCloseDatabase(false) endcase '------------------------------------------------------------------------- |