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)

Reply via email to