Package com.cloudinary.test
Class AbstractStreamingProfilesApiTest
java.lang.Object
com.cloudinary.test.MockableTest
com.cloudinary.test.AbstractStreamingProfilesApiTest
public abstract class AbstractStreamingProfilesApiTest extends MockableTest
-
Field Summary
Fields Modifier and Type Field Description protected com.cloudinary.Apiapistatic java.lang.StringCREATE_PROFILE_NAMEorg.junit.rules.TestNamecurrentTeststatic java.lang.StringDELETE_PROFILE_NAMEstatic java.lang.StringUPDATE_PROFILE_NAMEFields inherited from class com.cloudinary.test.MockableTest
cloudinary, REMOTE_TEST_IMAGE, SDK_TEST_TAG, SRC_TEST_IMAGE, SRC_TEST_RAW, SRC_TEST_VIDEO, SUFFIX -
Constructor Summary
Constructors Constructor Description AbstractStreamingProfilesApiTest() -
Method Summary
Modifier and Type Method Description voidsetUp()static voidsetUpClass()static voidtearDownClass()voidtestCreate()voidtestDelete()voidtestGet()voidtestList()voidtestUpdate()Methods inherited from class com.cloudinary.test.MockableTest
assumeAddonEnabled, getHttpMethod, getParam, getURL, preloadResource
-
Field Details
-
api
protected com.cloudinary.Api api -
UPDATE_PROFILE_NAME
public static final java.lang.String UPDATE_PROFILE_NAME -
DELETE_PROFILE_NAME
public static final java.lang.String DELETE_PROFILE_NAME -
CREATE_PROFILE_NAME
public static final java.lang.String CREATE_PROFILE_NAME -
currentTest
public org.junit.rules.TestName currentTest
-
-
Constructor Details
-
AbstractStreamingProfilesApiTest
public AbstractStreamingProfilesApiTest()
-
-
Method Details
-
setUpClass
public static void setUpClass() throws java.io.IOException- Throws:
java.io.IOException
-
setUp
public void setUp() -
testCreate
public void testCreate() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGet
public void testGet() throws java.lang.Exception- Throws:
java.lang.Exception
-
testList
public void testList() throws java.lang.Exception- Throws:
java.lang.Exception
-
testDelete
public void testDelete() throws java.lang.Exception- Throws:
java.lang.Exception
-
testUpdate
public void testUpdate() throws java.lang.Exception- Throws:
java.lang.Exception
-
tearDownClass
public static void tearDownClass() throws java.lang.Exception- Throws:
java.lang.Exception
-