Class | Description |
---|---|
ClearStatics |
Clear static variables in JIRA both before and after the test runs to improve test separation.
|
InitMockitoMocks |
Initializes Mocktio mocks before the tests.
|
Log4jLogger |
Watches log4j logs.
|
MockComponentContainer |
JUnit
@Rule that allows for providing mock JIRA components accessed in
production code via ComponentAccessor
static methods. |
MockHttp<R extends javax.servlet.http.HttpServletRequest,S extends javax.servlet.http.HttpServletResponse> |
Sets up and tears down automatically the following, static methods used in the JIRA production code for
accessing current HTTP objects:
ActionContext
ExecutingHttpRequest
|
MockHttp.DefaultMocks | |
MockHttp.MockitoMocks | |
MockitoContainer |
Rule that combines mockito initialization with
MockComponentContainer . |
MockitoMocksInContainer |
Factory for a
MockitoContainer rule |
SetupServletContextProvider |
Place a mock ServletContext in the ServletContextProvider and clean it out afterwads.
|
Annotation Type | Description |
---|---|
AvailableInContainer |
Annotate mocks in your unit test with this annotation to have them available via
ComponentAccessor in your unit tests. |
Copyright © 2002-2015 Atlassian. All Rights Reserved.