Class TestLifecycle
- java.lang.Object
-
- org.jenkinsci.test.acceptance.guice.TestLifecycle
-
-
Constructor Summary
Constructors Constructor Description TestLifecycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endTestScope()
Map
export()
void
import_(Map o)
<T> com.google.inject.Provider<T>
scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> base)
void
startTestScope()
Call this method when a new test starts, to reset theTestScope
.
-
-
-
Method Detail
-
startTestScope
public void startTestScope()
Call this method when a new test starts, to reset theTestScope
.
-
endTestScope
public void endTestScope()
-
export
public Map export()
-
import_
public void import_(Map o)
-
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
-
-