java.lang.Object |
↳ |
org.junit.rules.TestWatcher |
|
↳ |
com.atlassian.jira.junit.rules.MockHttp<R extends javax.servlet.http.HttpServletRequest, S extends javax.servlet.http.HttpServletResponse> |
Known Direct Subclasses
|
Class Overview
Sets up and tears down automatically the following, static methods used in the JIRA production code for
accessing current HTTP objects:
Summary
Nested Classes |
class |
MockHttp.DefaultMocks |
|
class |
MockHttp.MockitoMocks |
|
Protected Methods |
void
|
finished(Description description)
|
void
|
starting(Description description)
|
[Expand]
Inherited Methods |
From class
org.junit.rules.TestWatcher
Statement
|
apply(Statement arg0, Description arg1)
|
void
|
failed(Throwable arg0, Description arg1)
|
void
|
finished(Description arg0)
|
void
|
starting(Description arg0)
|
void
|
succeeded(Description arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.junit.rules.TestRule
Statement
|
apply(Statement arg0, Description arg1)
|
|
Public Methods
public
static
MockHttp<RR, RS>
withMocks
(RR mockRequest, RS mockResponse)
Protected Methods
protected
void
finished
(Description description)
protected
void
starting
(Description description)