org.jboss.jsr299.tck.tests.definition.name
Class NameDefinitionTest

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

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


Constructor Summary
NameDefinitionTest()
           
 
Method Summary
 void testDefaultNamed()
           
 void testNonDefaultNamed()
           
 void testNotNamedInJava()
           
 void testNotNamedInStereotype()
           
 void testStereotypeDefaultsName()
           
 
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

NameDefinitionTest

public NameDefinitionTest()
Method Detail

testNonDefaultNamed

@SpecAssertions(value={@SpecAssertion(section="2.5.1",id="a"),@SpecAssertion(section="2",id="e"),@SpecAssertion(section="3.1.3",id="bb")})
public void testNonDefaultNamed()

testDefaultNamed

@SpecAssertions(value={@SpecAssertion(section="2.5.2",id="a"),@SpecAssertion(section="3.1.5",id="a"),@SpecAssertion(section="2.5.1",id="d")})
public void testDefaultNamed()

testStereotypeDefaultsName

@SpecAssertions(value={@SpecAssertion(section="2.7",id="a"),@SpecAssertion(section="2.7.1.3",id="aaa")})
public void testStereotypeDefaultsName()

testNotNamedInJava

@SpecAssertions(value={@SpecAssertion(section="2.5.3",id="a"),@SpecAssertion(section="2",id="e")})
public void testNotNamedInJava()

testNotNamedInStereotype

@SpecAssertion(section="2.5.3",
               id="a")
public void testNotNamedInStereotype()


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