Opened 14 years ago

Closed 6 years ago

#657 closed defect (fixed)

Fixes FDO ODBC Unit Tests on 64bit Platform

Reported by: leaf Owned by: gregboone
Priority: major Milestone: 3.6.0
Component: ODBC Provider Version: 3.4.0
Severity: 3 Keywords:
Cc: External ID:

Description

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.
  1. 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.

Change History (1)

comment:1 by jng, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.