org.kuali.student.enrollment.class2.courseoffering.service.impl
Class TestCourseOfferingServiceImplWithClass2Mocks
java.lang.Object
   org.kuali.student.enrollment.class2.courseoffering.service.impl.TestCourseOfferingServiceImplWithClass2Mocks
org.kuali.student.enrollment.class2.courseoffering.service.impl.TestCourseOfferingServiceImplWithClass2Mocks
- Direct Known Subclasses: 
- TestCourseOfferingServiceImpl
- @ContextConfiguration(locations="classpath:co-test-with-class2-mock-context.xml")
public class TestCourseOfferingServiceImplWithClass2Mocks 
- extends Object
- Author:
- ocleirig
         
         This is a set of unit test cases that runs directly against a mock
         implementation of the class 2 course offering service.
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
coService
protected CourseOfferingService coService
acalService
protected AcademicCalendarService acalService
atpService
protected AtpService atpService
canonicalCourseService
protected CourseService canonicalCourseService
dataLoader
protected CourseOfferingServiceTestDataLoader dataLoader
principalId
public static String principalId
callContext
public ContextInfo callContext
TestCourseOfferingServiceImplWithClass2Mocks
public TestCourseOfferingServiceImplWithClass2Mocks()
TestCourseOfferingServiceImplWithClass2Mocks
protected TestCourseOfferingServiceImplWithClass2Mocks(boolean testAwareDataLoader)
setup
public void setup()
           throws Exception
- 
- Throws:
- Exception
 
tearDown
public void tearDown()
- 
 
testCreateAndGetRegistrationGroup
public void testCreateAndGetRegistrationGroup()
                                       throws AlreadyExistsException,
                                              DoesNotExistException,
                                              DataValidationErrorException,
                                              InvalidParameterException,
                                              MissingParameterException,
                                              OperationFailedException,
                                              PermissionDeniedException
- 
- Throws:
- AlreadyExistsException
- DoesNotExistException
- DataValidationErrorException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
 
testCreateActivityOfferintgCluster
public void testCreateActivityOfferintgCluster()
                                        throws DoesNotExistException,
                                               InvalidParameterException,
                                               MissingParameterException,
                                               OperationFailedException,
                                               PermissionDeniedException,
                                               DataValidationErrorException,
                                               ReadOnlyException
- 
- Throws:
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- DataValidationErrorException
- ReadOnlyException
 
testGenerateRegGroupsFromActivityOfferingCluster
public void testGenerateRegGroupsFromActivityOfferingCluster()
                                                      throws DoesNotExistException,
                                                             InvalidParameterException,
                                                             MissingParameterException,
                                                             OperationFailedException,
                                                             PermissionDeniedException,
                                                             DataValidationErrorException,
                                                             ReadOnlyException
- 
- Throws:
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- DataValidationErrorException
- ReadOnlyException
 
testGenerateRegistrationGroupsSimple
public void testGenerateRegistrationGroupsSimple()
                                          throws DoesNotExistException,
                                                 InvalidParameterException,
                                                 MissingParameterException,
                                                 OperationFailedException,
                                                 PermissionDeniedException,
                                                 AlreadyExistsException,
                                                 DataValidationErrorException,
                                                 ReadOnlyException
- 
- Throws:
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- AlreadyExistsException
- DataValidationErrorException
- ReadOnlyException
 
testGenerateAndDeleteRegistrationGroups
public void testGenerateAndDeleteRegistrationGroups()
                                             throws DoesNotExistException,
                                                    InvalidParameterException,
                                                    MissingParameterException,
                                                    OperationFailedException,
                                                    PermissionDeniedException,
                                                    DataValidationErrorException,
                                                    ReadOnlyException,
                                                    DoesNotExistException,
                                                    InvalidParameterException,
                                                    MissingParameterException,
                                                    OperationFailedException,
                                                    PermissionDeniedException,
                                                    VersionMismatchException,
                                                    AlreadyExistsException,
                                                    DependentObjectsExistException
- 
- Throws:
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- DataValidationErrorException
- ReadOnlyException
- VersionMismatchException
- AlreadyExistsException
- DependentObjectsExistException
 
testServiceSetup
public void testServiceSetup()
- 
 
testGetCourseOffering
public void testGetCourseOffering()
                           throws DoesNotExistException,
                                  InvalidParameterException,
                                  MissingParameterException,
                                  OperationFailedException,
                                  PermissionDeniedException
- **********************************************************************
 COURSE TESTS ***********************************************************************
 
- 
- Throws:
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
 
testGetCourseOfferingIdsByTerm
public void testGetCourseOfferingIdsByTerm()
                                    throws DoesNotExistException,
                                           InvalidParameterException,
                                           MissingParameterException,
                                           OperationFailedException,
                                           PermissionDeniedException
- 
- Throws:
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
 
testGetCourseOfferingsByIds
public void testGetCourseOfferingsByIds()
                                 throws DoesNotExistException,
                                        InvalidParameterException,
                                        MissingParameterException,
                                        OperationFailedException,
                                        PermissionDeniedException
- 
- Throws:
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
 
testGetCourseOfferingsByCourseAndTerm
public void testGetCourseOfferingsByCourseAndTerm()
                                           throws DoesNotExistException,
                                                  InvalidParameterException,
                                                  MissingParameterException,
                                                  OperationFailedException,
                                                  PermissionDeniedException
- 
- Throws:
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
 
testCreateCourseOffering
public void testCreateCourseOffering()
                              throws AlreadyExistsException,
                                     DoesNotExistException,
                                     DataValidationErrorException,
                                     InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException,
                                     PermissionDeniedException,
                                     ReadOnlyException,
                                     DoesNotExistException,
                                     InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException,
                                     PermissionDeniedException
- 
- Throws:
- AlreadyExistsException
- DoesNotExistException
- DataValidationErrorException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- ReadOnlyException
 
testUpdateCourseOffering
public void testUpdateCourseOffering()
                              throws DataValidationErrorException,
                                     DoesNotExistException,
                                     InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException,
                                     PermissionDeniedException,
                                     ReadOnlyException,
                                     VersionMismatchException
- 
- Throws:
- DataValidationErrorException
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- ReadOnlyException
- VersionMismatchException
 
testUpdateCourseOfferingWithDynAttrs
public void testUpdateCourseOfferingWithDynAttrs()
                                          throws DataValidationErrorException,
                                                 DoesNotExistException,
                                                 InvalidParameterException,
                                                 MissingParameterException,
                                                 OperationFailedException,
                                                 PermissionDeniedException,
                                                 ReadOnlyException,
                                                 VersionMismatchException
- 
- Throws:
- DataValidationErrorException
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- ReadOnlyException
- VersionMismatchException
 
testDeleteFormatOffering
public void testDeleteFormatOffering()
                              throws InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException,
                                     PermissionDeniedException,
                                     DependentObjectsExistException,
                                     DoesNotExistException
- 
- Throws:
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- DependentObjectsExistException
- DoesNotExistException
 
testDeleteActivityOffering
public void testDeleteActivityOffering()
                                throws DataValidationErrorException,
                                       InvalidParameterException,
                                       MissingParameterException,
                                       OperationFailedException,
                                       PermissionDeniedException,
                                       ReadOnlyException,
                                       AlreadyExistsException,
                                       DoesNotExistException
- 
- Throws:
- DataValidationErrorException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- ReadOnlyException
- AlreadyExistsException
- DoesNotExistException
 
testDeleteCourseOffering
public void testDeleteCourseOffering()
                              throws AlreadyExistsException,
                                     DoesNotExistException,
                                     DataValidationErrorException,
                                     InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException,
                                     PermissionDeniedException,
                                     ReadOnlyException,
                                     DoesNotExistException,
                                     InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException,
                                     PermissionDeniedException
- 
- Throws:
- AlreadyExistsException
- DoesNotExistException
- DataValidationErrorException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- ReadOnlyException
 
testDeleteCourseOfferingCascaded
public void testDeleteCourseOfferingCascaded()
                                      throws DoesNotExistException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             OperationFailedException,
                                             PermissionDeniedException,
                                             AlreadyExistsException,
                                             DataValidationErrorException
- 
- Throws:
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- AlreadyExistsException
- DataValidationErrorException
 
testCreateFormatOffering
public void testCreateFormatOffering()
                              throws DoesNotExistException,
                                     InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException,
                                     PermissionDeniedException
- 
- Throws:
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
 
testGetFormatOffering
public void testGetFormatOffering()
                           throws DoesNotExistException,
                                  InvalidParameterException,
                                  MissingParameterException,
                                  OperationFailedException,
                                  PermissionDeniedException
- 
- Throws:
- DoesNotExistException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
 
testCreateAndGetActivityOffering
public void testCreateAndGetActivityOffering()
                                      throws AlreadyExistsException,
                                             DataValidationErrorException,
                                             InvalidParameterException,
                                             MissingParameterException,
                                             OperationFailedException,
                                             PermissionDeniedException,
                                             DoesNotExistException
- 
- Throws:
- AlreadyExistsException
- DataValidationErrorException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- DoesNotExistException
 
testUpdateRegistrationGroup
public void testUpdateRegistrationGroup()
                                 throws InvalidParameterException,
                                        DataValidationErrorException,
                                        MissingParameterException,
                                        DoesNotExistException,
                                        VersionMismatchException,
                                        PermissionDeniedException,
                                        OperationFailedException,
                                        ReadOnlyException
- 
- Throws:
- InvalidParameterException
- DataValidationErrorException
- MissingParameterException
- DoesNotExistException
- VersionMismatchException
- PermissionDeniedException
- OperationFailedException
- ReadOnlyException
 
testDeleteRegistrationGroup
public void testDeleteRegistrationGroup()
                                 throws InvalidParameterException,
                                        MissingParameterException,
                                        DoesNotExistException,
                                        PermissionDeniedException,
                                        OperationFailedException
- 
- Throws:
- InvalidParameterException
- MissingParameterException
- DoesNotExistException
- PermissionDeniedException
- OperationFailedException
 
testGetActivityOfferingType
public void testGetActivityOfferingType()
                                 throws InvalidParameterException,
                                        MissingParameterException,
                                        DoesNotExistException,
                                        PermissionDeniedException,
                                        OperationFailedException
- 
- Throws:
- InvalidParameterException
- MissingParameterException
- DoesNotExistException
- PermissionDeniedException
- OperationFailedException
 
testGetActivityOfferingTypes
public void testGetActivityOfferingTypes()
                                  throws InvalidParameterException,
                                         MissingParameterException,
                                         PermissionDeniedException,
                                         OperationFailedException
- 
- Throws:
- InvalidParameterException
- MissingParameterException
- PermissionDeniedException
- OperationFailedException
 
testCreateSeatPoolDefinition
public void testCreateSeatPoolDefinition()
                                  throws DataValidationErrorException,
                                         InvalidParameterException,
                                         MissingParameterException,
                                         OperationFailedException,
                                         PermissionDeniedException,
                                         ReadOnlyException
- 
- Throws:
- DataValidationErrorException
- InvalidParameterException
- MissingParameterException
- OperationFailedException
- PermissionDeniedException
- ReadOnlyException
 
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.