Class MockUpdateCenter
- java.lang.Object
-
- org.jenkinsci.test.acceptance.update_center.MockUpdateCenter
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,AutoCleaned
@TestScope public class MockUpdateCenter extends Object implements AutoCleaned
Serves a fake update center locally.
-
-
Field Summary
Fields Modifier and Type Field Description com.google.inject.Injector
injector
-
Constructor Summary
Constructors Constructor Description MockUpdateCenter()
-
-
-
Method Detail
-
ensureRunning
public void ensureRunning(Jenkins jenkins)
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-