org.jboss.jsr299.tck.tests.context
Class NormalContextTest
java.lang.Object
org.jboss.testharness.AbstractTest
org.jboss.jsr299.tck.AbstractJSR299Test
org.jboss.jsr299.tck.tests.context.NormalContextTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@Artifact
@SpecVersion(spec="cdi",
version="20091101")
@Extension(value="javax.enterprise.inject.spi.Extension")
public class NormalContextTest
- extends AbstractJSR299Test
- Author:
- Nicklas Karlsson, Pete Muir, David Allen
Methods inherited from class org.jboss.jsr299.tck.AbstractJSR299Test |
annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, handleDeploymentFailure, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches |
Methods inherited from class org.jboss.testharness.AbstractTest |
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, isInContainer, isThrowablePresent, postCreate, run, setInContainer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NormalContextTest
public NormalContextTest()
testGetReturnsExistingInstance
@SpecAssertions(value={@SpecAssertion(section="6.2",id="j"),@SpecAssertion(section="6.2",id="l"),@SpecAssertion(section="6.3",id="c")})
public void testGetReturnsExistingInstance()
testGetWithCreationalContextReturnsNewInstance
@SpecAssertions(value=@SpecAssertion(section="6.2",id="l"))
public void testGetWithCreationalContextReturnsNewInstance()
testGetMayNotReturnNullUnlessContextualCreateReturnsNull
@SpecAssertion(section="6.2",
id="nb")
public void testGetMayNotReturnNullUnlessContextualCreateReturnsNull()
testSameNormalScopeBeanInjectedEverywhere
@SpecAssertions(value=@SpecAssertion(section="6.3",id="e"))
public void testSameNormalScopeBeanInjectedEverywhere()
Copyright © 2008-2012 Seam Framework. All Rights Reserved.