S
- public class Test_REST_Structure<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 |
---|
Test_REST_Structure() |
Test_REST_Structure(String name) |
Modifier and Type | Method and Description |
---|---|
static junit.framework.Test |
suite() |
void |
test_startup() |
void |
test_webapp_structure_contextPath_html_indexHtml()
The fully qualified URL for
index.html |
void |
test_webapp_structure_contextPath_indexHtml()
URL with context path and index.html reference
|
void |
test_webapp_structure_contextPath()
URL with correct context path
|
void |
test_webapp_structure_counters()
The
/counters servlet responds. |
void |
test_webapp_structure_favicon()
The
favicon.ico file. |
void |
test_webapp_structure_rootURL()
bare URL of the server
|
void |
test_webapp_structure_status()
The
/status servlet responds. |
void |
testMultipleFixtures() |
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 Test_REST_Structure()
public Test_REST_Structure(String name)
public static junit.framework.Test suite()
public void test_webapp_structure_rootURL() throws Exception
http://localhost:9999The response is should be
index.html
since we want the
bigdata webapp to respond for the top-level context.
Note: You must ensure that the client follows redirects using a standard policy. This is necessary for tests of the webapp structure since the container may respond with a redirect (302) to the location of the webapp when the client requests the root URL.
Exception
public void test_webapp_structure_contextPath() throws Exception
http://localhost:9999/bigdataThe response is should be
index.html
, which is specified
through the welcome files list.Exception
public void test_webapp_structure_contextPath_indexHtml() throws Exception
http://localhost:9999/bigdata/index.htmlThis URL does NOT get mapped to anything (404).
Exception
public void test_webapp_structure_favicon() throws Exception
favicon.ico
file.Exception
public void test_webapp_structure_status() throws Exception
/status
servlet responds.Exception
public void test_webapp_structure_counters() throws Exception
/counters
servlet responds.Exception
public void test_webapp_structure_contextPath_html_indexHtml() throws Exception
index.html
http://localhost:9999/bigdata/html/index.htmlThe response is should be
index.html
, which is specified
through the welcome files list.Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.