|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.ourgrid.peer.manager.request.RequestManagerTest
public class RequestManagerTest
The test for EBRequestManager
class.
Constructor Summary | |
---|---|
RequestManagerTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testCreateAndContainRequest()
Verifies if the requests are been created correctly. |
void |
testGetConsumerFromRequestID()
Verifies if consumers are been correctly associated. |
void |
testInitialConditions()
Tests the initial map contents. |
void |
testMethodCallsForRequest()
Verifies if the hereIsGuMForRequest() ,
disposeOfForRequest() and lostGuMForRequest()
methods are changing the request. |
void |
testNoMoreGuMsForRequest()
|
void |
testPauseResumeRequest()
Verifies if the suspendWannaGuMsForRequest() and
resumeWannaGuMsForRequest() methods are changing the
request. |
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 |
Methods inherited from interface junit.framework.Test |
---|
countTestCases, run |
Methods inherited from interface junit.framework.Test |
---|
countTestCases, run |
Constructor Detail |
---|
public RequestManagerTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testCreateAndContainRequest()
public void testGetConsumerFromRequestID() throws RequestDoesNotExistException
RequestDoesNotExistException
public void testNoMoreGuMsForRequest() throws RequestDoesNotExistException
RequestDoesNotExistException
public void testPauseResumeRequest() throws RequestDoesNotExistException
suspendWannaGuMsForRequest()
and
resumeWannaGuMsForRequest()
methods are changing the
request.
RequestDoesNotExistException
public void testMethodCallsForRequest() throws RequestDoesNotExistException
hereIsGuMForRequest()
,
disposeOfForRequest()
and lostGuMForRequest()
methods are changing the request.
RequestDoesNotExistException
RequestDoesNotExistException
public void testInitialConditions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |