Issue Details (XML | Word | Printable)

Key: GEOT-831
Type: Task Task
Status: Open Open
Priority: Major Major
Assignee: Bryce Nordgren
Reporter: Bryce Nordgren
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
GeoTools

GeoAPI based ISO 19107 Test Cases

Created: 04/Apr/06 09:54 AM   Updated: 27/May/06 03:37 PM
Component/s: core geometry
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. PDF File JTS TestBuilder & TestRunner User Guide.pdf (584 kB)

Issue Links:
dependent
 


 Description  « Hide
We should create a set of test cases for 19107 geometry implementations which depend only on GeoAPI interfaces. These test cases can be used for our initial implementation as well as any future implementation. THese tests do not deal with the implementation details of any particular implementation, they just perform function tests on a backing implementation.

These tests may have to be abstract, as the means to create geometry objects is by no means defined in 19107. However, a concrete test suite should be made by implementing a single factory interface (perhaps based on CommonFactory) and passing this factory to the suite.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Bryce Nordgren added a comment - 04/Apr/06 09:56 AM
May be able to steal and adapt test cases from JTS.

Bryce Nordgren added a comment - 27/May/06 02:21 PM
Ugh! JTS built their own testing harness instead of using JUnit. It allows for intuitive graphical design of geometric predicate tests, but: 1] I don't know where to find the source for it (compiled jar is distributed with JTS); and 2] I don't know how to integrate it with JUnit/maven.

Do we have to write a maven plugin for this?

Bryce Nordgren added a comment - 27/May/06 03:37 PM
Did more digging:

1] The source code for JTS's custom test harness is available via anonymous CVS.
2] a CVS checkout also includes some JUnit tests which may be of some value.

It is worth stressing that neither of these is included in a source zipfile.