S - public class Test_REST_Structure<S extends IIndexManager> extends AbstractTestNanoSparqlClient<S>
TestCase2.MyProperties, TestCase2.RandomTypem_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, writeOnBuffergetDelegate, getIndexManager, getOurDelegate, getProperties, setDelegatecheckIfProxy, setUp, tearDown, tearDownAfterSuiteassertEquals, 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, logPropertiesassertEquals, 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, toStringpublic 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.
Exceptionpublic 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.Exceptionpublic void test_webapp_structure_contextPath_indexHtml()
throws Exception
http://localhost:9999/bigdata/index.htmlThis URL does NOT get mapped to anything (404).
Exceptionpublic void test_webapp_structure_favicon()
throws Exception
favicon.ico file.Exceptionpublic void test_webapp_structure_status()
throws Exception
/status servlet responds.Exceptionpublic void test_webapp_structure_counters()
throws Exception
/counters servlet responds.Exceptionpublic 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.ExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.