ItemAddControllerTest ItemAddControllerTest(
$methodName
)
|
|
Parameters:
void handleRequestWithProgressBar(
$form,
$item,
$addPlugin
)
|
|
Parameters:
|
$form: |
|
|
$item: |
|
|
$addPlugin: |
|
void testHandleRequestDelegatesToProgressBarView(
)
|
|
void testHandleRequestItemAddWebDavBackwardsCompatibility(
)
|
|
void testHandleRequestRequiresAddPermission(
)
|
|
void testHandleRequestRequiresContainerItem(
)
|
|
void testHandleRequestWithProgressBarAutoRedirectOnError(
)
|
|
void testHandleRequestWithProgressBarAutoRedirectOnSuccessWithinPeriod(
)
|
|
void testHandleRequestWithProgressBarContinueAdding(
)
|
|
void testHandleRequestWithProgressBarNoAutoRedirectOnSuccessAfterPeriod(
)
|
|
void testHandleRequestWithProgressBarSuccess(
)
|
|
void testHandleRequestWithProgressBarWithArchiveExtract(
)
|
|
void testHandleRequestWithProgressBarWithArchiveExtractNoAddAlbumPermission(
)
|
|
void testHandleRequestWithProgressBarWithFailure(
)
|
|
void testHandleRequestWithProgressBarWithOption(
)
|
|
void testHandleRequestWithProgressBarWithOptionAndError(
)
|
|
void testHandleRequestWithXss(
)
|
|
void testPostprocessItemsProtectsFromProcessingItemsTwice(
)
|
|
void _assertCompleteProgressBar(
array
$requiredUrlParameters, bool
$expectedDoRedirect
)
|
|
Assert the completeProgressBar() parameters for progress-bar based tasks.
Parameters:
array |
$requiredUrlParameters: |
URL generator parameters required to be part of the continue URL |
bool |
$expectedDoRedirect: |
expected value of doRedirect of the final completeProgressBar call |
void _assertErrorFromProgressBar(
array
$expectedError
)
|
|
Assert form / validation errors from the progress-bar callback.
Parameters:
array |
$expectedError: |
array of expected errors, or null |
void _getStatusFromProgressBar(
)
|
|