Package org.nuxeo.runtime.test.runner
Class FileEventsTrackingFeature
- java.lang.Object
-
- org.nuxeo.runtime.test.runner.FileEventsTrackingFeature
-
- All Implemented Interfaces:
RunnerFeature
public class FileEventsTrackingFeature extends Object implements RunnerFeature
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classFileEventsTrackingFeature.Tracker
-
Constructor Summary
Constructors Constructor Description FileEventsTrackingFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test)After a test method was ran.voidbeforeMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test)Before a test method is invoked.FileEventonFile(File aFile, Object aMarker)ThreadEventonThreadEnter(boolean isLongRunning)FileresolveAndCreate(File aFile)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.test.runner.RunnerFeature
afterRun, afterTeardown, afterTeardown, beforeRun, beforeSetup, beforeSetup, configure, initialize, start, stop, testCreated
-
-
-
-
Field Detail
-
tracker
protected FileEventsTrackingFeature.Tracker tracker
-
listener
protected FileEventListener listener
-
tempPath
protected Path tempPath
-
-
Method Detail
-
beforeMethodRun
public void beforeMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
Description copied from interface:RunnerFeatureBefore a test method is invoked.- Specified by:
beforeMethodRunin interfaceRunnerFeature- Throws:
Exception
-
afterMethodRun
public void afterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
Description copied from interface:RunnerFeatureAfter a test method was ran.- Specified by:
afterMethodRunin interfaceRunnerFeature- Throws:
Exception
-
onThreadEnter
public ThreadEvent onThreadEnter(boolean isLongRunning)
-
-