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
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
-
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
@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
-