Class AbstractLuceneSailTest
java.lang.Object
org.eclipse.testsuite.rdf4j.sail.lucene.AbstractLuceneSailTest
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IRI
static final IRI
static final IRI
static final IRI
static final IRI
static final IRI
static final String
protected Repository
protected LuceneSail
static final IRI
static final IRI
static final IRI
static final IRI
static final IRI
org.junit.rules.Timeout
protected static final ValueFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
assertNoQueryResult
(String literal) protected void
assertQueryResult
(String literal, IRI predicate, Resource resultUri) protected abstract void
configure
(LuceneSail sail) void
setUp()
void
tearDown()
void
void
void
void
void
void
void
void
void
we experienced problems with the NULL context and lucenesail in August 2008void
void
void
void
void
void
Test if the snippets do not accidentially come from the "text" field while we actually expect them to come from the predicate field.void
void
void
-
Field Details
-
timeout
public org.junit.rules.Timeout timeout -
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:
IOException
RepositoryException
-
testTriplesStored
- Throws:
Exception
-
testRegularQuery
public void testRegularQuery() throws RepositoryException, MalformedQueryException, QueryEvaluationException -
testComplexQueryOne
public void testComplexQueryOne() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testComplexQueryTwo
public void testComplexQueryTwo() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testMultipleLuceneQueries
public void testMultipleLuceneQueries() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testPredicateLuceneQueries
public void testPredicateLuceneQueries() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testSnippetQueries
public void testSnippetQueries() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testSnippetLimitedToPredicate
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
public void testGraphQuery() throws QueryEvaluationException, MalformedQueryException, RepositoryException -
testQueryWithSpecifiedSubject
public void testQueryWithSpecifiedSubject() throws RepositoryException, MalformedQueryException, QueryEvaluationException -
testUnionQuery
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
public void testFuzzyQuery() throws MalformedQueryException, RepositoryException, QueryEvaluationException -
testReindexing
- Throws:
Exception
-
testPropertyVar
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
-