bio2rdf/queryall — pull request #15 by ansell (2011-12-21 01:16:46+00:00)
Title: New tests, move core namespace and profile matching code to queryall-api

New tests for the main components, moving closer to testing RdfFetchController which is the most complex class and is currently untested

Standardised the values for NamespaceMatch methods in an Enum

Moved the core namespace match code into the NamespaceMatch class as it is at the core of the model and does not need to be modified by alternative implementations. Any addition namespace match methods need to be added into the NamespaceMatch enum now, as the relevant methods have changed from using URIs to using the NamespaceMatch enum

Moved the core profile matching code into the existing ProfileMatch enum so it can be used everywhere without relying on queryall-lib. It should not change unless the model changes, in which case queryall-api would change to match the model change