public class CDIContextTest
extends org.jboss.arquillian.testng.Arquillian
Constructor and Description |
---|
CDIContextTest() |
Modifier and Type | Method and Description |
---|---|
void |
afterMethod(Method m,
org.testng.ITestResult result) |
void |
beforeMethod(Method m) |
static org.jboss.shrinkwrap.api.spec.WebArchive |
createDeployment() |
void |
testCDIMECtxClearsConversationScopedBeans()
Set some state on Conversation scoped bean and verify
the state is cleared on the thread where the other task runs.
|
void |
testCDIMECtxClearsRequestScopedBean()
Set some state on Request scoped bean and verify
the state is cleared on the thread where the other task runs.
|
void |
testCDIMECtxClearsSessionScopedBeans()
Set some state on Session scoped bean and verify
the state is cleared on the thread where the other task runs.
|
void |
testCDIMECtxPropagatesConversationScopedBean()
Set some state on Conversation scoped beans and verify
the state is propagated to the thread where the other task runs.
|
void |
testCDIMECtxPropagatesRequestScopedBean()
Set some state on Request scoped bean and verify
the state is propagated to the thread where the other task runs.
|
void |
testCDIMECtxPropagatesSessionScopedBean()
Set some state on Session scoped bean and verify
the state is propagated to the thread where the other task runs.
|
void |
testCDITCCtxClear()
Set some state on a request scoped bean, then verify a contextualized callable
has the state cleared from it when ran on the same thread.
|
void |
testCDITCCtxPropagate()
Set some state on a request scoped bean, then verify a contextualized callable
has the state propagated to it when ran on the same thread.
|
@AfterMethod public void afterMethod(Method m, org.testng.ITestResult result)
@BeforeMethod public void beforeMethod(Method m)
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment()
public void testCDIMECtxPropagatesRequestScopedBean() throws Exception
Exception
- indicates test failurepublic void testCDIMECtxPropagatesSessionScopedBean() throws Exception
Exception
- indicates test failurepublic void testCDIMECtxPropagatesConversationScopedBean() throws Exception
Exception
- indicates test failurepublic void testCDIMECtxClearsRequestScopedBean() throws Exception
Exception
- indicates test failurepublic void testCDIMECtxClearsSessionScopedBeans() throws Exception
Exception
- indicates test failurepublic void testCDIMECtxClearsConversationScopedBeans() throws Exception
Exception
- indicates test failurepublic void testCDITCCtxPropagate() throws Exception
Exception
- indicates test failureCopyright © 2021 Eclipse Foundation. All rights reserved.