org.hibernate.jsr303.tck.tests.xmlconfiguration.constraintdeclaration
Class ReservedElementNameTest

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

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

Author:
Hardy Ferentschik

Field Summary
static String mappingFile1
           
static String mappingFile2
           
static String packageName
           
 
Constructor Summary
ReservedElementNameTest()
           
 
Method Summary
 void testGroupIsNotAllowedAsElementName()
           
 void testMessageIsNotAllowedAsElementName()
           
 
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
Constructor Detail

ReservedElementNameTest

public ReservedElementNameTest()
Method Detail

testGroupIsNotAllowedAsElementName

@SpecAssertion(section="7.1.1.4",
               id="b")
public void testGroupIsNotAllowedAsElementName()

testMessageIsNotAllowedAsElementName

@SpecAssertion(section="7.1.1.4",
               id="b")
public void testMessageIsNotAllowedAsElementName()


Copyright © 2008-2011. All Rights Reserved.