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 Norm Olsen)

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 Norm Olsen, 16 years ago

Component: DictionariesTests
Description: modified (diff)
Keywords: Console Test added
Priority: majorminor

comment:2 by Norm Olsen, 16 years ago

Owner: changed from hugueswski to Norm Olsen
Status: newassigned
Type: defecttask

comment:3 by Norm Olsen, 16 years ago

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.

comment:4 by Norm Olsen, 15 years ago

Resolution: fixed
Status: assignedclosed

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.