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

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.hibernate.beanvalidation.tck.tests.xmlconfiguration.constraintdeclaration.ReservedElementNameTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@SpecVersion(spec="beanvalidation",
             version="1.1.0")
public class ReservedElementNameTest
extends org.jboss.arquillian.testng.Arquillian

Author:
Hardy Ferentschik

Field Summary
static String mappingFile1
           
static String mappingFile2
           
static String packageName
           
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
ReservedElementNameTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testGroupIsNotAllowedAsElementName()
           
 void testMessageIsNotAllowedAsElementName()
           
 
Methods inherited from class org.jboss.arquillian.testng.Arquillian
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run
 
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

createTestArchive

@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()

testGroupIsNotAllowedAsElementName

@SpecAssertion(section="8.1.1.6",
               id="c")
public void testGroupIsNotAllowedAsElementName()

testMessageIsNotAllowedAsElementName

@SpecAssertion(section="8.1.1.6",
               id="c")
public void testMessageIsNotAllowedAsElementName()


Copyright © 2008-2013. All Rights Reserved.