public abstract class AbstractUploaderTest extends MockableTest
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.TestName |
currentTest |
static int |
SRC_TEST_IMAGE_H |
static int |
SRC_TEST_IMAGE_W |
cloudinary, REMOTE_TEST_IMAGE, SDK_TEST_TAG, SRC_TEST_IMAGE, SUFFIX| Constructor and Description |
|---|
AbstractUploaderTest() |
getHttpMethod, getParam, getURL, preloadResourcepublic static final int SRC_TEST_IMAGE_W
public static final int SRC_TEST_IMAGE_H
public org.junit.rules.TestName currentTest
public static void setUpClass()
throws java.io.IOException
java.io.IOExceptionpublic static void tearDownClass()
public void setUp()
public void testUtf8Upload()
throws java.io.IOException
java.io.IOExceptionpublic void testDeleteByToken()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpload()
throws java.io.IOException
java.io.IOExceptionpublic void testUploadUrl()
throws java.io.IOException
java.io.IOExceptionpublic void testUploadLargeUrl()
throws java.io.IOException
java.io.IOExceptionpublic void testUploadDataUri()
throws java.io.IOException
java.io.IOExceptionpublic void testUploadUTF8()
throws java.io.IOException
java.io.IOExceptionpublic void testRename()
throws java.lang.Exception
java.lang.Exceptionpublic void testUniqueFilename()
throws java.lang.Exception
java.lang.Exceptionpublic void testEagerWithStreamingProfile()
throws java.io.IOException
java.io.IOExceptionpublic void testExplicit()
throws java.io.IOException
java.io.IOExceptionpublic void testEager()
throws java.io.IOException
java.io.IOExceptionpublic void testUploadAsync()
throws java.io.IOException
java.io.IOExceptionpublic void testHeaders()
throws java.io.IOException
java.io.IOExceptionpublic void testText()
throws java.lang.Exception
java.lang.Exceptionpublic void testImageUploadTag()
public void testSprite()
throws java.lang.Exception
java.lang.Exceptionpublic void testMulti()
throws java.lang.Exception
java.lang.Exceptionpublic void testTags()
throws java.lang.Exception
java.lang.Exceptionpublic void testAllowedFormats()
throws java.lang.Exception
java.lang.Exceptionpublic void testAllowedFormatsWithIllegalFormat()
throws java.lang.Exception
java.lang.Exceptionpublic void testAllowedFormatsWithFormat()
throws java.lang.Exception
java.lang.Exceptionpublic void testFaceCoordinates()
throws java.lang.Exception
java.lang.Exceptionpublic void testCustomCoordinates()
throws java.lang.Exception
java.lang.Exceptionpublic void testModerationRequest()
throws java.lang.Exception
java.lang.Exceptionpublic void testRawConvertRequest()
public void testCategorizationRequest()
public void testDetectionRequest()
public void testAutoTaggingRequest()
public void testUploadLarge()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnsignedUpload()
throws java.lang.Exception
java.lang.Exceptionpublic void testFilenameOption()
throws java.lang.Exception
java.lang.Exceptionpublic void testResponsiveBreakpoints()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateArchive()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateArchiveRaw()
throws java.lang.Exception
java.lang.Exceptionpublic void testDownloadArchive()
throws java.lang.Exception
java.lang.Exceptionpublic void testUploadInvalidUrl()
public void testAccessControl()
throws java.text.ParseException,
java.io.IOException
java.text.ParseExceptionjava.io.IOException