public class TestNanoSparqlServer extends TestCase2
NanoSparqlServer
with a focus on the ability to
override the init parameters, the default http port, etc. This test suite is
written without the proxy mechanisms to make this easier to debug.TestCase2.MyProperties, TestCase2.RandomType
Modifier and Type | Field and Description |
---|---|
protected Journal |
m_indexManager |
protected String |
namespace |
_randomType, log
Constructor and Description |
---|
TestNanoSparqlServer() |
Modifier and Type | Method and Description |
---|---|
protected Properties |
getTripleStoreProperties() |
void |
setUp() |
void |
tearDown() |
void |
test_start_stop()
Simple start/kill in which we verify that the default KB was NOT created
and that the explicitly create KB instance can still be resolved.
|
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, getProperties, 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, toString
public void test_start_stop()
web.xml
to specify the ConfigParams.NAMESPACE
and
ConfigParams.CREATE
properties. If those overrides are not
applied then the default KB will be created and this test will fail. If
the test fails, the place to look is NanoSparqlServer
where it is
overriding the init parameters for the WebAppContext
.protected Properties getTripleStoreProperties()
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.