summaryrefslogtreecommitdiff
path: root/testautomation/dbaccess
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-08-03 15:52:34 +0200
committerIvo Hinkelmann <ihi@openoffice.org>2010-08-03 15:52:34 +0200
commit2719d50de4f3f53fb283c7e7ee11fc7f69797716 (patch)
tree87a859c3f16e93629d353579d3f31633aad8338d /testautomation/dbaccess
parent5021698508beac3fcf1ce9c76f0e489cc2dfc1f1 (diff)
parent064a54918200a0584422f16b3dc28b5b0859be6e (diff)
CWS-TOOLING: integrate CWS automationooo330m1
Notes
split repo tag: testing_ooo/OOO330_m3
Diffstat (limited to 'testautomation/dbaccess')
-rwxr-xr-xtestautomation/dbaccess/optional/includes/wiz_DatabaseWizard.inc32
1 files changed, 18 insertions, 14 deletions
diff --git a/testautomation/dbaccess/optional/includes/wiz_DatabaseWizard.inc b/testautomation/dbaccess/optional/includes/wiz_DatabaseWizard.inc
index df9026ba2dd9..5be669dc1081 100755
--- a/testautomation/dbaccess/optional/includes/wiz_DatabaseWizard.inc
+++ b/testautomation/dbaccess/optional/includes/wiz_DatabaseWizard.inc
@@ -208,23 +208,27 @@ endcase
'-------------------------------------------------------------------------
testcase tMozilla
- 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."
+ 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
+ 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
- else
- qaerrorlog "mozilla database could not be created. Maybe you have no mozilla installed."
- Kontext "MessageBox"
- if (MessageBox.exists(1)) then
- MessageBox.OK
- endif
+ ' try to close the database
+ call fCloseDatabase(false)
endif
- ' try to close the database
- call fCloseDatabase(false)
endcase
'-------------------------------------------------------------------------