org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.clazzlevel
Class ClassLevelOverridingTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration.clazzlevel.ClassLevelOverridingTest
All Implemented Interfaces:
org.testng.IHookable

@Artifact(artifactType=JSR303)
@Classes(value={TestUtil.class,TestUtil.PathImpl.class,TestUtil.NodeImpl.class})
public class ClassLevelOverridingTest
extends org.jboss.testharness.AbstractTest

Author:
Hardy Ferentschik

Field Summary
static String mappingFile1
           
static String mappingFile2
           
static String mappingFile3
           
static String packageName
           
 
Constructor Summary
ClassLevelOverridingTest()
           
 
Method Summary
 void testClassLevelAnnotationsApplied()
           
 void testIgnoreAnnotationsFromEnclosingBeanIsApplied()
           
 void testIgnoreClassLevelAnnotations()
           
 
Methods inherited from class org.jboss.testharness.AbstractTest
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, getCurrentConfiguration, handleDeploymentFailure, isInContainer, isThrowablePresent, postCreate, run, setInContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packageName

public static final String packageName
See Also:
Constant Field Values

mappingFile1

public static final String mappingFile1
See Also:
Constant Field Values

mappingFile2

public static final String mappingFile2
See Also:
Constant Field Values

mappingFile3

public static final String mappingFile3
See Also:
Constant Field Values
Constructor Detail

ClassLevelOverridingTest

public ClassLevelOverridingTest()
Method Detail

testIgnoreClassLevelAnnotations

@SpecAssertions(value={@SpecAssertion(section="7.1.1.1",id="a"),@SpecAssertion(section="7.1.1.1",id="c")})
public void testIgnoreClassLevelAnnotations()

testIgnoreAnnotationsFromEnclosingBeanIsApplied

@SpecAssertion(section="7.1.1.1",
               id="b")
public void testIgnoreAnnotationsFromEnclosingBeanIsApplied()

testClassLevelAnnotationsApplied

@SpecAssertions(value={@SpecAssertion(section="7.1.1.1",id="a"),@SpecAssertion(section="7.1.1.1",id="d")})
public void testClassLevelAnnotationsApplied()


Copyright © 2008-2011. All Rights Reserved.