org.sakaiproject.tool.gradebook.test
Class GradebookServiceInternalTest

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.gradebook.test.GradebookTestBase
                          extended byorg.sakaiproject.tool.gradebook.test.GradebookServiceInternalTest
All Implemented Interfaces:
junit.framework.Test

public class GradebookServiceInternalTest
extends GradebookTestBase

Test the service methods which interact with internally maintained data. These methods have more complex authorization requirements.


Field Summary
 
Fields inherited from class org.sakaiproject.tool.gradebook.test.GradebookTestBase
authn, authz, gradebookManager, gradebookService, gradeManager, integrationSupport, sectionAwareness, userDirectoryService, 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
GradebookServiceInternalTest()
           
 
Method Summary
protected  void onSetUpInTransaction()
           
 void testExternalClientSupport()
           
 
Methods inherited from class org.sakaiproject.tool.gradebook.test.GradebookTestBase
addUsersEnrollments, getConfigLocations, getIntegrationSupport, getUserManager, setAuthnId, setIntegrationSupport, setUserManager
 
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

GradebookServiceInternalTest

public GradebookServiceInternalTest()
Method Detail

onSetUpInTransaction

protected void onSetUpInTransaction()
                             throws Exception
Overrides:
onSetUpInTransaction in class GradebookTestBase
Throws:
Exception
See Also:
AbstractTransactionalSpringContextTests.onSetUpInTransaction()

testExternalClientSupport

public void testExternalClientSupport()
                               throws Exception
Throws:
Exception