public class HtmlLinkRendererTest extends org.apache.myfaces.test.base.AbstractJsfTestCase
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
Constructor and Description |
---|
HtmlLinkRendererTest(String name) |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static junit.framework.Test |
suite() |
void |
tearDown() |
void |
testClientBehaviorHolderRendersIdAndNameCommandLink()
Components that render client behaviors should always render "id" and "name" attribute
|
void |
testClientBehaviorHolderRendersIdAndNameOutcomeTargetLink()
Components that render client behaviors should always render "id" and "name" attribute
|
void |
testClientBehaviorHolderRendersIdAndNameOutputLink()
Components that render client behaviors should always render "id" and "name" attribute
|
void |
testDisabledUIParameterNotRenderedCommandLink()
If the disable attribute of a child UIParameter is true,
he should be ignored.
|
void |
testDisabledUIParameterNotRenderedOutputLink()
If the disable attribute of a child UIParameter is true,
he should be ignored.
|
void |
testHtmlPropertyPassTru() |
void |
testOutcomeTargetLinkFragment()
Tests if the fragment attribute is correctly rendered.
|
void |
testOutcomeTargetLinkIncludesUIParameterInURL()
Tests if the h:link correctly includes an UIParameter
with a non-null-name when creating the URL.
|
void |
testOutcomeTargetLinkSkipsNullValueOfUIParameterInURL()
Tests if the h:link correctly skips an UIParameter
with a null-name when creating the URL.
|
void |
testOutcomeTargetRendersNavigationCaseParameters()
Tests if h:link correctly includes all parameters of the implicit
navigation case created from the outcome.
|
void |
testOutputLink() |
void |
testOutputLinkFragment()
Test for the right use of the fragment attribute.
|
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 HtmlLinkRendererTest(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 testClientBehaviorHolderRendersIdAndNameOutputLink()
public void testClientBehaviorHolderRendersIdAndNameCommandLink()
public void testClientBehaviorHolderRendersIdAndNameOutcomeTargetLink()
public void testOutcomeTargetRendersNavigationCaseParameters() throws Exception
Exception
public void testOutcomeTargetLinkFragment() throws Exception
Exception
public void testOutputLinkFragment() throws Exception
Exception
public void testDisabledUIParameterNotRenderedCommandLink() throws Exception
Exception
public void testDisabledUIParameterNotRenderedOutputLink() throws Exception
Exception
public void testOutcomeTargetLinkIncludesUIParameterInURL()
public void testOutcomeTargetLinkSkipsNullValueOfUIParameterInURL()
Copyright © 2020 The Apache Software Foundation. All rights reserved.