public class ManagedBeanBuilderTest extends org.apache.myfaces.test.base.AbstractJsfTestCase
Modifier and Type | Class and Description |
---|---|
static class |
ManagedBeanBuilderTest.TestBean
A managed bean used in the test cases
|
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
Constructor and Description |
---|
ManagedBeanBuilderTest(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testIsInValidScope()
Tests, if the ManagedBeanBuilder checks that no property of the managed bean
references to a scope with a potentially shorter lifetime.
|
void |
testIsInValidScopeViewScope()
Tests, if the ManagedBeanBuilder checks that no property of the managed bean
references to a scope with a potentially shorter lifetime.
|
void |
testIsInValidScopeWithCustomScopes()
Tests the same as testIsInValidScope, but this time the managed bean
has a custom scope.
|
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 ManagedBeanBuilderTest(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 testIsInValidScope()
public void testIsInValidScopeWithCustomScopes()
public void testIsInValidScopeViewScope()
Copyright © 2020 The Apache Software Foundation. All rights reserved.