MDAC 2.5 SDK - OLE DB Testing


 

Building and Running the ADO Minimal Tests

The three tests described in the following table are available for testing your consumers and providers in ADO.

ADO test Description
Level 0 Conformance Tests Mapping ADO properties and methods to OLE DB interfaces provides the basis for grouping ADO properties and methods into the conformance levels.

Before running ADO Level 0 conformance tests, you must manually modify the .ini file generated by TableDump as shown in the .ini file example. Modify the SELECT_EMPTYROWSET line under [QUERY] by adding a query that will yield no results. For example:

{SELECT_EMPTYROWSET("select * from mytable where 1=2")}

If you do not modify this line, end-of-file and beginning-of-file tests will fail.

For more information, see the technical article Mapping ADO Methods to OLE DB Interfaces.

Update Conformance Tests These tests are provided to confirm that ADO Update statements will work with compliant updatable providers.
Transaction Conformance Tests These tests are provided to confirm that ADO Transaction statements will work with compliant providers that support transactions.