Actually, since I am implementing security as a dynamic proxy to graph
and model (dataset later) I need both.

Thanks for the pointer.. I will at it this evening.

--Claude

On Mon, Nov 26, 2012 at 10:36 AM, Damian Steer <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 25/11/12 14:15, Claude Warren wrote:
>> I am looking for a set of tests that I would call contract tests.
>
> <snip example model tests>
>
> I hope you're not trying to implement model. Will assume Graph.
>
>> Basically a set of tests that prove an implementation meets all
>> the contracts of an API is what I am looking for.
>
> IIRC I've used com.hp.hpl.jena.graph.test.AbstractTestGraph for this
> purpose. Subclass and provide a getGraph() method.
>
> Edit: on further inspection you may want MetaTestGraph:
>
>     MetaTestGraph.suite(MetaTestGraph.class, MyGraph.class)
>
> returns a suite of tests.
>
> Damian
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with undefined - http://www.enigmail.net/
>
> iEYEARECAAYFAlCzRhsACgkQAyLCB+mTtykgJgCg0pyP+1gi0w6zd0pDv+LpqOov
> iwwAoKwFmIp/T4O8MyYQk1MTMs/JwvU3
> =Nuwu
> -----END PGP SIGNATURE-----



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

Reply via email to