public class FileEventsTrackingFeature extends Object implements RunnerFeature
| 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterRun, 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 RunnerFeatureExceptionpublic void afterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
RunnerFeatureafterMethodRun in interface RunnerFeatureExceptionpublic ThreadEvent onThreadEnter(boolean isLongRunning)
public File resolveAndCreate(File aFile)
Copyright © 2019 Nuxeo. All rights reserved.