You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "A. Soroka (JIRA)" <ji...@apache.org> on 2015/06/25 15:12:04 UTC

[jira] [Created] (JENA-975) Improve the quality of jena-querybuilder's tests

A. Soroka created JENA-975:
------------------------------

             Summary: Improve the quality of jena-querybuilder's tests
                 Key: JENA-975
                 URL: https://issues.apache.org/jira/browse/JENA-975
             Project: Apache Jena
          Issue Type: Task
          Components: Jena
    Affects Versions: Jena 3.0.0
            Reporter: A. Soroka
            Priority: Minor


Currently, {{jena-querybuilder}} tests whether a query is the expected one by using string matching. This is fragile and breaks when the string representation of a {{Query}} changes. It would be much better to use {{Query::equals}}, by parsing the correct expected query to a {{Query}} object and comparing it to the constructed sample.



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