org.sakaiproject.test.section.dataload
Class GradebookDataLoader

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.test.section.SectionsTestBase
                          extended byorg.sakaiproject.test.section.dataload.GradebookDataLoader
All Implemented Interfaces:
junit.framework.Test

public class GradebookDataLoader
extends SectionsTestBase


Field Summary
static String AUTHID_NO_SITE
           
static String AUTHID_STUDENT_ALL
           
static String AUTHID_STUDENT_PREFIX
           
static String AUTHID_TEACHER_ALL
          Special users
static String AUTHID_TEACHER_AND_STUDENT
           
protected  CourseManager courseManager
           
protected  SectionManager sectionManager
           
static int SITE_AMBIGUOUS_STUDENT
           
static int SITE_AMBIGUOUS_TEACHER
          Special sites
static boolean[] SITE_EXTERNALLY_MANAGED
           
static String[] SITE_NAMES
           
static boolean[] SITE_SELF_REG
           
static boolean[] SITE_SELF_SWITCH
           
static String[] SITE_UIDS
           
protected  UserManager userManager
           
 
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
GradebookDataLoader()
           
 
Method Summary
protected  void onSetUpInTransaction()
           
 void testLoadData()
           
 
Methods inherited from class org.sakaiproject.test.section.SectionsTestBase
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
 

Field Detail

SITE_UIDS

public static final String[] SITE_UIDS

SITE_NAMES

public static final String[] SITE_NAMES

SITE_SELF_REG

public static boolean[] SITE_SELF_REG

SITE_SELF_SWITCH

public static boolean[] SITE_SELF_SWITCH

SITE_EXTERNALLY_MANAGED

public static boolean[] SITE_EXTERNALLY_MANAGED

AUTHID_TEACHER_ALL

public static final String AUTHID_TEACHER_ALL
Special users

See Also:
Constant Field Values

AUTHID_TEACHER_AND_STUDENT

public static final String AUTHID_TEACHER_AND_STUDENT
See Also:
Constant Field Values

AUTHID_STUDENT_ALL

public static final String AUTHID_STUDENT_ALL
See Also:
Constant Field Values

AUTHID_NO_SITE

public static final String AUTHID_NO_SITE
See Also:
Constant Field Values

AUTHID_STUDENT_PREFIX

public static final String AUTHID_STUDENT_PREFIX
See Also:
Constant Field Values

SITE_AMBIGUOUS_TEACHER

public static int SITE_AMBIGUOUS_TEACHER
Special sites


SITE_AMBIGUOUS_STUDENT

public static int SITE_AMBIGUOUS_STUDENT

courseManager

protected CourseManager courseManager

sectionManager

protected SectionManager sectionManager

userManager

protected UserManager userManager
Constructor Detail

GradebookDataLoader

public GradebookDataLoader()
Method Detail

onSetUpInTransaction

protected void onSetUpInTransaction()
                             throws Exception
Throws:
Exception

testLoadData

public void testLoadData()