Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-975

Improve the quality of jena-querybuilder's tests

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Resolved
    • Jena 3.0.0
    • None
    • QueryBuilder
    • None

    Description

      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.

      Attachments

        Activity

          People

            claude Claude Warren
            ajs6f Adam Soroka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: