Opened 16 years ago
Closed 15 years ago
#36 closed task (fixed)
Console test program needs to be updated to C++
Reported by: | Norm Olsen | Owned by: | Norm Olsen |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Tests | Version: | |
Keywords: | Console Test | Cc: |
Description (last modified by )
As the CS-MAP library was originally developed in C, the console test program was also written in C, and has remained in that form. As more and more C++ has crept into the CS-MAP library, it now becomes very inconvenient for the console test facility to remain a C program. It's easy to call C from C++, but rather painful to call C++ from C.
Change History (4)
comment:1 by , 16 years ago
Component: | Dictionaries → Tests |
---|---|
Description: | modified (diff) |
Keywords: | Console Test added |
Priority: | major → minor |
comment:2 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Type: | defect → task |
comment:3 by , 16 years ago
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
A directory named TestCpp has been added and the legacy Test module cported from 'C' to C++. APpears to work well, so this ticket is now closed.
Note:
See TracTickets
for help on using tickets.
One of the major reasons for this change, is to add tests which use the newly complete EPSG DataSet access object. These test were written to test the completion of the EPSG DataSet access facility. And so, these new tests are also made a part of the effort to upgrade the Console test Facility.
Note, the original 'C' version of the console test facility remains intact; producing a fair amount of duplicate code unfortunately. This situaion will disappear in a few months after we're confident tha the new C++ version is a faithful replacement for the original C version.