Class Cleaner
- java.lang.Object
-
- org.jenkinsci.test.acceptance.guice.Cleaner
-
- Direct Known Subclasses:
TestCleaner
,WorldCleaner
public class Cleaner extends Object
Performs clean-up tasks at the end of scope.Tests and their decorators can add stuff to this cleaner to ensure some cleanup operation happens at the end of each test.
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description Cleaner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTask(Closeable c)
void
addTask(Runnable r)
void
addTask(Callable<?> c)
void
addTask(org.junit.runners.model.Statement stmt)
void
performCleanUp()
-