Michael,

I just spent some time reworking the Model tests in 2.10 so that they can
be run by other implementations of Model.  As far as I know there has not
been any similar work for dataset.

see
http://svn.apache.org/repos/asf/jena/trunk/jena-core/src/test/java/com/hp/hpl/jena/rdf/model/test/TestPackage.java

for an example of how to implement the TestingModelFactory and plug it into
the testing framework.

As I recall there is a directory of testing files that need to be included
(there is a defect for this that I have not had a chance to work on yet).

https://github.com/Claudenw/JenaSecurity/blob/master/JenaSecurity/src/test/java/org/xenei/jena/security/contract/model/TestPackage.java
Shows how I used the tests in a 3rd party package.

Claude

On Mon, Mar 25, 2013 at 12:18 PM, Mike Grove <[email protected]> wrote:

> I am wondering what would be the best choice to see if a custom
> Model/Dataset worked as expected?  I have some custom tests, but I'm sure
> those are a bit short on coverage.  So if there was some way I could re-use
> the same tests Jena uses, that'd be helpful.
>
> Thanks.
>
> Michael
>



-- 
I like: Like Like - The likeliest place on the web<http://like-like.xenei.com>
Identity: https://www.identify.nu/[email protected]
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to