public abstract class AbstractLuceneSailTest extends Object
| Modifier and Type | Field and Description |
|---|---|
static IRI |
CONTEXT_1 |
static IRI |
CONTEXT_2 |
static IRI |
CONTEXT_3 |
static IRI |
PREDICATE_1 |
static IRI |
PREDICATE_2 |
static IRI |
PREDICATE_3 |
static String |
QUERY_STRING |
protected Repository |
repository |
protected LuceneSail |
sail |
static IRI |
SUBJECT_1 |
static IRI |
SUBJECT_2 |
static IRI |
SUBJECT_3 |
static IRI |
SUBJECT_4 |
static IRI |
SUBJECT_5 |
org.junit.rules.Timeout |
timeout |
protected static ValueFactory |
vf |
| Constructor and Description |
|---|
AbstractLuceneSailTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertNoQueryResult(String literal) |
protected void |
assertQueryResult(String literal,
IRI predicate,
Resource resultUri) |
protected abstract void |
configure(LuceneSail sail) |
void |
setUp() |
void |
tearDown() |
void |
testComplexQueryOne() |
void |
testComplexQueryTwo() |
void |
testConcurrentReadingAndWriting() |
void |
testContextHandling() |
void |
testFuzzyQuery() |
void |
testGraphQuery() |
void |
testMultipleLuceneQueries() |
void |
testMultithreadedAdd() |
void |
testNullContextHandling()
we experienced problems with the NULL context and lucenesail in August 2008
|
void |
testPredicateLuceneQueries() |
void |
testPropertyVar() |
void |
testQueryWithSpecifiedSubject() |
void |
testRegularQuery() |
void |
testReindexing() |
void |
testSnippetLimitedToPredicate()
Test if the snippets do not accidentially come from the "text" field while we actually expect them to come from
the predicate field.
|
void |
testSnippetQueries() |
void |
testTriplesStored() |
void |
testUnionQuery() |
public org.junit.rules.Timeout timeout
protected static final ValueFactory vf
public static final String QUERY_STRING
public static final IRI SUBJECT_1
public static final IRI SUBJECT_2
public static final IRI SUBJECT_3
public static final IRI SUBJECT_4
public static final IRI SUBJECT_5
public static final IRI CONTEXT_1
public static final IRI CONTEXT_2
public static final IRI CONTEXT_3
public static final IRI PREDICATE_1
public static final IRI PREDICATE_2
public static final IRI PREDICATE_3
protected LuceneSail sail
protected Repository repository
protected abstract void configure(LuceneSail sail) throws IOException
IOExceptionpublic void tearDown()
throws IOException,
RepositoryException
IOExceptionRepositoryExceptionpublic void testRegularQuery()
throws RepositoryException,
MalformedQueryException,
QueryEvaluationException
public void testComplexQueryOne()
throws MalformedQueryException,
RepositoryException,
QueryEvaluationException
public void testComplexQueryTwo()
throws MalformedQueryException,
RepositoryException,
QueryEvaluationException
public void testMultipleLuceneQueries()
throws MalformedQueryException,
RepositoryException,
QueryEvaluationException
public void testPredicateLuceneQueries()
throws MalformedQueryException,
RepositoryException,
QueryEvaluationException
public void testSnippetQueries()
throws MalformedQueryException,
RepositoryException,
QueryEvaluationException
public void testSnippetLimitedToPredicate()
throws MalformedQueryException,
RepositoryException,
QueryEvaluationException
public void testGraphQuery()
throws QueryEvaluationException,
MalformedQueryException,
RepositoryException
public void testQueryWithSpecifiedSubject()
throws RepositoryException,
MalformedQueryException,
QueryEvaluationException
public void testUnionQuery()
throws RepositoryException,
MalformedQueryException,
QueryEvaluationException
public void testConcurrentReadingAndWriting()
throws Exception
Exceptionpublic void testNullContextHandling()
throws Exception
Exceptionpublic void testFuzzyQuery()
throws MalformedQueryException,
RepositoryException,
QueryEvaluationException
public void testPropertyVar()
throws MalformedQueryException,
RepositoryException,
QueryEvaluationException
public void testMultithreadedAdd()
throws InterruptedException
InterruptedExceptionprotected void assertQueryResult(String literal, IRI predicate, Resource resultUri) throws Exception
ExceptionCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.