You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Dimitris Kontokostas (JIRA)" <ji...@apache.org> on 2016/01/14 12:00:43 UTC

[jira] [Created] (JENA-1117) Model.isIsomorphicWith() does not behave correctly

Dimitris Kontokostas created JENA-1117:
------------------------------------------

             Summary: Model.isIsomorphicWith() does not behave correctly
                 Key: JENA-1117
                 URL: https://issues.apache.org/jira/browse/JENA-1117
             Project: Apache Jena
          Issue Type: Bug
          Components: Jena
    Affects Versions: Jena 2.13.0
         Environment: Ubuntu 15.10
            Reporter: Dimitris Kontokostas
            Priority: Minor


The following code succeeds on the first check where the difference is empty but fails with isIsomorphicWith() where it shouldn't

```
       Model difference = inputModel.difference(outputModel);
        assertThat(difference.isEmpty()).isTrue();
        assertThat(inputModel.isIsomorphicWith(outputModel)).isTrue();
```

The code does not fail always, works with all of my test files except the following:
https://raw.githubusercontent.com/AKSW/RDFUnit/d29315a5fef16855253222d5606555bbf2b5a1f6/rdfunit-model/src/test/resources/org/aksw/rdfunit/model/results/sample.extendedTestCaseResult.ttl



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)