org.jboss.jsr299.tck.tests.policy
Class PolicyAvailabilityTest
java.lang.Object
org.jboss.testharness.AbstractTest
org.jboss.jsr299.tck.AbstractJSR299Test
org.jboss.jsr299.tck.tests.policy.PolicyAvailabilityTest
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.ITestNGListener
@Artifact
@BeansXml(value="beans.xml")
@SpecVersion(spec="cdi",
version="20091101")
public class PolicyAvailabilityTest
- extends AbstractJSR299Test
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 |
PolicyAvailabilityTest
public PolicyAvailabilityTest()
testPolicyAvailability
@SpecAssertions(value={@SpecAssertion(section="5.1",id="e"),@SpecAssertion(section="5.1.1",id="c"),@SpecAssertion(section="5.1.1",id="ea"),@SpecAssertion(section="2.6",id="a"),@SpecAssertion(section="2.6.1",id="a"),@SpecAssertion(section="12.3",id="ka")})
public void testPolicyAvailability()
throws Exception
- Throws:
Exception
testIsAlternative
@SpecAssertion(section="11.1",
id="bc")
public void testIsAlternative()
testAnyEnabledPolicyStereotypeMakesPolicyEnabled
@SpecAssertions(value={@SpecAssertion(section="5.1.1",id="g"),@SpecAssertion(section="2.6.1",id="b"),@SpecAssertion(section="2.7",id="aa"),@SpecAssertion(section="2.7.1.4",id="a")})
public void testAnyEnabledPolicyStereotypeMakesPolicyEnabled()
throws Exception
- Throws:
Exception
testProducerPoliciesOnClass
@SpecAssertions(value=@SpecAssertion(section="5.1.1",id="fa"))
public void testProducerPoliciesOnClass()
throws Exception
- Throws:
Exception
testProducerPoliciesOnMethodAndField
@SpecAssertions(value={@SpecAssertion(section="2.6.1",id="c"),@SpecAssertion(section="2.6.1",id="d")})
public void testProducerPoliciesOnMethodAndField()
throws Exception
- Throws:
Exception
Copyright © 2008-2012 Seam Framework. All Rights Reserved.