org.olat.note
Class NoteTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.olat.core.test.OlatTestCase
              extended by org.olat.note.NoteTest
All Implemented Interfaces:
junit.framework.Test, OLATResourceable

public class NoteTest
extends OlatTestCase
implements OLATResourceable

Initial Date: Dec 9, 2004

Author:
Alexander Schneider Comment:

Constructor Summary
NoteTest(java.lang.String arg0)
           
 
Method Summary
 java.lang.Long getResourceableId()
           
 java.lang.String getResourceableTypeName()
           
 void setUp()
           
static junit.framework.Test suite()
           
 void tearDown()
           
 void testGenericLoadDeleteNote()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoteTest

public NoteTest(java.lang.String arg0)
Parameters:
arg0 -
Method Detail

suite

public static junit.framework.Test suite()
                                  throws java.lang.Exception
Returns:
Test
Throws:
java.lang.Exception

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase
See Also:
TestCase.setUp()

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase
See Also:
TestCase.tearDown()

testGenericLoadDeleteNote

public void testGenericLoadDeleteNote()

getResourceableTypeName

public java.lang.String getResourceableTypeName()
Specified by:
getResourceableTypeName in interface OLATResourceable
Returns:
a type name. It must be unique within OLAT. Consider this.getClass().getName() as such a type name.
See Also:
org.olat.core.id.OLATResourceablegetResourceableTypeName()

getResourceableId

public java.lang.Long getResourceableId()
Specified by:
getResourceableId in interface OLATResourceable
Returns:
a number identfiying the instance of this type. if null, then the OLATResourcable is just a type. The value 0 (zero) is not allowed
See Also:
org.olat.core.id.OLATResourceablegetResourceableId()