[
https://issues.apache.org/jira/browse/JENA-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600097#comment-14600097
]
Andy Seaborne commented on JENA-974:
------------------------------------
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.
> jena-querybuilder cannot build
> ------------------------------
>
> Key: JENA-974
> URL: https://issues.apache.org/jira/browse/JENA-974
> Project: Apache Jena
> Issue Type: Bug
> Components: Jena
> Affects Versions: Jena 3.0.0
> Reporter: A. Soroka
>
> Building the current (commit 1d2794e787d268d15b52690717e223687c4a9419) master
> branch of Jena results in jena-querybuilder failing to build with:
> Tests run: 196, Failures: 42, Errors: 0, Skipped: 0
> and therefore the entire build failing.
> This may be due to a recent commit.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)