[
https://issues.apache.org/jira/browse/JENA-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14680235#comment-14680235
]
A. Soroka commented on JENA-1007:
---------------------------------
Is this the same as JENA-975?
> harden query builder tests
> ---------------------------
>
> Key: JENA-1007
> URL: https://issues.apache.org/jira/browse/JENA-1007
> Project: Apache Jena
> Issue Type: Improvement
> Components: QueryBuilder
> Reporter: Claude Warren
> Priority: Minor
>
> The problem is in the way jena-querybuilder does testing. It does a regex on
> the rturn from
> {{builder.buildString()}] which in term is {{builder.build().toString()}}.
> Testing whether a query is the expected one by using string matching is
> fragile. Much better
> is to call {{Query.equals}} -- write the expected query, parse it to a
> {{Query}} object and
> call {{Query::equals}}.
> The reason jena-querybuilder is now failing tests is JENA-972 which improves
> the string appear
> of queries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)