public class SlingResourceTypeRenderingTest extends AbstractSlingResourceTypeRenderingTest
secondFolderOfContentPath, slingResourceType
displayUrl, scriptPath, testText
CONTENT_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() |
setUp
assertContains, assertNotContains, uploadTestScript
assertHttpStatus, assertHttpStatus, assertJavascript, assertJavascript, assertPostStatus, executeScript, executeScript, getContent, getContent, getContent, getContent, getDefaultCredentials, getResponseBodyAsStream, isBundleVersionAtLeast, removeEndingSlash, setReadinessContentType, slingServerReady, tearDown, uploadTestScript, waitForSlingStartup
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 testWithoutScriptTxt() throws IOException
IOException
public void testWithoutScriptHtml() throws IOException
IOException
public void testEspHtml() throws IOException
IOException
public void testEspJavaCode() throws IOException
IOException
public void testEspHtmlInAppsFolder() throws IOException
IOException
public void TODO_FAILS_testEspHtmlWithContentBasedPath() throws IOException
IOException
public void testEspHtmlWithSelectors() throws IOException
IOException
public void TODO_FAILS_testEspHtmlUppercase() throws IOException
IOException
public void TODO_FAILS_testEspNoExtension() throws IOException
IOException
public void testEspJs() throws IOException
IOException
public void testEspXml() throws IOException
IOException
public void testEspPlain() throws IOException
IOException
public void TODO_FAILS_testJsHtml() throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.