public class HTMLEncoderWriterTest extends org.apache.myfaces.test.base.AbstractJsfTestCase
HTMLEncoderTest
tests org.apache.myfaces.shared.renderkit.html.util.HTMLEncoder
.application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
Constructor and Description |
---|
HTMLEncoderWriterTest(String name) |
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 HTMLEncoderWriterTest(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 testEncodeStringNoSpecialChars() throws Exception
HTMLEncoder.encode(String)
.Exception
public void testEncodeStringSpecialChars1() throws Exception
Exception
public void testEncodeStringSpecialChars2() throws Exception
Exception
public void testEncodeStringLineBreak1() throws Exception
Exception
public void testEncodeStringLineBreak2() throws Exception
Exception
public void testEncodeArrayNoSpecialChars() throws Exception
Exception
public void testEncodeArrayNoSpecialCharsPartial() throws Exception
Exception
public void testEncodeArraySpecialChars1() throws Exception
Exception
public void testEncodeArraySpecialChars2() throws Exception
Exception
public void testEncodeArrayWrongIndex1() throws Exception
Exception
public void testEncodeArrayWrongIndex2() throws Exception
Exception
public void testEncodeArrayWrongIndex3() throws Exception
Exception
public void testEncodeArrayLineBreak1() throws Exception
Exception
public void testEncodeArrayLineBreak2() throws Exception
Exception
public void testEncodeArrayLineBreak2WrongIndex() throws Exception
Exception
public void testEncodeArrayLineBreakPartial() throws Exception
Exception
public void testSimpleWriteURIAttribute() throws Exception
Exception
public void testUsAsciiEscapedCharactersBeforeQuery() throws Exception
Exception
public void testWriteNonUsAsciiOnURIAttribute() throws Exception
Exception
public void testReservedCharactersOnURIAttribute() throws Exception
Exception
public void testNonEncodedCharactersOnURIAttribute() throws Exception
Exception
Copyright © 2020 The Apache Software Foundation. All rights reserved.