|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
| Class Summary | |
|---|---|
| ClearStatics | Clear static variables in JIRA to allow tests separattion Just add this to your test: |
| InitMockitoMocks | Initializes Mocktio mocks before the tests. |
| MockComponentContainer | JUnit @Rule that allows for providing mock JIRA components accessed in
production code via ComponentAccessor
static methods. |
| MockHttp<R extends HttpServletRequest,S extends 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 |
| Annotation Types Summary | |
|---|---|
| AvailableInContainer | Annotate mocks in your unit test with this annotation to have them available via
ComponentAccessor in your unit tests. |
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||