public class TestNanoSparqlServerWithProxyIndexManager2<S extends IIndexManager> extends AbstractIndexManagerTestCase<S>
Modifier and Type | Class and Description |
---|---|
static class |
TestNanoSparqlServerWithProxyIndexManager2.Test_NSS_quads
The
TestMode.quads test suite. |
static class |
TestNanoSparqlServerWithProxyIndexManager2.Test_NSS_sids
The
TestMode.sids test suite. |
static class |
TestNanoSparqlServerWithProxyIndexManager2.test_NSS_triples
The
TestMode.triples test suite. |
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestNanoSparqlServerWithProxyIndexManager2()
Run in triples mode on a temporary journal.
|
TestNanoSparqlServerWithProxyIndexManager2(String name)
Run in triples mode on a temporary journal.
|
Modifier and Type | Method and Description |
---|---|
S |
getIndexManager() |
Properties |
getProperties()
Reads in the configuration properties for the test from a
variety of resources and returns a properties hierarchy.
|
static void |
main(String[] args)
Runs the test suite against an
IBigdataFederation or a
Journal . |
static junit.framework.Test |
suite()
Return suite running in triples mode against a temporary journal.
|
static junit.framework.Test |
suite(IIndexManager indexManager,
com.bigdata.rdf.sail.webapp.TestMode testMode)
Return suite running in the given mode against the given
IIndexManager . |
static junit.framework.Test |
suite(com.bigdata.rdf.sail.webapp.TestMode testMode)
Return suite running in the specified mode against a temporary journal.
|
checkIfProxy, setUp, tearDown, tearDown, tearDownAfterSuite
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
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, runTest, setName, setUp, toString
public TestNanoSparqlServerWithProxyIndexManager2()
public TestNanoSparqlServerWithProxyIndexManager2(String name)
public static junit.framework.Test suite()
public static junit.framework.Test suite(com.bigdata.rdf.sail.webapp.TestMode testMode)
public static junit.framework.Test suite(IIndexManager indexManager, com.bigdata.rdf.sail.webapp.TestMode testMode)
IIndexManager
.public S getIndexManager()
getIndexManager
in class AbstractIndexManagerTestCase<S extends IIndexManager>
public Properties getProperties()
TestCase2
Properties
object, then the lower levels of the
hierarchy are recursively searched.The hierarchy is constructed from the following properties files in the following order. The first property file in this list corresponds to the top of the property hierarchy. The last property file in this list corresponds to the bottom of the property hierarchy. The property resources are:
getProperties
in class AbstractIndexManagerTestCase<S extends IIndexManager>
Properties
object that supplies bindings for
property names according to the described hierarchy among
property resources. The returned Properties
is NOT
cached.
TODO This does not handle the recursive truncation of the
class name to search for "test.properties" yet.public static void main(String[] args) throws Exception
IBigdataFederation
or a
Journal
. The federation must already be up and running. An
embedded NanoSparqlServer
instance will be created for each test
run. Each test will run against a distinct KB instance within a unique
bigdata namespace on the same backing IIndexManager
.
When run for CI, this can be executed as:
... -Djava.security.policy=policy.all TestNanoSparqlServerWithProxyIndexManager triples /nas/bigdata/benchmark/config/bigdataStandalone.config
args
-
(testMode) (propertyFile|configFile)
where propertyFile is the configuration file for a
Journal
. IBigdataFederation
.Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.