org.alfresco.webservice.test
Class ContentServiceSystemTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.webservice.test.BaseWebServiceSystemTest
              extended by org.alfresco.webservice.test.ContentServiceSystemTest
All Implemented Interfaces:
junit.framework.Test

public class ContentServiceSystemTest
extends BaseWebServiceSystemTest


Field Summary
 
Fields inherited from class org.alfresco.webservice.test.BaseWebServiceSystemTest
CONTENT_NAME, CONTENT_NAME_2, contentReference, contentReference2, contentService, FOLDER_NAME, folderReference, PASSWORD, repositoryService, rootReference, store, TEST_CONTENT, USERNAME
 
Constructor Summary
ContentServiceSystemTest()
           
 
Method Summary
 void testContentService()
           
 void testContentTransform()
           
 void testContentUploadServlet()
          Test the content upload servlet
 void testUploadContentFromFile()
          Test uploading content from file
 void testUploadImageFromFile()
          Test uploading image from file
 void testUploadWithAttachment()
           
 void uploadContentViaServlet(java.lang.String filePath, java.lang.String fileName, java.lang.String fileExtension)
           
 
Methods inherited from class org.alfresco.webservice.test.BaseWebServiceSystemTest
convertToPredicate, createContentAtRoot, getFolderParentReference, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentServiceSystemTest

public ContentServiceSystemTest()
Method Detail

testContentService

public void testContentService()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testUploadContentFromFile

public void testUploadContentFromFile()
                               throws java.lang.Exception
Test uploading content from file

Throws:
java.lang.Exception

testContentTransform

public void testContentTransform()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testUploadImageFromFile

public void testUploadImageFromFile()
                             throws java.lang.Exception
Test uploading image from file

Throws:
java.lang.Exception

testUploadWithAttachment

public void testUploadWithAttachment()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testContentUploadServlet

public void testContentUploadServlet()
                              throws java.lang.Exception
Test the content upload servlet

Throws:
java.lang.Exception

uploadContentViaServlet

public void uploadContentViaServlet(java.lang.String filePath,
                                    java.lang.String fileName,
                                    java.lang.String fileExtension)
                             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.