@ContextConfiguration(locations="classpath:courseregistration-test-context.xml") @TransactionConfiguration(transactionManager="JtaTxManager", defaultRollback=false) public class CourseRegistrationEngineIT extends Object
Modifier and Type | Field and Description |
---|---|
static String[] |
EXCEPTIONS |
static String |
RESULT_EXCEPTION |
static String |
RESULT_ITEM_EXCEPTION |
static String |
TRUE |
static String |
VALIDATION_EXCEPTION |
Constructor and Description |
---|
CourseRegistrationEngineIT() |
Modifier and Type | Method and Description |
---|---|
protected RegistrationRequestInfo |
buildRegRequestsFor(String principalId,
String personId) |
CourseRegistrationService |
getCourseRegistrationService() |
void |
setCourseRegistrationService(CourseRegistrationService courseRegistrationService) |
void |
setUp() |
void |
testResultException()
This tests a result-level exception being thrown during registration update (before the split or after the join).
|
void |
testResultItemException()
This tests a result item-level exception being thrown during registration update.
|
void |
testSimpleCourseRegistration()
This tests creating an add reg request and submitting it to the registration engine.
|
void |
testValidationException()
This tests an exception being thrown during registration validation.
|
public static final String TRUE
public static final String VALIDATION_EXCEPTION
public static final String RESULT_EXCEPTION
public static final String RESULT_ITEM_EXCEPTION
public static final String[] EXCEPTIONS
public CourseRegistrationEngineIT()
@Transactional public void setUp() throws Exception
Exception
public void testSimpleCourseRegistration() throws Exception
Exception
public void testValidationException() throws Exception
Exception
public void testResultException() throws Exception
Exception
public void testResultItemException() throws Exception
Exception
protected RegistrationRequestInfo buildRegRequestsFor(String principalId, String personId) throws DoesNotExistException, PermissionDeniedException, OperationFailedException, InvalidParameterException, ReadOnlyException, MissingParameterException, DataValidationErrorException, AlreadyExistsException
public CourseRegistrationService getCourseRegistrationService()
public void setCourseRegistrationService(CourseRegistrationService courseRegistrationService)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.