org.jboss.jsr299.tck.tests.extensions.bean.bytype
Class BeanByTypeTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.extensions.bean.bytype.BeanByTypeTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@SpecVersion(spec="cdi",
             version="20091101")
public class BeanByTypeTest
extends AbstractJSR299Test

Tests related to obtaining beans by their type from the bean manager.

Author:
David Allen

Constructor Summary
BeanByTypeTest()
           
 
Method Summary
 void testGetBeans()
           
 void testNoBindingImpliesCurrent()
           
 void testNonBindingType()
           
 void testSameBindingTwice()
           
 void testTypeVariable()
           
 
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

BeanByTypeTest

public BeanByTypeTest()
Method Detail

testGetBeans

@SpecAssertions(value={@SpecAssertion(section="11.3.4",id="aa"),@SpecAssertion(section="11.3.4",id="b")})
public void testGetBeans()

testNoBindingImpliesCurrent

@SpecAssertions(value=@SpecAssertion(section="11.3.4",id="c"))
public void testNoBindingImpliesCurrent()

testTypeVariable

@SpecAssertions(value=@SpecAssertion(section="11.3.4",id="da"))
public void testTypeVariable()

testSameBindingTwice

@SpecAssertions(value=@SpecAssertion(section="11.3.4",id="e"))
public void testSameBindingTwice()

testNonBindingType

@SpecAssertions(value=@SpecAssertion(section="11.3.4",id="f"))
public void testNonBindingType()


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