public abstract class AbstractStateUtilsTest extends org.apache.myfaces.test.base.AbstractJsfTestCase implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
BASE64_KEY_SIZE_16 |
static String |
BASE64_KEY_SIZE_24 |
static String |
BASE64_KEY_SIZE_8 |
protected String |
sensitiveString |
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
Constructor and Description |
---|
AbstractStateUtilsTest(String name) |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testCompression() |
void |
testCompressionNegative()
Simulates testCompression w/ corrupt data.
|
void |
testConstruction()
Test for Restore View phase.
|
void |
testConstructionNegative()
Simulates testConstruction w/ corrupt data.
|
void |
testConstructionString()
Test for Restore View phase.
|
void |
testCryptography() |
void |
testCryptographyNegative()
Simulates testCryptography w/ corrupt data.
|
void |
testEncoding() |
void |
testEncodingNegative()
Simulates testEncoding w/ corrupt data.
|
void |
testSerialization() |
void |
testSerializationNegative()
Simulates testSerialization w/ corrput data.
|
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
protected String sensitiveString
public static final String BASE64_KEY_SIZE_8
public static final String BASE64_KEY_SIZE_16
public static final String BASE64_KEY_SIZE_24
public AbstractStateUtilsTest(String name)
public void setUp() throws Exception
setUp
in class org.apache.myfaces.test.base.AbstractJsfTestCase
Exception
public void tearDown() throws Exception
tearDown
in class org.apache.myfaces.test.base.AbstractJsfTestCase
Exception
public void testConstructionString()
public void testConstruction()
public void testSerialization()
public void testCryptography()
public void testCompression()
public void testEncoding()
public void testConstructionNegative()
public void testSerializationNegative()
public void testCryptographyNegative()
public void testCompressionNegative()
public void testEncodingNegative()
Copyright © 2020 The Apache Software Foundation. All rights reserved.