org.alfresco.webservice.test
Class ClassificationServiceSystemTest

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

public class ClassificationServiceSystemTest
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
ClassificationServiceSystemTest()
           
 
Method Summary
protected  void setUp()
          Calls the AuthenticationService to retrieve a ticket for all tests to use.
 void testDescribeClassification()
          Tests the describeClassification service method
 void testGetAndSetCategories()
          Tests the getCategories and setCategories service methods
 void testGetChildCategories()
          Tests the getChildCategories service method
 void testGetClassifications()
          Tests the getClassifications service method
 
Methods inherited from class org.alfresco.webservice.test.BaseWebServiceSystemTest
convertToPredicate, createContentAtRoot, getFolderParentReference, 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

ClassificationServiceSystemTest

public ClassificationServiceSystemTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: BaseWebServiceSystemTest
Calls the AuthenticationService to retrieve a ticket for all tests to use.

Overrides:
setUp in class BaseWebServiceSystemTest
Throws:
java.lang.Exception

testGetClassifications

public void testGetClassifications()
                            throws java.lang.Exception
Tests the getClassifications service method

Throws:
java.lang.Exception

testGetChildCategories

public void testGetChildCategories()
                            throws java.lang.Exception
Tests the getChildCategories service method

Throws:
java.lang.Exception

testGetAndSetCategories

public void testGetAndSetCategories()
                             throws java.lang.Exception
Tests the getCategories and setCategories service methods

Throws:
java.lang.Exception

testDescribeClassification

public void testDescribeClassification()
                                throws java.lang.Exception
Tests the describeClassification service method

Throws:
java.lang.Exception


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