public class HtmlOutcomeTargetButtonRendererTest extends org.apache.myfaces.test.base.AbstractJsfTestCase
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
Constructor and Description |
---|
HtmlOutcomeTargetButtonRendererTest(String name) |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static junit.framework.Test |
suite() |
void |
tearDown() |
void |
testClientBehaviorHolderRendersIdAndName()
Components that render client behaviors should always render "id" and "name" attribute
|
void |
testDisabledAttribute()
Tests if the h:button is rendered accordingly if disabled is true.
|
void |
testFragment()
Tests if the fragment attribute is correctly rendered.
|
void |
testIncludesUIParameterInURL()
Tests if the h:button correctly includes an UIParameter
with a non-null-name when creating the URL.
|
void |
testOutcomeTargetRendersNavigationCaseParameters()
Tests if h:button correctly includes all parameters of the implicit
navigation case created from the outcome.
|
void |
testSkipsNullValueOfUIParameterInURL()
Tests if the h:button correctly skips an UIParameter
with a null-name when creating the URL.
|
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 HtmlOutcomeTargetButtonRendererTest(String name)
public static junit.framework.Test suite()
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 testClientBehaviorHolderRendersIdAndName()
public void testOutcomeTargetRendersNavigationCaseParameters() throws Exception
Exception
public void testFragment() throws Exception
Exception
public void testIncludesUIParameterInURL()
public void testSkipsNullValueOfUIParameterInURL()
public void testDisabledAttribute()
Copyright © 2020 The Apache Software Foundation. All rights reserved.