-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
53: Querying string literals with diacritics or angle brackets yields no
result Task-Url: http://github.com/agazzarini/SolRDF/issues/issue/53
- Loading branch information
agazzarini
committed
Apr 16, 2015
1 parent
463fee0
commit 29b6c0a
Showing
8 changed files
with
232 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
solrdf/src/test/java/org/gazzax/labs/solrdf/integration/sparql/Issue53_ITCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
* This Test case makes use of some examples from | ||
* | ||
* "Learning SPARQL - Querying and Updating with SPARQL 1.1" by Bob DuCharme | ||
* | ||
* Publisher: O'Reilly | ||
* Author: Bob DuCharme | ||
* ISBN: 978-1-449-37143-2 | ||
* http://www.learningsparql.com/ | ||
* http://shop.oreilly.com/product/0636920030829.do | ||
* | ||
* We warmly appreciate and thank the author and O'Reilly for such permission. | ||
* | ||
*/ | ||
package org.gazzax.labs.solrdf.integration.sparql; | ||
|
||
import static org.gazzax.labs.solrdf.MisteryGuest.misteryGuest; | ||
|
||
import org.gazzax.labs.solrdf.integration.IntegrationTestSupertypeLayer; | ||
import org.junit.After; | ||
import org.junit.Test; | ||
|
||
/** | ||
* Querying string literals with diacritics or angle brackets yields no result. | ||
* | ||
* @author Andrea Gazzarini | ||
* @since 1.0 | ||
* @see | ||
*/ | ||
public class Issue53_ITCase extends IntegrationTestSupertypeLayer { | ||
protected final static String EXAMPLES_DIR = "src/test/resources/sample_data"; | ||
|
||
/** | ||
* Shutdown procedure for this test. | ||
* | ||
* @throws Exception hopefully never. | ||
*/ | ||
@After | ||
public void tearDown() throws Exception { | ||
clearDatasets(); | ||
} | ||
|
||
@Test | ||
public void diacriticsInWhereCondition() throws Exception { | ||
execute(misteryGuest("issue_53_diacriticts.rq", "issue_53_diacriticts.ttl")); | ||
} | ||
|
||
@Test | ||
public void squareBracketsInLiterals() throws Exception { | ||
execute(misteryGuest("issue_53_square_brackets.rq", "issue_53_square_brackets.ttl")); | ||
} | ||
|
||
@Override | ||
protected String examplesDirectory() { | ||
return EXAMPLES_DIR; | ||
} | ||
} |
Oops, something went wrong.