org.hibernate.jsr303.tck.tests.bootstrap.customprovider
Class BootstrapCustomProviderDefinedInServiceFileTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.hibernate.jsr303.tck.tests.bootstrap.customprovider.BootstrapCustomProviderDefinedInServiceFileTest
All Implemented Interfaces:
org.testng.IHookable

@Artifact(artifactType=JSR303)
@Classes(value={TestUtil.class,TestUtil.PathImpl.class,TestUtil.NodeImpl.class,TCKValidationProvider.class,TCKValidatorConfiguration.class,TCKValidationProvider.DummyValidatorFactory.class})
@Resource(source="javax.validation.spi.ValidationProvider",
          destination="WEB-INF/classes/META-INF/services/javax.validation.spi.ValidationProvider")
public class BootstrapCustomProviderDefinedInServiceFileTest
extends org.jboss.testharness.AbstractTest

Author:
Hardy Ferentschik

Constructor Summary
BootstrapCustomProviderDefinedInServiceFileTest()
           
 
Method Summary
 void testGetFactoryByProviderSpecifiedProgrammatically()
           
 void testProviderResolverReturnsListOfAvailableProviders()
           
 
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
 

Constructor Detail

BootstrapCustomProviderDefinedInServiceFileTest

public BootstrapCustomProviderDefinedInServiceFileTest()
Method Detail

testGetFactoryByProviderSpecifiedProgrammatically

@SpecAssertions(value={@SpecAssertion(section="4.4",id="a"),@SpecAssertion(section="4.4.4.2",id="a")})
public void testGetFactoryByProviderSpecifiedProgrammatically()

testProviderResolverReturnsListOfAvailableProviders

@SpecAssertion(section="4.4.4.1",
               id="a")
public void testProviderResolverReturnsListOfAvailableProviders()


Copyright © 2008-2011. All Rights Reserved.