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 class
FileEventsTrackingFeature.Tracker
-
Constructor Summary
Constructors Constructor Description FileEventsTrackingFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test)
After a test method was ran.void
beforeMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test)
Before a test method is invoked.FileEvent
onFile(File aFile, Object aMarker)
ThreadEvent
onThreadEnter(boolean isLongRunning)
File
resolveAndCreate(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:RunnerFeature
Before a test method is invoked.- Specified by:
beforeMethodRun
in interfaceRunnerFeature
- Throws:
Exception
-
afterMethodRun
public void afterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
Description copied from interface:RunnerFeature
After a test method was ran.- Specified by:
afterMethodRun
in interfaceRunnerFeature
- Throws:
Exception
-
onThreadEnter
public ThreadEvent onThreadEnter(boolean isLongRunning)
-
-