Opened 16 years ago

Closed 16 years ago

#262 closed enhancement (fixed)

Reduce order dependencies in SchemaMgrTests.TestSpatialContexts

Reported by: brentrobinson Owned by: brentrobinson
Priority: minor Milestone: 3.3.0
Component: FDO API Version: 3.3.0
Severity: 3 Keywords:
Cc: External ID:

Description

This ticket will add the ability to do some extra processing to the output files generated by the abovementioned test. Some providers may reverse-engineer spatial contexts, from non-FDO datastores, in an unpredictable order, meaning that the spatial contexts in the output files are not in a predictable order. This leads to false failures when these files are compared against the masters.

The solution will be to add a stylesheet that removes the contents of each spatial contexts and pastes it into each referencing geometric property. This gets the contents of the output files back to a predictable order.

Change History (2)

comment:1 by brentrobinson, 16 years ago

Status: newassigned

Revision: 3771 Author: brentrobinson Date: 1:07:53 PM, Wednesday, February 20, 2008 Message: Ticket#262: SchemaMgrTests.testSpatialContexts: handle spatial contexts that may be in an unpredictable order in the output files.


Modified : /trunk/Providers/GenericRdbms/Src/UnitTest/Common/SchemaMgrTests.cpp Modified : /trunk/Providers/GenericRdbms/Src/UnitTest/gen_default1_Oracle_master.txt Modified : /trunk/Providers/GenericRdbms/Src/UnitTest/spatial_contexts1_Oracle_master.txt Modified : /trunk/Providers/GenericRdbms/Src/UnitTest/spatial_contexts2_Oracle_master.txt

comment:2 by gregboone, 16 years ago

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