|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.persistence.testing.Test rice.persistence.testing.MemoryStorageTest
This class is a class which tests the Storage class in the rice.persistence package.
Nested Class Summary | |
class |
MemoryStorageTest.VariableId
DESCRIBE THE CLASS |
Field Summary | |
protected Storage |
storage
DESCRIBE THE FIELD |
protected boolean |
store
DESCRIBE THE FIELD |
Fields inherited from class rice.persistence.testing.Test |
environment, FAILURE, PAD_SIZE, SUCCESS |
Constructor Summary | |
MemoryStorageTest(boolean store,
Environment env)
Builds a MemoryMemoryStorageTest |
Method Summary | |
static void |
main(java.lang.String[] args)
The main program for the MemoryStorageTest class |
void |
setUp(Continuation c)
The JUnit setup method |
void |
start()
DESCRIBE THE METHOD |
void |
testExists(Continuation c)
A unit test for JUnit |
void |
testRetreival(Continuation c)
A unit test for JUnit |
void |
testVariableLength()
A unit test for JUnit |
Methods inherited from class rice.persistence.testing.Test |
sectionEnd, sectionStart, stepDone, stepDone, stepException, stepStart |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Storage storage
protected boolean store
Constructor Detail |
public MemoryStorageTest(boolean store, Environment env)
store
- DESCRIBE THE PARAMETERenv
- DESCRIBE THE PARAMETERMethod Detail |
public void setUp(Continuation c)
c
- The new Up valuepublic void testRetreival(Continuation c)
c
- DESCRIBE THE PARAMETERpublic void testExists(Continuation c)
c
- DESCRIBE THE PARAMETERpublic void testVariableLength()
public void start()
start
in class Test
public static void main(java.lang.String[] args) throws java.io.IOException
args
- The command line arguments
java.io.IOException
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |