You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Claude Warren (JIRA)" <ji...@apache.org> on 2012/12/22 10:21:12 UTC

[jira] [Updated] (JENA-370) No test cases for alternative Model implementations

     [ https://issues.apache.org/jira/browse/JENA-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claude Warren updated JENA-370:
-------------------------------

    Attachment: JENA-370.patch

Patch to modify current model tests to allow for alternative implementations.

Includes patch for sub-task: Create a reset for TypeMapper
Includes patch for sub-task: UnsupportedPolymorphismException implicit dependency.


Deprecates ModelTestBase but retains it to support other test cases that use it.
                
> No test cases for alternative Model implementations
> ---------------------------------------------------
>
>                 Key: JENA-370
>                 URL: https://issues.apache.org/jira/browse/JENA-370
>             Project: Apache Jena
>          Issue Type: Test
>          Components: Jena
>    Affects Versions: Jena 2.7.4
>            Reporter: Claude Warren
>         Attachments: JENA-370.patch
>
>
> The Model tests are all hard coded to use the ModelFactory.createDefaultModel() (and similar) model constructors.  This makes it impossible for alternative implementations to verify they meet the interface contracts.  
> One solution is to convert the tests to use a getModel() method ala the getGraph() method used for the graph tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira