|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase
org.apache.myfaces.view.facelets.FaceletTestCase
org.apache.myfaces.view.facelets.tag.ui.template.CompositionTestCase
public class CompositionTestCase
| Field Summary |
|---|
| Fields inherited from class org.apache.myfaces.view.facelets.FaceletTestCase |
|---|
dispenser, vdl |
| Fields inherited from class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase |
|---|
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session |
| Constructor Summary | |
|---|---|
CompositionTestCase()
|
|
| Method Summary | |
|---|---|
protected void |
setUpServletObjects()
|
void |
testComposition1()
Test if ui:composition is used on a page with a reference to a template, it should trim everything, but take its content and insert it on a template ui:insert without name spot if available. |
void |
testComposition2EmptyComposition()
An empty ui:composition does not means the content of a ui:insert without name to be rendered |
void |
testComposition3EmptyComposition()
An empty ui:composition does not means the content of a ui:insert without name to be rendered |
void |
testComposition4DefineOverInsert()
A ui:define takes precedence over a ui:insert |
void |
testComposition5()
A ui:insert on nested composition takes the top TemplateClient. |
void |
testCompositionNested1()
An ui:define on the outer most composition takes precedence over the inner one. |
void |
testCompositionNested2()
|
void |
testCompositionTrimEffect()
Test if ui:composition is used on a page without a reference to a template, it should trim everything outside the template |
| Methods inherited from class org.apache.myfaces.view.facelets.FaceletTestCase |
|---|
createExpressionFactory, getContext, getDirectory, getLocalFile, loadStandardFacesConfig, resolveUrl, setFactories, setProjectStage, setUp, setUpApplication, setupBehaviors, setupComponents, setupConvertersAndValidators, setUpExternalContext, setupRenderers, setUpRenderKit, setUpView |
| Methods inherited from class org.apache.myfaces.test.base.junit4.AbstractJsfConfigurableMockTestCase |
|---|
setUpFacesContext, setUpJSFObjects, setUpLifecycle, tearDown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositionTestCase()
| Method Detail |
|---|
protected void setUpServletObjects()
throws Exception
setUpServletObjects in class FaceletTestCaseException
public void testCompositionTrimEffect()
throws Exception
Exception
public void testComposition1()
throws Exception
Exception
public void testComposition2EmptyComposition()
throws Exception
Exception
public void testComposition3EmptyComposition()
throws Exception
Exception
public void testComposition4DefineOverInsert()
throws Exception
Exception
public void testComposition5()
throws Exception
Exception
public void testCompositionNested1()
throws Exception
Exception
public void testCompositionNested2()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||