[fdo-internals] Code Submission Notification: ArcSDE + GenericRDBMS: fix unit test errors

Pierre Dalcourt pierre.dalcourt at autodesk.com
Fri Jan 26 06:40:55 EST 2007


Author:           Pierre Dalcourt

Date:             Friday, January 26, 2007

Title:            ArcSDE + GenericRDBMS: fix unit test errors

Reviewed by:      Jack Lee

 

Fixed ArcSDE Unit test errors:

 

Following recent performance changes, the unit tests no longer ran
correctly in 

release mode due to applyschema-related metadata no longer being read in
release 

mode.  Basically, caused the case of class/property names to come back
as upper case

instead of mixed case.  this This submission addresses these issues so
that unit tests

can run in release mode again.

 

Also re-enabled void the unit test ThreadingTests::a_few_threads() since

the sporadic crashing may have been resolved by an arcsde provider fix
from

last November by Gavin Cramer.

 

 

Fixed SQL Server Unit test error:

 

Added a new environment variable "sqlserver_data_root" to point to

the directory where to place test filegroups used for override testing.

If this isn't specified, it defaults to "C:\\Program Files\\Microsoft
SQL Server\\MSSQL\\data".

 

TESTING PERFORMED:

ArcSDE Unit tests run in release mode with no new errors.

SqlServerFdoApplySchemaTest::TestOverrides() run with no errors.

 

================

 

ArcSDE/Src/UnitTest/ArcSDETests.cpp

ArcSDE/Src/UnitTest/ArcSDETests.h

ArcSDE/Src/UnitTest/BasicInsertTests.cpp

ArcSDE/Src/UnitTest/BasicUpdateTests.cpp

ArcSDE/Src/UnitTest/RecommitTest.cpp

ArcSDE/Src/UnitTest/ThreadingTests.cpp

 

GenericRDBMS/Src/UnitTest/SqlServer/SqlServerFdoApplySchemaTest.cpp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-internals/attachments/20070126/b5ceecfc/attachment-0001.html


More information about the fdo-internals mailing list