org.kuali.student.lum.lo.service.impl
Class TestLearningObjectiveServiceImpl

java.lang.Object
  extended by org.kuali.student.common.test.spring.AbstractServiceTest
      extended by org.kuali.student.lum.lo.service.impl.TestLearningObjectiveServiceImpl

public class TestLearningObjectiveServiceImpl
extends AbstractServiceTest


Field Summary
 LearningObjectiveService client
           
 
Constructor Summary
TestLearningObjectiveServiceImpl()
           
 
Method Summary
private  boolean containsLoCatInfo(List<LoCategoryInfo> categories, List<String> idList)
           
 void testAddRemoveLoCategoryToFromLo()
           
 void testCreateLoLoRelation()
           
 void testDisallowLoCategoryDuplication()
           
 void testDisallowLoCategoryDuplicationCaseInsensitive()
           
 void testDisallowLoCategoryWEmptyName()
           
 void testDisallowLoWEmptyDesc()
           
 void testGetAllowedLoLoRelationTypesForLoType()
           
 void testGetLoByIdList()
           
 void testGetLoCategories()
           
 void testGetLoCategoriesForLo()
           
 void testGetLoCategoryTypes()
           
 void testGetLoLoRelation()
           
 void testGetLoLoRelationType()
           
 void testGetLoLoRelationTypes()
           
 void testGetLoRepositories()
           
 void testGetLoRepository()
           
 void testGetLoTypesAndGetLoType()
           
 void testGetRelatedLosByLoId()
           
 void testLo()
           
 void testLoCategory()
           
 void testSearchForResults()
           
 void testUpdateLoCategoryDuplicationCaseInsensitive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

public LearningObjectiveService client
Constructor Detail

TestLearningObjectiveServiceImpl

public TestLearningObjectiveServiceImpl()
Method Detail

testLo

public void testLo()
            throws DoesNotExistException,
                   InvalidParameterException,
                   MissingParameterException,
                   OperationFailedException,
                   DataValidationErrorException,
                   PermissionDeniedException,
                   VersionMismatchException,
                   DependentObjectsExistException,
                   AlreadyExistsException,
                   CircularRelationshipException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
DataValidationErrorException
PermissionDeniedException
VersionMismatchException
DependentObjectsExistException
AlreadyExistsException
CircularRelationshipException

testGetLoByIdList

public void testGetLoByIdList()
                       throws DoesNotExistException,
                              InvalidParameterException,
                              OperationFailedException,
                              MissingParameterException
Throws:
DoesNotExistException
InvalidParameterException
OperationFailedException
MissingParameterException

testDisallowLoCategoryDuplication

public void testDisallowLoCategoryDuplication()
                                       throws DoesNotExistException,
                                              DataValidationErrorException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException,
                                              DependentObjectsExistException
Throws:
DoesNotExistException
DataValidationErrorException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DependentObjectsExistException

testDisallowLoWEmptyDesc

public void testDisallowLoWEmptyDesc()
                              throws DoesNotExistException,
                                     InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException,
                                     DataValidationErrorException,
                                     PermissionDeniedException,
                                     VersionMismatchException,
                                     DependentObjectsExistException,
                                     AlreadyExistsException,
                                     CircularRelationshipException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
DataValidationErrorException
PermissionDeniedException
VersionMismatchException
DependentObjectsExistException
AlreadyExistsException
CircularRelationshipException

testDisallowLoCategoryWEmptyName

public void testDisallowLoCategoryWEmptyName()
                                      throws DoesNotExistException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             OperationFailedException,
                                             DataValidationErrorException,
                                             PermissionDeniedException,
                                             VersionMismatchException,
                                             DependentObjectsExistException,
                                             AlreadyExistsException,
                                             CircularRelationshipException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
DataValidationErrorException
PermissionDeniedException
VersionMismatchException
DependentObjectsExistException
AlreadyExistsException
CircularRelationshipException

testDisallowLoCategoryDuplicationCaseInsensitive

public void testDisallowLoCategoryDuplicationCaseInsensitive()
                                                      throws DoesNotExistException,
                                                             DataValidationErrorException,
                                                             InvalidParameterException,
                                                             MissingParameterException,
                                                             OperationFailedException,
                                                             PermissionDeniedException,
                                                             DependentObjectsExistException
Throws:
DoesNotExistException
DataValidationErrorException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DependentObjectsExistException

testUpdateLoCategoryDuplicationCaseInsensitive

public void testUpdateLoCategoryDuplicationCaseInsensitive()
                                                    throws DoesNotExistException,
                                                           DataValidationErrorException,
                                                           InvalidParameterException,
                                                           MissingParameterException,
                                                           OperationFailedException,
                                                           PermissionDeniedException,
                                                           DependentObjectsExistException
Throws:
DoesNotExistException
DataValidationErrorException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DependentObjectsExistException

testGetRelatedLosByLoId

public void testGetRelatedLosByLoId()
                             throws DoesNotExistException,
                                    InvalidParameterException,
                                    OperationFailedException
Throws:
DoesNotExistException
InvalidParameterException
OperationFailedException

testGetLoRepositories

public void testGetLoRepositories()
                           throws DoesNotExistException,
                                  InvalidParameterException,
                                  OperationFailedException
Throws:
DoesNotExistException
InvalidParameterException
OperationFailedException

testGetLoRepository

public void testGetLoRepository()
                         throws DoesNotExistException,
                                InvalidParameterException,
                                OperationFailedException
Throws:
DoesNotExistException
InvalidParameterException
OperationFailedException

testGetLoCategoryTypes

public void testGetLoCategoryTypes()
                            throws DoesNotExistException,
                                   InvalidParameterException,
                                   OperationFailedException
Throws:
DoesNotExistException
InvalidParameterException
OperationFailedException

testGetLoTypesAndGetLoType

public void testGetLoTypesAndGetLoType()
                                throws OperationFailedException,
                                       DoesNotExistException,
                                       InvalidParameterException,
                                       MissingParameterException
Throws:
OperationFailedException
DoesNotExistException
InvalidParameterException
MissingParameterException

testGetLoLoRelationTypes

public void testGetLoLoRelationTypes()

testGetLoLoRelationType

public void testGetLoLoRelationType()
                             throws OperationFailedException,
                                    DoesNotExistException
Throws:
OperationFailedException
DoesNotExistException

testGetAllowedLoLoRelationTypesForLoType

public void testGetAllowedLoLoRelationTypesForLoType()
                                              throws DoesNotExistException,
                                                     InvalidParameterException,
                                                     MissingParameterException,
                                                     OperationFailedException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

testGetLoLoRelation

public void testGetLoLoRelation()
                         throws OperationFailedException,
                                DoesNotExistException,
                                InvalidParameterException
Throws:
OperationFailedException
DoesNotExistException
InvalidParameterException

testGetLoCategories

public void testGetLoCategories()
                         throws DoesNotExistException,
                                InvalidParameterException,
                                MissingParameterException,
                                OperationFailedException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

testGetLoCategoriesForLo

public void testGetLoCategoriesForLo()
                              throws DoesNotExistException,
                                     InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException

testAddRemoveLoCategoryToFromLo

public void testAddRemoveLoCategoryToFromLo()
                                     throws DoesNotExistException,
                                            InvalidParameterException,
                                            MissingParameterException,
                                            OperationFailedException,
                                            AlreadyExistsException,
                                            PermissionDeniedException,
                                            UnsupportedActionException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
AlreadyExistsException
PermissionDeniedException
UnsupportedActionException

containsLoCatInfo

private boolean containsLoCatInfo(List<LoCategoryInfo> categories,
                                  List<String> idList)

testCreateLoLoRelation

public void testCreateLoLoRelation()
                            throws DoesNotExistException,
                                   InvalidParameterException,
                                   MissingParameterException,
                                   OperationFailedException,
                                   AlreadyExistsException,
                                   CircularReferenceException,
                                   DataValidationErrorException,
                                   PermissionDeniedException,
                                   CircularRelationshipException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
AlreadyExistsException
CircularReferenceException
DataValidationErrorException
PermissionDeniedException
CircularRelationshipException

testLoCategory

public void testLoCategory()
                    throws OperationFailedException,
                           DoesNotExistException,
                           InvalidParameterException,
                           MissingParameterException,
                           DataValidationErrorException,
                           PermissionDeniedException,
                           VersionMismatchException,
                           DependentObjectsExistException,
                           AlreadyExistsException,
                           UnsupportedActionException
Throws:
OperationFailedException
DoesNotExistException
InvalidParameterException
MissingParameterException
DataValidationErrorException
PermissionDeniedException
VersionMismatchException
DependentObjectsExistException
AlreadyExistsException
UnsupportedActionException

testSearchForResults

public void testSearchForResults()
                          throws DoesNotExistException,
                                 InvalidParameterException,
                                 MissingParameterException,
                                 OperationFailedException,
                                 PermissionDeniedException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.