public class OrderingFacesConfigTest extends org.apache.myfaces.test.base.AbstractJsfTestCase
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
Constructor and Description |
---|
OrderingFacesConfigTest(String name) |
Modifier and Type | Method and Description |
---|---|
void |
applyAlgorithm(List<FacesConfig> appConfigResources) |
void |
applyAlgorithm2(List<FacesConfig> appConfigResources) |
List<FacesConfig> |
applyFullAlgorithm(List<FacesConfig> appConfigResources) |
List<FacesConfig> |
orderAndFeedArtifactsAbsolute(List<FacesConfig> appConfigResources,
FacesConfig webAppConfig) |
void |
printFacesConfigList(String label,
List<FacesConfig> appConfigResources) |
protected void |
setUp() |
void |
testAbsoluteOrdering1() |
void |
testAfterOthers1() |
void |
testBeforeOthers1() |
void |
testBeforeOthers2() |
void |
testEx1() |
void |
testEx2() |
void |
testEx3() |
void |
testEx4() |
void |
testMaxConditionsOrdering()
A before B
A before C
B after A
B before C
C after A
C after B
preferred result
A B C
|
void |
testMiddleOrdering()
A before B
A before E
C after A
C after B
C before D
C before E
E after D
D before others
preferred results:
A B C D E No_id
|
void |
testSimpleOrdering()
A before others
B after C
C after others
preferred result:
A C B No_id No_id
|
setFactories, setUpApplication, setUpClassloader, setUpExternalContext, setUpFacesContext, setUpJSFObjects, setUpLifecycle, setUpRenderKit, setUpServletObjects, setUpView, tearDown, 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 OrderingFacesConfigTest(String name)
protected void setUp() throws Exception
setUp
in class org.apache.myfaces.test.base.AbstractJsfTestCase
Exception
public void printFacesConfigList(String label, List<FacesConfig> appConfigResources)
public void testSimpleOrdering() throws Exception
Exception
public void testMiddleOrdering() throws Exception
Exception
public void testMaxConditionsOrdering() throws Exception
Exception
public void testEx1()
public void testEx2()
public void testEx3()
public void applyAlgorithm(List<FacesConfig> appConfigResources) throws FacesException
FacesException
public List<FacesConfig> applyFullAlgorithm(List<FacesConfig> appConfigResources) throws FacesException
FacesException
public void applyAlgorithm2(List<FacesConfig> appConfigResources) throws FacesException
FacesException
public List<FacesConfig> orderAndFeedArtifactsAbsolute(List<FacesConfig> appConfigResources, FacesConfig webAppConfig)
Copyright © 2020 The Apache Software Foundation. All rights reserved.