public class SlingResourceTypeRenderingTest extends AbstractSlingResourceTypeRenderingTest
secondFolderOfContentPath, slingResourceTypedisplayUrl, scriptPath, testTextCONTENT_TYPE_CSS, CONTENT_TYPE_DONTCARE, CONTENT_TYPE_HTML, CONTENT_TYPE_JS, CONTENT_TYPE_JSON, CONTENT_TYPE_PLAIN, CONTENT_TYPE_XML, DEFAULT_EXT, DEFAULT_READINESS_MEDIA_TYPE, EXECUTE_RESOURCE_TYPE, HTTP_BASE_URL, HTTP_METHOD_GET, HTTP_METHOD_POST, HTTP_URL, httpClient, MAX_READY_URL_INDEX, PROPERTY_SKIP_STARTUP_CHECK, READINESS_MEDIA_TYPE_PROP, READY_TIMEOUT_SECONDS, READY_URL_PROP_PREFIX, SERVLET_CONTEXT, SLING_POST_SERVLET_CREATE_SUFFIX, SLING_RESOURCE_TYPE, TEST_PATH, testClient, urlsToDelete, WEBDAV_BASE_URL| Constructor and Description |
|---|
SlingResourceTypeRenderingTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testEspHtml() |
void |
testEspHtmlInAppsFolder() |
void |
testEspHtmlWithSelectors() |
void |
testEspJavaCode() |
void |
testEspJs()
SLING-107, verify that extension is used instead of Content-Type for script name
|
void |
testEspPlain() |
void |
testEspXml() |
void |
testWithoutScriptHtml() |
void |
testWithoutScriptTxt() |
void |
TODO_FAILS_testEspHtmlUppercase() |
void |
TODO_FAILS_testEspHtmlWithContentBasedPath() |
void |
TODO_FAILS_testEspNoExtension() |
void |
TODO_FAILS_testJsHtml() |
setUpassertContains, assertNotContains, uploadTestScriptassertHttpStatus, assertHttpStatus, assertJavascript, assertJavascript, assertPostStatus, executeScript, executeScript, getContent, getContent, getContent, getContent, getDefaultCredentials, getResponseBodyAsStream, isBundleVersionAtLeast, removeEndingSlash, setReadinessContentType, slingServerReady, tearDown, uploadTestScript, waitForSlingStartupassertEquals, 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 void testWithoutScriptTxt()
throws IOException
IOExceptionpublic void testWithoutScriptHtml()
throws IOException
IOExceptionpublic void testEspHtml()
throws IOException
IOExceptionpublic void testEspJavaCode()
throws IOException
IOExceptionpublic void testEspHtmlInAppsFolder()
throws IOException
IOExceptionpublic void TODO_FAILS_testEspHtmlWithContentBasedPath()
throws IOException
IOExceptionpublic void testEspHtmlWithSelectors()
throws IOException
IOExceptionpublic void TODO_FAILS_testEspHtmlUppercase()
throws IOException
IOExceptionpublic void TODO_FAILS_testEspNoExtension()
throws IOException
IOExceptionpublic void testEspJs()
throws IOException
IOExceptionpublic void testEspXml()
throws IOException
IOExceptionpublic void testEspPlain()
throws IOException
IOExceptionpublic void TODO_FAILS_testJsHtml()
throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.