Liferay 7.0-ce-m2

com.liferay.portal.test.runners
Class LiferayIntegrationJUnitTestRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
          extended by org.junit.runners.BlockJUnit4ClassRunner
              extended by com.liferay.portal.kernel.test.AbstractIntegrationJUnitTestRunner
                  extended by com.liferay.portal.test.runners.CustomizableSpringContextJUnitTestRunner
                      extended by com.liferay.portal.test.runners.LiferayIntegrationJUnitTestRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
Direct Known Subclasses:
PACLIntegrationJUnitTestRunner, PersistenceIntegrationJUnitTestRunner

public class LiferayIntegrationJUnitTestRunner
extends CustomizableSpringContextJUnitTestRunner


Constructor Summary
LiferayIntegrationJUnitTestRunner(Class<?> clazz)
           
 
Method Summary
 void afterApplicationContextInit()
           
protected  org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier)
           
protected  List<org.junit.rules.TestRule> classRules()
           
 List<String> getExtraConfigLocations()
           
protected static org.junit.runners.model.Statement logAssertStatement(org.junit.runners.model.Statement statement, Method method)
           
protected  org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod frameworkMethod)
           
 
Methods inherited from class com.liferay.portal.test.runners.CustomizableSpringContextJUnitTestRunner
initApplicationContext, processConfigLocations
 
Methods inherited from class com.liferay.portal.kernel.test.AbstractIntegrationJUnitTestRunner
withAfterClasses, withAfters, withBeforeClasses, withBefores
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiferayIntegrationJUnitTestRunner

public LiferayIntegrationJUnitTestRunner(Class<?> clazz)
                                  throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError
Method Detail

afterApplicationContextInit

public void afterApplicationContextInit()
Specified by:
afterApplicationContextInit in class CustomizableSpringContextJUnitTestRunner

getExtraConfigLocations

public List<String> getExtraConfigLocations()
Specified by:
getExtraConfigLocations in class CustomizableSpringContextJUnitTestRunner

logAssertStatement

protected static org.junit.runners.model.Statement logAssertStatement(org.junit.runners.model.Statement statement,
                                                                      Method method)

classBlock

protected org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier)
Overrides:
classBlock in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>

classRules

protected List<org.junit.rules.TestRule> classRules()
Overrides:
classRules in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>

methodBlock

protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod frameworkMethod)
Overrides:
methodBlock in class org.junit.runners.BlockJUnit4ClassRunner

Liferay 7.0-ce-m2