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_NAME-
Fields inherited from class com.cloudinary.test.MockableTest
cloudinary, REMOTE_TEST_IMAGE, SDK_TEST_TAG, SRC_TEST_IMAGE, SUFFIX
-
-
Constructor Summary
Constructors Constructor Description AbstractStreamingProfilesApiTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()static voidsetUpClass()static voidtearDownClass()voidtestCreate()voidtestDelete()voidtestGet()voidtestList()voidtestUpdate()-
Methods inherited from class com.cloudinary.test.MockableTest
getHttpMethod, getParam, getURL, preloadResource
-
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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
-
-