public class TestMultiTenancyAPI<S extends IIndexManager> extends AbstractTestNanoSparqlClient<S>
TestCase2.MyProperties, TestCase2.RandomType
m_client, m_fixture, m_mgr, m_repo, m_rootURL, m_serviceURL, namespace, packagePath
_randomType, log
Constructor and Description |
---|
TestMultiTenancyAPI() |
TestMultiTenancyAPI(String name) |
Modifier and Type | Method and Description |
---|---|
protected Map<org.openrdf.model.Resource,com.bigdata.rdf.sail.webapp.TestMultiTenancyAPI.VoidSummary> |
getRepositoryDescriptions()
Extract the VoID summary of the known data sets.
|
protected static Map<String,com.bigdata.rdf.sail.webapp.TestMultiTenancyAPI.VoidSummary> |
indexOnNamespace(Collection<com.bigdata.rdf.sail.webapp.TestMultiTenancyAPI.VoidSummary> c)
Return an index over the
VoidSummary collection using the
namespace of the data set as the key for the index. |
static junit.framework.Test |
suite() |
void |
test_create01()
Unit test creates one (or more) namespaces, verifies that we can list the
namespaces, verifies that we can obtain the effective properties for each
namespace, verifies that we can obtain the ServiceDescription for the
namespaces, verifies that we can Query/Update each namespace, and
verifies that we can delete each namespace.
|
void |
test_create02()
Test for correct URL encoding of the namespace in the URL requests.
|
void |
test_create03()
Test verifies rejecting an incorrect string as a namespace name.
|
void |
test_describeDataSets01()
Verify that the default data set (aka KB) is described.
|
void |
test_getPreparedPropertiesCompatibility()
Verify fail create properties if
properties are not compatible.
|
void |
test_getRepositoryProperties01()
Verify the ability to obtain the effective configuration properties for
the default data set.
|
void |
test_PreparedPropertiesContainNewValues()
Test verifies properties were renamed correctly.
|
void |
test_PreparedPropertiesNotContainOldValues()
Test verifies prepared properties
do not contain old properties.
|
void |
test_PropertiesBlackList()
Test verifies prepared properties
do not contain blacklisted properties.
|
void |
testEOFStreams() |
asGraph, asGraph, assertSameGraph, assertSameGraph, countAll, countMatches, countResults, countResults, countResults, doConstructTest, doDeleteWithAccessPath, doDeleteWithBody, doDeleteWithPostTest, doDeleteWithQuery, doDescribeTest, doInsertByBody, doInsertbyURL, doInsertWithBodyTest, genNTRIPLES, genNTRIPLES2, getExactSize, getMatches, getResponseBody, getTestMode, getVeryLargeLiteral, loadGraphFromResource, newFixture, readFromFile, readGraphFromFile, setUp, setupDataOnServer, setupQuadsDataOnServer, tearDown, writeOnBuffer
getDelegate, getIndexManager, getOurDelegate, getProperties, setDelegate
checkIfProxy, setUp, 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, toString
public TestMultiTenancyAPI()
public TestMultiTenancyAPI(String name)
public static junit.framework.Test suite()
protected static Map<String,com.bigdata.rdf.sail.webapp.TestMultiTenancyAPI.VoidSummary> indexOnNamespace(Collection<com.bigdata.rdf.sail.webapp.TestMultiTenancyAPI.VoidSummary> c)
VoidSummary
collection using the
namespace of the data set as the key for the index.c
- The Collection
.protected Map<org.openrdf.model.Resource,com.bigdata.rdf.sail.webapp.TestMultiTenancyAPI.VoidSummary> getRepositoryDescriptions() throws Exception
Exception
public void test_describeDataSets01() throws Exception
Exception
public void test_getRepositoryProperties01() throws Exception
Exception
public void test_getPreparedPropertiesCompatibility() throws Exception
Exception
public void test_PreparedPropertiesContainNewValues() throws Exception
Exception
public void test_PreparedPropertiesNotContainOldValues() throws Exception
Exception
public void test_PropertiesBlackList() throws Exception
Exception
public void test_create01() throws Exception
Exception
public void test_create02() throws Exception
Exception
public void test_create03() throws Exception
Exception
public void testEOFStreams() throws IOException
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.