org.jboss.jsr299.tck.tests.context
Class ContextTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.context.ContextTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@SpecVersion(spec="cdi",
             version="20091101")
@Extension(value="javax.enterprise.inject.spi.Extension")
public class ContextTest
extends AbstractJSR299Test


Constructor Summary
ContextTest()
           
 
Method Summary
 void testBuiltInContexts()
           
 void testGetContextWithNoRegisteredContextsFails()
           
 void testGetContextWithTooManyActiveContextsFails()
           
 
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
 

Constructor Detail

ContextTest

public ContextTest()
Method Detail

testGetContextWithTooManyActiveContextsFails

@SpecAssertion(section="6.5.1",
               id="b")
public void testGetContextWithTooManyActiveContextsFails()

testGetContextWithNoRegisteredContextsFails

@SpecAssertion(section="6.5.1",
               id="a")
public void testGetContextWithNoRegisteredContextsFails()

testBuiltInContexts

@SpecAssertions(value={@SpecAssertion(section="2.4.1",id="aa"),@SpecAssertion(section="2.4.1",id="ab"),@SpecAssertion(section="2.4.1",id="ac"),@SpecAssertion(section="2.4.1",id="ca"),@SpecAssertion(section="11.3.14",id="a")})
public void testBuiltInContexts()


Copyright © 2008-2012 Seam Framework. All Rights Reserved.