org.hibernate.beanvalidation.tck.util
Class IntegrationTestsMethodSelector

java.lang.Object
  extended by org.hibernate.beanvalidation.tck.util.IntegrationTestsMethodSelector
All Implemented Interfaces:
Serializable, org.testng.IMethodSelector

public class IntegrationTestsMethodSelector
extends Object
implements org.testng.IMethodSelector

TestNG test selector which will depending on the system property excludeIntegrationTests and the existence of the @IntegrationTest annotation on a test class, in- or exclude the test.

Author:
Hardy Ferentschik
See Also:
Serialized Form

Constructor Summary
IntegrationTestsMethodSelector()
           
 
Method Summary
 boolean includeMethod(org.testng.IMethodSelectorContext context, org.testng.ITestNGMethod method, boolean isTestMethod)
           
 void setTestMethods(List<org.testng.ITestNGMethod> testMethods)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrationTestsMethodSelector

public IntegrationTestsMethodSelector()
Method Detail

includeMethod

public boolean includeMethod(org.testng.IMethodSelectorContext context,
                             org.testng.ITestNGMethod method,
                             boolean isTestMethod)
Specified by:
includeMethod in interface org.testng.IMethodSelector

setTestMethods

public void setTestMethods(List<org.testng.ITestNGMethod> testMethods)
Specified by:
setTestMethods in interface org.testng.IMethodSelector


Copyright © 2008-2013. All Rights Reserved.