mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(android tests): align runner stage assertions
This commit is contained in:
@@ -6,7 +6,7 @@ import org.junit.Test;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests for MediaUploadRecipes: recipe generation, selector arrays, timeouts,
|
* Unit tests for MediaUploadRecipes: recipe generation, selector arrays, timeouts,
|
||||||
* and failure classification semantics (input_not_found, chooser_not_triggered,
|
* and failure classification semantics (input_not_found, file_payload_unavailable,
|
||||||
* blocked/captcha, upload_timed_out).
|
* blocked/captcha, upload_timed_out).
|
||||||
*/
|
*/
|
||||||
public class MediaUploadRecipesTest {
|
public class MediaUploadRecipesTest {
|
||||||
@@ -81,8 +81,10 @@ public class MediaUploadRecipesTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void failureClassification_chooserNotTriggered_stageConstant() {
|
public void failureClassification_filePayloadUnavailable_stageConstant() {
|
||||||
assertEquals(MediaUploadAutomationRunner.STAGE_CHOOSER_NOT_TRIGGERED, "chooser_not_triggered");
|
assertEquals(
|
||||||
|
MediaUploadAutomationRunner.STAGE_FILE_PAYLOAD_UNAVAILABLE,
|
||||||
|
"file_payload_unavailable");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user