org.sakaiproject.tool.edu.coursemanagement.test
Class CourseManagerTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.springframework.test.AbstractSpringContextTests
              extended byorg.springframework.test.AbstractDependencyInjectionSpringContextTests
                  extended byorg.springframework.test.AbstractTransactionalSpringContextTests
                      extended byorg.sakaiproject.tool.edu.coursemanagement.test.CourseManagementTestBase
                          extended byorg.sakaiproject.tool.edu.coursemanagement.test.CourseManagerTest
All Implemented Interfaces:
junit.framework.Test

public class CourseManagerTest
extends CourseManagementTestBase


Field Summary
 
Fields inherited from class org.sakaiproject.tool.edu.coursemanagement.test.CourseManagementTestBase
canonicalCourse, courseManagementManager, session, sessionType
 
Fields inherited from class org.springframework.test.AbstractTransactionalSpringContextTests
transactionManager, transactionStatus
 
Fields inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
applicationContext, AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO, managedVariableNames
 
Fields inherited from class org.springframework.test.AbstractSpringContextTests
logger
 
Constructor Summary
CourseManagerTest()
           
 
Method Summary
 void addEnrollmentStatusType()
           
 void addParticipationStatusType()
           
 void addSessionType()
           
protected  void onSetUpInTransaction()
           
 void testCreateCanonicalCourse()
          test create 2 equivalent canonical courses
 void testCreateCourseSet()
           
 SessionImpl testCreateSession()
           
 void testRemoveCanonical()
           
 void testSetUpDefault()
           
 
Methods inherited from class org.sakaiproject.tool.edu.coursemanagement.test.CourseManagementTestBase
getConfigLocations
 
Methods inherited from class org.springframework.test.AbstractTransactionalSpringContextTests
endTransaction, onSetUp, onSetUpBeforeTransaction, onTearDown, onTearDownAfterTransaction, onTearDownInTransaction, setComplete, setDefaultRollback, setTransactionManager
 
Methods inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
contextKey, getAutowireMode, getLoadCount, initManagedVariableNames, isDependencyCheck, isPopulateProtectedVariables, loadContextLocations, populateProtectedVariables, setAutowireMode, setDependencyCheck, setDirty, setPopulateProtectedVariables, setUp, tearDown
 
Methods inherited from class org.springframework.test.AbstractSpringContextTests
contextKeyString, getContext, hasCachedContext, loadContext, setDirty
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CourseManagerTest

public CourseManagerTest()
Method Detail

onSetUpInTransaction

protected void onSetUpInTransaction()
                             throws Exception
Overrides:
onSetUpInTransaction in class CourseManagementTestBase
Throws:
Exception

testSetUpDefault

public void testSetUpDefault()
                      throws Exception
Throws:
Exception

testCreateCanonicalCourse

public void testCreateCanonicalCourse()
                               throws Exception
test create 2 equivalent canonical courses

Throws:
Exception

testRemoveCanonical

public void testRemoveCanonical()
                         throws Exception
Throws:
Exception

testCreateSession

public SessionImpl testCreateSession()
                              throws Exception
Throws:
Exception

testCreateCourseSet

public void testCreateCourseSet()
                         throws Exception
Throws:
Exception

addSessionType

public void addSessionType()

addEnrollmentStatusType

public void addEnrollmentStatusType()

addParticipationStatusType

public void addParticipationStatusType()