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, testCreatedprotected FileEventsTrackingFeature.Tracker tracker
protected FileEventListener listener
public FileEventsTrackingFeature()
public void beforeMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
RunnerFeaturebeforeMethodRun in interface RunnerFeaturebeforeMethodRun in class SimpleFeatureExceptionpublic void afterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
RunnerFeatureafterMethodRun in interface RunnerFeatureafterMethodRun in class SimpleFeatureExceptionpublic ThreadEvent onThreadEnter(boolean isLongRunning)
public File resolveAndCreate(File aFile)
Copyright © 2018 Nuxeo. All rights reserved.