org.kuali.student.enrollment.class2.acal.service.impl
Class TestAcademicCalendarServiceImpl

java.lang.Object
  extended by org.kuali.student.enrollment.class2.acal.service.impl.TestAcademicCalendarServiceImpl

@ContextConfiguration(locations="classpath:acal-test-context.xml")
@TransactionConfiguration(transactionManager="JtaTxManager",
                          defaultRollback=true)
@Transactional
public class TestAcademicCalendarServiceImpl
extends Object


Field Summary
 ContextInfo callContext
           
static String principalId
           
 
Constructor Summary
TestAcademicCalendarServiceImpl()
           
 
Method Summary
 void setUp()
           
 void testAcademicCalendarServiceSetup()
           
 void testAddTermToAcademicCalendar()
           
 void testAddTermToTerm()
           
 void testCalculateKeyDate()
           
 void testCopyAcademicCalendar()
           
 void testCreateAcademicCalendar()
           
 void testCreateAndGetTerm()
           
 void testCreateKeyDate()
           
 void testDeleteAcademicCalendar()
           
 void testDeleteTerm()
           
 void testGetAcademicCalendar()
           
 void testGetAcademicCalendarFromDerby()
           
 void testGetAcademicCalendarsByKeyList()
           
 void testGetAcademicCalendarsByStartYear()
           
 void testGetContainingTerms()
           
 void testGetHolidayType()
           
 void testGetHolidayTypes()
           
 void testGetImpactedKeyDates()
           
 void testGetIncludedTermsInTerm()
           
 void testGetTermIdsByType()
           
 void testGetTermsByKeyList()
           
 void testGetTermsForAcademicCalendar()
           
 void testGetTermState()
           
 void testGetTermStates()
           
 void testGetTermToAcademicCalendar()
           
 void testGetTermType()
           
 void testGetTermTypes()
           
 void testGetTermTypesForAcademicCalendarType()
           
 void testGetTermTypesForTermType()
           
 void testRemoveTermFromAcademicCalendar()
           
 void testRemoveTermFromTerm()
           
 void testSearchForAcademicCalendars()
           
 void testSearchForAcalEvents()
           
 void testSearchForHolidays()
           
 void testSearchForTerms()
           
 void testUpdateAcademicCalendar()
           
 void testUpdateTerm()
           
 void testValidateAcademicCalendar()
           
 void testValidateTerm()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

principalId

public static String principalId

callContext

public ContextInfo callContext
Constructor Detail

TestAcademicCalendarServiceImpl

public TestAcademicCalendarServiceImpl()
Method Detail

setUp

public void setUp()

testAcademicCalendarServiceSetup

public void testAcademicCalendarServiceSetup()

testGetAcademicCalendarFromDerby

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

testGetAcademicCalendar

public void testGetAcademicCalendar()
                             throws DoesNotExistException,
                                    InvalidParameterException,
                                    MissingParameterException,
                                    OperationFailedException,
                                    PermissionDeniedException,
                                    DataValidationErrorException,
                                    ReadOnlyException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DataValidationErrorException
ReadOnlyException

testValidateAcademicCalendar

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

testCreateAcademicCalendar

public void testCreateAcademicCalendar()
                                throws AlreadyExistsException,
                                       DataValidationErrorException,
                                       InvalidParameterException,
                                       MissingParameterException,
                                       OperationFailedException,
                                       PermissionDeniedException,
                                       DoesNotExistException,
                                       ReadOnlyException
Throws:
AlreadyExistsException
DataValidationErrorException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DoesNotExistException
ReadOnlyException

testUpdateAcademicCalendar

public void testUpdateAcademicCalendar()
                                throws DoesNotExistException,
                                       InvalidParameterException,
                                       MissingParameterException,
                                       OperationFailedException,
                                       PermissionDeniedException,
                                       DataValidationErrorException,
                                       ReadOnlyException,
                                       VersionMismatchException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DataValidationErrorException
ReadOnlyException
VersionMismatchException

testDeleteAcademicCalendar

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

testGetAcademicCalendarsByStartYear

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

testValidateTerm

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

testCreateAndGetTerm

public void testCreateAndGetTerm()
                          throws DoesNotExistException,
                                 InvalidParameterException,
                                 MissingParameterException,
                                 OperationFailedException,
                                 PermissionDeniedException,
                                 DataValidationErrorException,
                                 ReadOnlyException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DataValidationErrorException
ReadOnlyException

testAddTermToAcademicCalendar

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

testGetTermToAcademicCalendar

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

testGetContainingTerms

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

testGetTermIdsByType

public void testGetTermIdsByType()
                          throws Exception
Throws:
Exception

testGetTermsByKeyList

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

testGetTermsForAcademicCalendar

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

testGetIncludedTermsInTerm

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

testSearchForTerms

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

testGetTermState

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

testGetTermStates

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

testGetTermType

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

testGetTermTypes

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

testGetTermTypesForAcademicCalendarType

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

testGetTermTypesForTermType

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

testRemoveTermFromAcademicCalendar

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

testRemoveTermFromTerm

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

testUpdateTerm

public void testUpdateTerm()
                    throws DoesNotExistException,
                           InvalidParameterException,
                           MissingParameterException,
                           OperationFailedException,
                           PermissionDeniedException,
                           DataValidationErrorException,
                           VersionMismatchException,
                           ReadOnlyException
Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DataValidationErrorException
VersionMismatchException
ReadOnlyException

testDeleteTerm

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

testAddTermToTerm

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

testCreateKeyDate

public void testCreateKeyDate()
                       throws AlreadyExistsException,
                              DataValidationErrorException,
                              InvalidParameterException,
                              MissingParameterException,
                              OperationFailedException,
                              PermissionDeniedException,
                              DoesNotExistException,
                              ReadOnlyException
Throws:
AlreadyExistsException
DataValidationErrorException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DoesNotExistException
ReadOnlyException

testGetAcademicCalendarsByKeyList

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

testSearchForAcademicCalendars

public void testSearchForAcademicCalendars()
                                    throws AlreadyExistsException,
                                           DoesNotExistException,
                                           InvalidParameterException,
                                           MissingParameterException,
                                           OperationFailedException,
                                           PermissionDeniedException,
                                           ParseException
Throws:
AlreadyExistsException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
ParseException

testCopyAcademicCalendar

public void testCopyAcademicCalendar()
                              throws AlreadyExistsException,
                                     DoesNotExistException,
                                     InvalidParameterException,
                                     MissingParameterException,
                                     OperationFailedException,
                                     PermissionDeniedException,
                                     ParseException
Throws:
AlreadyExistsException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
ParseException

testGetImpactedKeyDates

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

testCalculateKeyDate

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

testSearchForAcalEvents

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

testSearchForHolidays

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

testGetHolidayType

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

testGetHolidayTypes

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


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