Class AbstractLuceneSailTest
java.lang.Object
org.eclipse.testsuite.rdf4j.sail.lucene.AbstractLuceneSailTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IRIstatic final IRIstatic final IRIstatic final IRIstatic final IRIstatic final IRIstatic final Stringprotected Repositoryprotected LuceneSailstatic final IRIstatic final IRIstatic final IRIstatic final IRIstatic final IRIprotected static final ValueFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertNoQueryResult(String literal) protected voidassertQueryResult(String literal, IRI predicate, Resource resultUri) protected abstract voidconfigure(LuceneSail sail) voidsetUp()voidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoidwe experienced problems with the NULL context and lucenesail in August 2008voidvoidvoidvoidvoidvoidTest if the snippets do not accidentially come from the "text" field while we actually expect them to come from the predicate field.voidvoidvoid
-
Field Details
-
vf
-
QUERY_STRING
-
SUBJECT_1
-
SUBJECT_2
-
SUBJECT_3
-
SUBJECT_4
-
SUBJECT_5
-
CONTEXT_1
-
CONTEXT_2
-
CONTEXT_3
-
PREDICATE_1
-
PREDICATE_2
-
PREDICATE_3
-
sail
-
repository
-
-
Constructor Details
-
AbstractLuceneSailTest
public AbstractLuceneSailTest()
-
-
Method Details
-
configure
- Throws:
IOException
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
IOExceptionRepositoryException
-
testTriplesStored
- Throws:
Exception
-
testRegularQuery
@Test public void testRegularQuery() throws RepositoryException, MalformedQueryException, QueryEvaluationException -
testComplexQueryOne
@Test public void testComplexQueryOne() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testComplexQueryTwo
@Test public void testComplexQueryTwo() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testMultipleLuceneQueries
@Test public void testMultipleLuceneQueries() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testPredicateLuceneQueries
@Test public void testPredicateLuceneQueries() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testSnippetQueries
@Test public void testSnippetQueries() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testSnippetLimitedToPredicate
@Test public void testSnippetLimitedToPredicate() throws MalformedQueryException, RepositoryException, QueryEvaluationExceptionTest if the snippets do not accidentially come from the "text" field while we actually expect them to come from the predicate field. -
testGraphQuery
@Test public void testGraphQuery() throws QueryEvaluationException, MalformedQueryException, RepositoryException -
testQueryWithSpecifiedSubject
@Test public void testQueryWithSpecifiedSubject() throws RepositoryException, MalformedQueryException, QueryEvaluationException -
testUnionQuery
@Test public void testUnionQuery() throws RepositoryException, MalformedQueryException, QueryEvaluationException -
testContextHandling
- Throws:
Exception
-
testConcurrentReadingAndWriting
- Throws:
Exception
-
testNullContextHandling
we experienced problems with the NULL context and lucenesail in August 2008- Throws:
Exception
-
testFuzzyQuery
@Test public void testFuzzyQuery() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testReindexing
- Throws:
Exception
-
testPropertyVar
@Test public void testPropertyVar() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testMultithreadedAdd
- Throws:
InterruptedException
-
assertQueryResult
protected void assertQueryResult(String literal, IRI predicate, Resource resultUri) throws Exception - Throws:
Exception
-
assertNoQueryResult
- Throws:
Exception
-