[fdo-trac] #657: Fixes FDO ODBC Unit Tests on 64bit Platform
FDO
trac_fdo at osgeo.org
Tue Jun 22 06:11:33 EDT 2010
#657: Fixes FDO ODBC Unit Tests on 64bit Platform
-----------------------------+----------------------------------------------
Reporter: leaf | Owner: gregboone
Type: defect | Status: new
Priority: major | Milestone: 3.6.0
Component: ODBC Provider | Version: 3.4.0
Severity: 3 | Keywords:
External_id: |
-----------------------------+----------------------------------------------
Actually FDO ODBC Unit Tests never works on 64bit Platform. It has the
following issues.
1. 64bit Office ODBC Providers aren't avaiable until Office 2010 is
released in this year. So we are able to test them. Now Office 2010 is
released. We need to modify FDO ODBC Unit Tests so that it can run unit
tests correctly on 64bit platform.
2. Some of unit tests failed in release mode. It seems we didn't found
them. For example, method GetConnectStringLidar() in class
OdbcAccessFdoInsertTest uses a hard-code string with file name
"Dbg/Lidar.mdb". However, file folder 'Dbg' will not be created in release
mode. So some of tests in class OdbcAccessFdoInsertTest will fail in
release mode.
class OdbcAccessFdoInsertTest : public OdbcBaseFdoInsertTest
{
public:
// Some values that can vary by target datastore...
FdoString * GetConnectStringLidar() {return
L"ConnectionString=\"Driver={Microsoft Access Driver
(*.mdb)};DBQ=Dbg/Lidar.mdb;ReadOnly=False\"";}
FdoString * GetConfigFile() {return L"MsTestConfig.xml";}
FdoString * GetConfigFile2() {return L"MsTestNoGeometry.xml";}
};
There are some similar issues for other unit tests. We need to fix them
too.
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/657>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list