public abstract class SeRQLQueryTestCase
extends junit.framework.TestCase
Modifier and Type | Class and Description |
---|---|
static interface |
SeRQLQueryTestCase.Factory |
Constructor and Description |
---|
SeRQLQueryTestCase(String name,
String dataFile,
List<String> graphNames,
String queryFile,
String resultFile,
String entailment)
Creates a new SeRQL Query test.
|
Modifier and Type | Method and Description |
---|---|
protected Repository |
createRepository(String entailment) |
protected NotifyingSail |
createSail(String entailment) |
protected void |
discardRepository(Repository rep) |
protected abstract QueryLanguage |
getQueryLanguage() |
protected Repository |
newRepository() |
protected Repository |
newRepository(String entailment) |
protected abstract NotifyingSail |
newSail() |
protected void |
runTest() |
static junit.framework.Test |
suite(SeRQLQueryTestCase.Factory factory) |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, setUp, tearDown, toString
protected void runTest() throws Exception
runTest
in class junit.framework.TestCase
Exception
protected Repository createRepository(String entailment) throws Exception
Exception
protected Repository newRepository() throws Exception
Exception
protected Repository newRepository(String entailment) throws Exception
Exception
protected NotifyingSail createSail(String entailment) throws Exception
Exception
protected abstract NotifyingSail newSail() throws Exception
Exception
protected void discardRepository(Repository rep)
public static junit.framework.Test suite(SeRQLQueryTestCase.Factory factory) throws Exception
Exception
protected abstract QueryLanguage getQueryLanguage()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.