Class TestLifecycle
java.lang.Object
org.jenkinsci.test.acceptance.guice.TestLifecycle
- All Implemented Interfaces:
com.google.inject.Scope
Keeps track of
TestScope
objects.- Author:
- Kohsuke Kawaguchi
-
Constructor Details
-
TestLifecycle
public TestLifecycle()
-
-
Method Details
-
startTestScope
public void startTestScope()Call this method when a new test starts, to reset theTestScope
. -
endTestScope
public void endTestScope() -
export
-
import_
-
scope
public <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> base) - Specified by:
scope
in interfacecom.google.inject.Scope
-