diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2009-03-23 16:15:09 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2009-03-23 16:15:09 +0000 |
commit | b9b433d81bb30cf5999b4eb75b452cc49f993add (patch) | |
tree | 062eac5f487a58bd2aa99c0dfc6f849eeec3dc56 /testautomation/dbaccess | |
parent | 9ecd04c8188d14db41e36e777901f8ce930eb3cf (diff) |
CWS-TOOLING: integrate CWS automation310e_DEV300
2009-03-20 12:09:30 +0100 msc r269793 : #100389#
Diffstat (limited to 'testautomation/dbaccess')
-rwxr-xr-x | testautomation/dbaccess/tools/dbcreatetools.inc | 38 |
1 files changed, 29 insertions, 9 deletions
diff --git a/testautomation/dbaccess/tools/dbcreatetools.inc b/testautomation/dbaccess/tools/dbcreatetools.inc index 50befccc92d5..99de3175cd22 100755 --- a/testautomation/dbaccess/tools/dbcreatetools.inc +++ b/testautomation/dbaccess/tools/dbcreatetools.inc @@ -1470,14 +1470,22 @@ function getIdForDatabaseType(sType as String ) as Integer if (sType = "AdabasD") then ii = 4 - elseif (sType = "dBase") then - ii = 6 + elseif (sType = "dBase") then + if gPlatform = "osx" then + ii = 5 + else + ii = 6 + endif elseif (sType = "Access") then ii = 0 elseif (sType = "Evolution") then ii = 13 - elseif (sType = "JDBC") then - ii = 8 + elseif (sType = "JDBC") then + if gPlatform = "osx" then + ii = 7 + else + ii = 8 + endif elseif (sType = "LDAP") then if gPlatGroup = "w95" then ii = 12 @@ -1496,14 +1504,26 @@ function getIdForDatabaseType(sType as String ) as Integer ii = 2 elseif (sType = "MySQLODBC") then ii = 1 - elseif (sType = "ODBC") then - ii = 9 + elseif (sType = "ODBC") then + if gPlatform = "osx" then + ii = 8 + else + ii = 9 + endif elseif (sType = "OracleJDBC") then ii = 3 - elseif (sType = "Spreadsheet") then - ii = 5 + elseif (sType = "Spreadsheet") then + if gPlatform = "osx" then + ii = 4 + else + ii = 5 + endif elseif (sType = "Text") then - ii = 7 + if gPlatform = "osx" then + ii = 6 + else + ii = 7 + endif elseif (sType = "ADO") then ii = 9 ' only 9 because on windows +1 is added at the end elseif (sType = "Windows") then ' windows addressbook |