public class FileEventsTrackingFeature extends SimpleFeature
Modifier and Type | Class and Description |
---|---|
protected class |
FileEventsTrackingFeature.Tracker |
Modifier and Type | Field and Description |
---|---|
protected Set<File> |
created |
protected FileEventListener |
listener |
protected Path |
tempPath |
protected Set<File> |
tracked |
protected FileEventsTrackingFeature.Tracker |
tracker |
Constructor and Description |
---|
FileEventsTrackingFeature() |
Modifier and Type | Method and 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) |
afterRun, afterTeardown, beforeRun, beforeSetup, configure, initialize, start, stop, testCreated
protected FileEventsTrackingFeature.Tracker tracker
protected FileEventListener listener
public FileEventsTrackingFeature()
public void beforeMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
RunnerFeature
beforeMethodRun
in interface RunnerFeature
beforeMethodRun
in class SimpleFeature
Exception
public void afterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
RunnerFeature
afterMethodRun
in interface RunnerFeature
afterMethodRun
in class SimpleFeature
Exception
public ThreadEvent onThreadEnter(boolean isLongRunning)
public File resolveAndCreate(File aFile)
Copyright © 2018 Nuxeo. All rights reserved.