public class UIViewParameterTest
extends org.apache.myfaces.test.base.AbstractJsfTestCase
Constructor and Description |
---|
UIViewParameterTest(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testDecodeSetOnlyNonNullSubmittedValue()
Tests if UIViewParameter.decode() sets the submitted value only if it is not null.
|
void |
testValidationErrorTriggersFacesContextValidationFailed()
Tests if UIViewParameter.processValidators() correctly calls FacesContext.validationFailed()
if the submitted value is null, but required is set to true.
|
setFactories, setUpApplication, setUpExternalContext, setUpFacesContext, setUpJSFObjects, setUpLifecycle, setUpRenderKit, setUpServletObjects, setUpView
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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, fail, fail, failNotEquals, failNotSame, failSame, format
public UIViewParameterTest(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 testValidationErrorTriggersFacesContextValidationFailed()
public void testDecodeSetOnlyNonNullSubmittedValue()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.