public class HtmlResponseWriterImplTest extends org.apache.myfaces.test.base.AbstractJsfTestCase
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
Constructor and Description |
---|
HtmlResponseWriterImplTest(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testEmptyTagNotRenderEnd()
In html, it is not valid to have an empty tag with content
|
void |
testEmptyTagNotRenderEndOnXhtmlUppercase()
In xhtml, it is valid to have an html empty tag with content.
|
void |
testEmptyTagNotRenderEndOnXml()
In xhtml, it is valid to have an html empty tag with content.
|
void |
testEmptyTagNotRenderEndUppercase()
In html, it is not valid to have an empty tag with content
|
void |
testHtmlElementsInsideScript()
This test tests if it is possible to render HTML elements inside
a script section without confusing the HtmlResponseWriterImpl.
|
void |
testScriptOnHtmlIsoEncodingAndNoScriptXhmlComments() |
void |
testScriptOnHtmlIsoEncodingAndScriptXhmlComments() |
void |
testScriptOnHtmlUTF8AndNoScriptXhmlComments() |
void |
testScriptOnHtmlUTF8AndScriptXhmlComments() |
void |
testScriptOnXhtmlIsoEncoding() |
void |
testScriptOnXhtmlUTF8Encoding() |
void |
testStyleOnXhtmlIsoEncoding() |
void |
testStyleOnXhtmlUTF8Encoding() |
setFactories, setUpApplication, setUpClassloader, setUpExternalContext, setUpFacesContext, setUpJSFObjects, setUpLifecycle, setUpRenderKit, setUpServletObjects, setUpView, tearDownClassloader
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 HtmlResponseWriterImplTest(String name)
protected void setUp() throws Exception
setUp
in class org.apache.myfaces.test.base.AbstractJsfTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class org.apache.myfaces.test.base.AbstractJsfTestCase
Exception
public void testHtmlElementsInsideScript() throws IOException, SecurityException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
public void testScriptOnHtmlIsoEncodingAndScriptXhmlComments() throws IOException
IOException
public void testScriptOnHtmlIsoEncodingAndNoScriptXhmlComments() throws IOException
IOException
public void testScriptOnHtmlUTF8AndScriptXhmlComments() throws IOException
IOException
public void testScriptOnHtmlUTF8AndNoScriptXhmlComments() throws IOException
IOException
public void testScriptOnXhtmlIsoEncoding() throws IOException
IOException
public void testScriptOnXhtmlUTF8Encoding() throws IOException
IOException
public void testStyleOnXhtmlIsoEncoding() throws IOException
IOException
public void testStyleOnXhtmlUTF8Encoding() throws IOException
IOException
public void testEmptyTagNotRenderEnd() throws IOException
IOException
public void testEmptyTagNotRenderEndOnXml() throws IOException
IOException
public void testEmptyTagNotRenderEndUppercase() throws IOException
IOException
public void testEmptyTagNotRenderEndOnXhtmlUppercase() throws IOException
IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.