Package org.alfresco.rest.demo
Class SampleCommentsTests
- java.lang.Object
-
- org.springframework.test.context.testng.AbstractTestNGSpringContextTests
-
- org.alfresco.rest.RestTest
-
- org.alfresco.rest.demo.SampleCommentsTests
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.testng.IHookable,org.testng.ITestNGListener
public class SampleCommentsTests extends RestTest
-
-
Field Summary
-
Fields inherited from class org.alfresco.rest.RestTest
dataContent, dataGroup, dataLink, dataSite, dataUser, dataWorkflow, properties, restClient, restProperties, serverHealth, testSite, workflow
-
-
Constructor Summary
Constructors Constructor Description SampleCommentsTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadminShouldUpdateComment()voidadmiShouldAddComment()voidadmiShouldRetrieveComments()voiddataPreparation()-
Methods inherited from class org.alfresco.rest.RestTest
checkServerHealth, showEndTestInfo, showStartTestInfo
-
Methods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
-
-
-
-
Method Detail
-
dataPreparation
public void dataPreparation() throws java.lang.Exception- Throws:
java.lang.Exception
-
admiShouldAddComment
public void admiShouldAddComment() throws JsonToModelConversionException, java.lang.Exception- Throws:
JsonToModelConversionExceptionjava.lang.Exception
-
admiShouldRetrieveComments
public void admiShouldRetrieveComments() throws java.lang.Exception- Throws:
java.lang.Exception
-
adminShouldUpdateComment
public void adminShouldUpdateComment() throws JsonToModelConversionException, java.lang.Exception- Throws:
JsonToModelConversionExceptionjava.lang.Exception
-
-