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 org.kuali.student.common.test.spring.AbstractServiceTest


Field Summary
 org.kuali.student.lum.lo.service.LearningObjectiveService client
           
 
Constructor Summary
TestLearningObjectiveServiceImpl()
           
 
Method Summary
private  boolean containsLoCatInfo(List<org.kuali.student.lum.lo.dto.LoCategoryInfo> categories, List<String> idList)
           
 void testAddRemoveLoCategoryToFromLo()
           
 void testCreateLoLoRelation()
           
 void testDisallowLoCategoryDuplication()
           
 void testDisallowLoCategoryDuplicationCaseInsensitive()
           
 void testDisallowLoCategoryWEmptyDesc()
           
 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 org.kuali.student.lum.lo.service.LearningObjectiveService client
Constructor Detail

TestLearningObjectiveServiceImpl

public TestLearningObjectiveServiceImpl()
Method Detail

testLo

public void testLo()
            throws org.kuali.student.core.exceptions.DoesNotExistException,
                   org.kuali.student.core.exceptions.InvalidParameterException,
                   org.kuali.student.core.exceptions.MissingParameterException,
                   org.kuali.student.core.exceptions.OperationFailedException,
                   org.kuali.student.core.exceptions.DataValidationErrorException,
                   org.kuali.student.core.exceptions.PermissionDeniedException,
                   org.kuali.student.core.exceptions.VersionMismatchException,
                   org.kuali.student.core.exceptions.DependentObjectsExistException,
                   org.kuali.student.core.exceptions.AlreadyExistsException,
                   org.kuali.student.core.exceptions.CircularRelationshipException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.DataValidationErrorException
org.kuali.student.core.exceptions.PermissionDeniedException
org.kuali.student.core.exceptions.VersionMismatchException
org.kuali.student.core.exceptions.DependentObjectsExistException
org.kuali.student.core.exceptions.AlreadyExistsException
org.kuali.student.core.exceptions.CircularRelationshipException

testGetLoByIdList

public void testGetLoByIdList()
                       throws org.kuali.student.core.exceptions.DoesNotExistException,
                              org.kuali.student.core.exceptions.InvalidParameterException,
                              org.kuali.student.core.exceptions.OperationFailedException,
                              org.kuali.student.core.exceptions.MissingParameterException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.MissingParameterException

testDisallowLoCategoryDuplication

public void testDisallowLoCategoryDuplication()
                                       throws org.kuali.student.core.exceptions.DoesNotExistException,
                                              org.kuali.student.core.exceptions.DataValidationErrorException,
                                              org.kuali.student.core.exceptions.InvalidParameterException,
                                              org.kuali.student.core.exceptions.MissingParameterException,
                                              org.kuali.student.core.exceptions.OperationFailedException,
                                              org.kuali.student.core.exceptions.PermissionDeniedException,
                                              org.kuali.student.core.exceptions.DependentObjectsExistException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.DataValidationErrorException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.PermissionDeniedException
org.kuali.student.core.exceptions.DependentObjectsExistException

testDisallowLoWEmptyDesc

public void testDisallowLoWEmptyDesc()
                              throws org.kuali.student.core.exceptions.DoesNotExistException,
                                     org.kuali.student.core.exceptions.InvalidParameterException,
                                     org.kuali.student.core.exceptions.MissingParameterException,
                                     org.kuali.student.core.exceptions.OperationFailedException,
                                     org.kuali.student.core.exceptions.DataValidationErrorException,
                                     org.kuali.student.core.exceptions.PermissionDeniedException,
                                     org.kuali.student.core.exceptions.VersionMismatchException,
                                     org.kuali.student.core.exceptions.DependentObjectsExistException,
                                     org.kuali.student.core.exceptions.AlreadyExistsException,
                                     org.kuali.student.core.exceptions.CircularRelationshipException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.DataValidationErrorException
org.kuali.student.core.exceptions.PermissionDeniedException
org.kuali.student.core.exceptions.VersionMismatchException
org.kuali.student.core.exceptions.DependentObjectsExistException
org.kuali.student.core.exceptions.AlreadyExistsException
org.kuali.student.core.exceptions.CircularRelationshipException

testDisallowLoCategoryWEmptyDesc

public void testDisallowLoCategoryWEmptyDesc()
                                      throws org.kuali.student.core.exceptions.DoesNotExistException,
                                             org.kuali.student.core.exceptions.InvalidParameterException,
                                             org.kuali.student.core.exceptions.MissingParameterException,
                                             org.kuali.student.core.exceptions.OperationFailedException,
                                             org.kuali.student.core.exceptions.DataValidationErrorException,
                                             org.kuali.student.core.exceptions.PermissionDeniedException,
                                             org.kuali.student.core.exceptions.VersionMismatchException,
                                             org.kuali.student.core.exceptions.DependentObjectsExistException,
                                             org.kuali.student.core.exceptions.AlreadyExistsException,
                                             org.kuali.student.core.exceptions.CircularRelationshipException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.DataValidationErrorException
org.kuali.student.core.exceptions.PermissionDeniedException
org.kuali.student.core.exceptions.VersionMismatchException
org.kuali.student.core.exceptions.DependentObjectsExistException
org.kuali.student.core.exceptions.AlreadyExistsException
org.kuali.student.core.exceptions.CircularRelationshipException

testDisallowLoCategoryDuplicationCaseInsensitive

public void testDisallowLoCategoryDuplicationCaseInsensitive()
                                                      throws org.kuali.student.core.exceptions.DoesNotExistException,
                                                             org.kuali.student.core.exceptions.DataValidationErrorException,
                                                             org.kuali.student.core.exceptions.InvalidParameterException,
                                                             org.kuali.student.core.exceptions.MissingParameterException,
                                                             org.kuali.student.core.exceptions.OperationFailedException,
                                                             org.kuali.student.core.exceptions.PermissionDeniedException,
                                                             org.kuali.student.core.exceptions.DependentObjectsExistException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.DataValidationErrorException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.PermissionDeniedException
org.kuali.student.core.exceptions.DependentObjectsExistException

testUpdateLoCategoryDuplicationCaseInsensitive

public void testUpdateLoCategoryDuplicationCaseInsensitive()
                                                    throws org.kuali.student.core.exceptions.DoesNotExistException,
                                                           org.kuali.student.core.exceptions.DataValidationErrorException,
                                                           org.kuali.student.core.exceptions.InvalidParameterException,
                                                           org.kuali.student.core.exceptions.MissingParameterException,
                                                           org.kuali.student.core.exceptions.OperationFailedException,
                                                           org.kuali.student.core.exceptions.PermissionDeniedException,
                                                           org.kuali.student.core.exceptions.DependentObjectsExistException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.DataValidationErrorException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.PermissionDeniedException
org.kuali.student.core.exceptions.DependentObjectsExistException

testGetRelatedLosByLoId

public void testGetRelatedLosByLoId()
                             throws org.kuali.student.core.exceptions.DoesNotExistException,
                                    org.kuali.student.core.exceptions.InvalidParameterException,
                                    org.kuali.student.core.exceptions.OperationFailedException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.OperationFailedException

testGetLoRepositories

public void testGetLoRepositories()
                           throws org.kuali.student.core.exceptions.DoesNotExistException,
                                  org.kuali.student.core.exceptions.InvalidParameterException,
                                  org.kuali.student.core.exceptions.OperationFailedException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.OperationFailedException

testGetLoRepository

public void testGetLoRepository()
                         throws org.kuali.student.core.exceptions.DoesNotExistException,
                                org.kuali.student.core.exceptions.InvalidParameterException,
                                org.kuali.student.core.exceptions.OperationFailedException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.OperationFailedException

testGetLoCategoryTypes

public void testGetLoCategoryTypes()
                            throws org.kuali.student.core.exceptions.DoesNotExistException,
                                   org.kuali.student.core.exceptions.InvalidParameterException,
                                   org.kuali.student.core.exceptions.OperationFailedException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.OperationFailedException

testGetLoTypesAndGetLoType

public void testGetLoTypesAndGetLoType()
                                throws org.kuali.student.core.exceptions.OperationFailedException,
                                       org.kuali.student.core.exceptions.DoesNotExistException,
                                       org.kuali.student.core.exceptions.InvalidParameterException,
                                       org.kuali.student.core.exceptions.MissingParameterException
Throws:
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException

testGetLoLoRelationTypes

public void testGetLoLoRelationTypes()

testGetLoLoRelationType

public void testGetLoLoRelationType()
                             throws org.kuali.student.core.exceptions.OperationFailedException,
                                    org.kuali.student.core.exceptions.DoesNotExistException
Throws:
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.DoesNotExistException

testGetAllowedLoLoRelationTypesForLoType

public void testGetAllowedLoLoRelationTypesForLoType()
                                              throws org.kuali.student.core.exceptions.DoesNotExistException,
                                                     org.kuali.student.core.exceptions.InvalidParameterException,
                                                     org.kuali.student.core.exceptions.MissingParameterException,
                                                     org.kuali.student.core.exceptions.OperationFailedException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException

testGetLoLoRelation

public void testGetLoLoRelation()
                         throws org.kuali.student.core.exceptions.OperationFailedException,
                                org.kuali.student.core.exceptions.DoesNotExistException,
                                org.kuali.student.core.exceptions.InvalidParameterException
Throws:
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException

testGetLoCategories

public void testGetLoCategories()
                         throws org.kuali.student.core.exceptions.DoesNotExistException,
                                org.kuali.student.core.exceptions.InvalidParameterException,
                                org.kuali.student.core.exceptions.MissingParameterException,
                                org.kuali.student.core.exceptions.OperationFailedException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException

testGetLoCategoriesForLo

public void testGetLoCategoriesForLo()
                              throws org.kuali.student.core.exceptions.DoesNotExistException,
                                     org.kuali.student.core.exceptions.InvalidParameterException,
                                     org.kuali.student.core.exceptions.MissingParameterException,
                                     org.kuali.student.core.exceptions.OperationFailedException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException

testAddRemoveLoCategoryToFromLo

public void testAddRemoveLoCategoryToFromLo()
                                     throws org.kuali.student.core.exceptions.DoesNotExistException,
                                            org.kuali.student.core.exceptions.InvalidParameterException,
                                            org.kuali.student.core.exceptions.MissingParameterException,
                                            org.kuali.student.core.exceptions.OperationFailedException,
                                            org.kuali.student.core.exceptions.AlreadyExistsException,
                                            org.kuali.student.core.exceptions.PermissionDeniedException,
                                            org.kuali.student.core.exceptions.UnsupportedActionException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.AlreadyExistsException
org.kuali.student.core.exceptions.PermissionDeniedException
org.kuali.student.core.exceptions.UnsupportedActionException

containsLoCatInfo

private boolean containsLoCatInfo(List<org.kuali.student.lum.lo.dto.LoCategoryInfo> categories,
                                  List<String> idList)

testCreateLoLoRelation

public void testCreateLoLoRelation()
                            throws org.kuali.student.core.exceptions.DoesNotExistException,
                                   org.kuali.student.core.exceptions.InvalidParameterException,
                                   org.kuali.student.core.exceptions.MissingParameterException,
                                   org.kuali.student.core.exceptions.OperationFailedException,
                                   org.kuali.student.core.exceptions.AlreadyExistsException,
                                   org.kuali.student.core.exceptions.CircularReferenceException,
                                   org.kuali.student.core.exceptions.DataValidationErrorException,
                                   org.kuali.student.core.exceptions.PermissionDeniedException,
                                   org.kuali.student.core.exceptions.CircularRelationshipException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.AlreadyExistsException
org.kuali.student.core.exceptions.CircularReferenceException
org.kuali.student.core.exceptions.DataValidationErrorException
org.kuali.student.core.exceptions.PermissionDeniedException
org.kuali.student.core.exceptions.CircularRelationshipException

testLoCategory

public void testLoCategory()
                    throws org.kuali.student.core.exceptions.OperationFailedException,
                           org.kuali.student.core.exceptions.DoesNotExistException,
                           org.kuali.student.core.exceptions.InvalidParameterException,
                           org.kuali.student.core.exceptions.MissingParameterException,
                           org.kuali.student.core.exceptions.DataValidationErrorException,
                           org.kuali.student.core.exceptions.PermissionDeniedException,
                           org.kuali.student.core.exceptions.VersionMismatchException,
                           org.kuali.student.core.exceptions.DependentObjectsExistException,
                           org.kuali.student.core.exceptions.AlreadyExistsException,
                           org.kuali.student.core.exceptions.UnsupportedActionException
Throws:
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.DataValidationErrorException
org.kuali.student.core.exceptions.PermissionDeniedException
org.kuali.student.core.exceptions.VersionMismatchException
org.kuali.student.core.exceptions.DependentObjectsExistException
org.kuali.student.core.exceptions.AlreadyExistsException
org.kuali.student.core.exceptions.UnsupportedActionException

testSearchForResults

public void testSearchForResults()
                          throws org.kuali.student.core.exceptions.DoesNotExistException,
                                 org.kuali.student.core.exceptions.InvalidParameterException,
                                 org.kuali.student.core.exceptions.MissingParameterException,
                                 org.kuali.student.core.exceptions.OperationFailedException,
                                 org.kuali.student.core.exceptions.PermissionDeniedException
Throws:
org.kuali.student.core.exceptions.DoesNotExistException
org.kuali.student.core.exceptions.InvalidParameterException
org.kuali.student.core.exceptions.MissingParameterException
org.kuali.student.core.exceptions.OperationFailedException
org.kuali.student.core.exceptions.PermissionDeniedException


Copyright © 2010 The Kuali Foundation. All rights reserved.