Package com.cloudinary.test
Class AbstractUploaderTest
- java.lang.Object
-
- com.cloudinary.test.MockableTest
-
- com.cloudinary.test.AbstractUploaderTest
-
public abstract class AbstractUploaderTest extends MockableTest
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.TestNamecurrentTeststatic intSRC_TEST_IMAGE_Hstatic intSRC_TEST_IMAGE_W-
Fields inherited from class com.cloudinary.test.MockableTest
cloudinary, REMOTE_TEST_IMAGE, SDK_TEST_TAG, SRC_TEST_IMAGE, SUFFIX
-
-
Constructor Summary
Constructors Constructor Description AbstractUploaderTest()
-
Method Summary
-
Methods inherited from class com.cloudinary.test.MockableTest
getHttpMethod, getParam, getURL, preloadResource
-
-
-
-
Field Detail
-
SRC_TEST_IMAGE_W
public static final int SRC_TEST_IMAGE_W
- See Also:
- Constant Field Values
-
SRC_TEST_IMAGE_H
public static final int SRC_TEST_IMAGE_H
- See Also:
- Constant Field Values
-
currentTest
public org.junit.rules.TestName currentTest
-
-
Method Detail
-
setUpClass
public static void setUpClass() throws java.io.IOException- Throws:
java.io.IOException
-
tearDownClass
public static void tearDownClass()
-
setUp
public void setUp()
-
testUtf8Upload
public void testUtf8Upload() throws java.io.IOException- Throws:
java.io.IOException
-
testDeleteByToken
public void testDeleteByToken() throws java.lang.Exception- Throws:
java.lang.Exception
-
testUpload
public void testUpload() throws java.io.IOException- Throws:
java.io.IOException
-
testIsRemoteUrl
public void testIsRemoteUrl()
-
testUploadUrl
public void testUploadUrl() throws java.io.IOException- Throws:
java.io.IOException
-
testUploadLargeUrl
public void testUploadLargeUrl() throws java.io.IOException- Throws:
java.io.IOException
-
testUploadDataUri
public void testUploadDataUri() throws java.io.IOException- Throws:
java.io.IOException
-
testUploadUTF8
public void testUploadUTF8() throws java.io.IOException- Throws:
java.io.IOException
-
testRename
public void testRename() throws java.lang.Exception- Throws:
java.lang.Exception
-
testUniqueFilename
public void testUniqueFilename() throws java.lang.Exception- Throws:
java.lang.Exception
-
testExplicit
public void testExplicit() throws java.io.IOException- Throws:
java.io.IOException
-
testEager
public void testEager() throws java.io.IOException- Throws:
java.io.IOException
-
testUploadAsync
public void testUploadAsync() throws java.io.IOException- Throws:
java.io.IOException
-
testHeaders
public void testHeaders() throws java.io.IOException- Throws:
java.io.IOException
-
testText
public void testText() throws java.lang.Exception- Throws:
java.lang.Exception
-
testImageUploadTag
public void testImageUploadTag()
-
testSprite
public void testSprite() throws java.lang.Exception- Throws:
java.lang.Exception
-
testMulti
public void testMulti() throws java.lang.Exception- Throws:
java.lang.Exception
-
testTags
public void testTags() throws java.lang.Exception- Throws:
java.lang.Exception
-
testAllowedFormats
public void testAllowedFormats() throws java.lang.Exception- Throws:
java.lang.Exception
-
testAllowedFormatsWithIllegalFormat
public void testAllowedFormatsWithIllegalFormat() throws java.lang.Exception- Throws:
java.lang.Exception
-
testAllowedFormatsWithFormat
public void testAllowedFormatsWithFormat() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFaceCoordinates
public void testFaceCoordinates() throws java.lang.Exception- Throws:
java.lang.Exception
-
testCustomCoordinates
public void testCustomCoordinates() throws java.lang.Exception- Throws:
java.lang.Exception
-
testModerationRequest
public void testModerationRequest() throws java.lang.Exception- Throws:
java.lang.Exception
-
testRawConvertRequest
public void testRawConvertRequest()
-
testCategorizationRequest
public void testCategorizationRequest()
-
testDetectionRequest
public void testDetectionRequest()
-
testUploadLarge
public void testUploadLarge() throws java.lang.Exception- Throws:
java.lang.Exception
-
testUnsignedUpload
public void testUnsignedUpload() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFilenameOption
public void testFilenameOption() throws java.lang.Exception- Throws:
java.lang.Exception
-
testResponsiveBreakpoints
public void testResponsiveBreakpoints() throws java.lang.Exception- Throws:
java.lang.Exception
-
testCreateArchive
public void testCreateArchive() throws java.lang.Exception- Throws:
java.lang.Exception
-
testCreateArchiveRaw
public void testCreateArchiveRaw() throws java.lang.Exception- Throws:
java.lang.Exception
-
testDownloadArchive
public void testDownloadArchive() throws java.lang.Exception- Throws:
java.lang.Exception
-
testUploadInvalidUrl
public void testUploadInvalidUrl()
-
testAccessControl
public void testAccessControl() throws java.text.ParseException, java.io.IOException- Throws:
java.text.ParseExceptionjava.io.IOException
-
testQualityAnalysis
public void testQualityAnalysis() throws java.io.IOException- Throws:
java.io.IOException
-
testCinemagraphAnalysisUpload
public void testCinemagraphAnalysisUpload() throws java.io.IOException- Throws:
java.io.IOException
-
-