org.alfresco.webservice.test
Class AuthoringServiceSystemTest

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.AuthoringServiceSystemTest
All Implemented Interfaces:
junit.framework.Test

public class AuthoringServiceSystemTest
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
AuthoringServiceSystemTest()
           
 
Method Summary
 void testCancelCheckout()
          Tests the cancelCheckout service method
 void testCheckin()
          Tests the checkin service method
 void testCheckinExternal()
          Tests the checkinExternal service method
 void testCheckout()
          Tests the checkout service method
 void testLockUnLockGetStatus()
          Tests the lock service methods, lock, unlock and getStaus
 void testVersionMethods()
          Tests the createVersion service method
 void xtestCheckoutWithDestination()
          Tests the checkout service method passing a destination for the working copy
 
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

AuthoringServiceSystemTest

public AuthoringServiceSystemTest()
Method Detail

testCheckout

public void testCheckout()
                  throws java.lang.Exception
Tests the checkout service method

Throws:
java.lang.Exception

xtestCheckoutWithDestination

public void xtestCheckoutWithDestination()
                                  throws java.lang.Exception
Tests the checkout service method passing a destination for the working copy

Throws:
java.lang.Exception

testCheckin

public void testCheckin()
                 throws java.lang.Exception
Tests the checkin service method

Throws:
java.lang.Exception

testCheckinExternal

public void testCheckinExternal()
                         throws java.lang.Exception
Tests the checkinExternal service method

Throws:
java.lang.Exception

testCancelCheckout

public void testCancelCheckout()
                        throws java.lang.Exception
Tests the cancelCheckout service method

Throws:
java.lang.Exception

testLockUnLockGetStatus

public void testLockUnLockGetStatus()
                             throws java.lang.Exception
Tests the lock service methods, lock, unlock and getStaus

Throws:
java.lang.Exception

testVersionMethods

public void testVersionMethods()
                        throws java.lang.Exception
Tests the createVersion service method

Throws:
java.lang.Exception


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