org.jboss.jsr299.tck.tests.decorators.definition
Class DecoratorDefinitionTest

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

@Artifact
@BeansXml(value="beans.xml")
@SpecVersion(spec="cdi",
             version="20091101")
public class DecoratorDefinitionTest
extends AbstractJSR299Test

Author:
pmuir

Constructor Summary
DecoratorDefinitionTest()
           
 
Method Summary
 void testDecoratedTypes()
           
 void testDecoratorDoesNotImplementDelegateType()
           
 void testDecoratorIsManagedBean()
           
 void testDecoratorOrdering()
           
 void testDelegateInjectionPoint()
           
 void testDuplicateBindingsOnResolveDecoratorsFails()
           
 void testEmptyTypeSetOnResolveDecoratorsFails()
           
 void testInstanceOfDecoratorForEachEnabled()
           
 void testNonBindingsOnResolveDecoratorsFails()
           
 void testNonEnabledDecoratorNotResolved()
           
 
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

DecoratorDefinitionTest

public DecoratorDefinitionTest()
Method Detail

testDecoratorIsManagedBean

@SpecAssertions(value={@SpecAssertion(section="8.1",id="d"),@SpecAssertion(section="8.1.1",id="a"),@SpecAssertion(section="8.1.3",id="c"),@SpecAssertion(section="8.3",id="aa"),@SpecAssertion(section="11.1.1",id="a"),@SpecAssertion(section="12.3",id="kc")})
public void testDecoratorIsManagedBean()

testDecoratedTypes

@SpecAssertions(value={@SpecAssertion(section="8.1",id="b"),@SpecAssertion(section="8.1",id="c"),@SpecAssertion(section="11.1.1",id="b"),@SpecAssertion(section="11.3.11",id="a"),@SpecAssertion(section="11.3.11",id="b")})
public void testDecoratedTypes()

testDelegateInjectionPoint

@SpecAssertions(value={@SpecAssertion(section="8.1.2",id="a"),@SpecAssertion(section="11.1.1",id="c")})
public void testDelegateInjectionPoint()

testDecoratorDoesNotImplementDelegateType

@SpecAssertion(section="8.1.3",
               id="b")
public void testDecoratorDoesNotImplementDelegateType()

testDecoratorOrdering

@SpecAssertions(value={@SpecAssertion(section="8.2",id="b"),@SpecAssertion(section="8.3",id="aa"),@SpecAssertion(section="11.3.11",id="a")})
public void testDecoratorOrdering()

testNonEnabledDecoratorNotResolved

@SpecAssertion(section="8.2",
               id="a")
public void testNonEnabledDecoratorNotResolved()

testInstanceOfDecoratorForEachEnabled

@SpecAssertion(section="11.1.1",
               id="d")
public void testInstanceOfDecoratorForEachEnabled()

testDuplicateBindingsOnResolveDecoratorsFails

@SpecAssertion(section="11.3.11",
               id="c")
public void testDuplicateBindingsOnResolveDecoratorsFails()

testNonBindingsOnResolveDecoratorsFails

@SpecAssertion(section="11.3.11",
               id="d")
public void testNonBindingsOnResolveDecoratorsFails()

testEmptyTypeSetOnResolveDecoratorsFails

@SpecAssertion(section="11.3.11",
               id="e")
public void testEmptyTypeSetOnResolveDecoratorsFails()


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