org.sakaiproject.component.legacy.contenthosting.test
Class ContentHostingTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.sakaiproject.test.SakaiTestBase
              extended byorg.sakaiproject.component.legacy.contenthosting.test.ContentHostingTest
All Implemented Interfaces:
junit.framework.Test

public class ContentHostingTest
extends SakaiTestBase


Field Summary
 
Fields inherited from class org.sakaiproject.test.SakaiTestBase
compMgr
 
Constructor Summary
ContentHostingTest()
           
 
Method Summary
 void setUp()
          Setup test fixture (runs once for each test method called)
static junit.framework.Test suite()
          Runs only once for this TestCase, so we can keep the same component manager rather than rebuilding it for each test.
 void tearDown()
          Remove the newly created objects, so we can run more tests with a clean slate.
 void testContentService()
           
 
Methods inherited from class org.sakaiproject.test.SakaiTestBase
generateSiteId, getService, getServiceProxy, oneTimeSetup, oneTimeTearDown, setUser
 
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

ContentHostingTest

public ContentHostingTest()
Method Detail

suite

public static junit.framework.Test suite()
Runs only once for this TestCase, so we can keep the same component manager rather than rebuilding it for each test.

Returns:

setUp

public void setUp()
           throws Exception
Setup test fixture (runs once for each test method called)

Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Remove the newly created objects, so we can run more tests with a clean slate.

Throws:
Exception

testContentService

public void testContentService()
                        throws Exception
Throws:
Exception