org.ourgrid.mygrid.scheduler.test
Class EBGridManagerTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.ourgrid.mygrid.scheduler.test.EBGridManagerTest
- All Implemented Interfaces:
- junit.framework.Test, FastTest, PreCommitTest, SchedulerFastTest, SchedulerPreCommitTest, SelectiveTest, StressTest
public class EBGridManagerTest
- extends junit.framework.TestCase
- implements SchedulerFastTest
Constructor Summary |
EBGridManagerTest(java.lang.String name)
Constructor for EBGridManagerTest. |
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 |
EBGridManagerTest
public EBGridManagerTest(java.lang.String name)
- Constructor for EBGridManagerTest.
- Parameters:
name
- Test name
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class junit.framework.TestCase
- Throws:
java.lang.Exception
testHereIsGuM
public void testHereIsGuM()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPause
public void testPause()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGumDiedDuringExecution
public void testGumDiedDuringExecution()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetAllGumEntries
public void testGetAllGumEntries()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNeedGuMs
public void testNeedGuMs()
testCancelRequests
public void testCancelRequests()
testSetAndGetGuMPs
public void testSetAndGetGuMPs()
testGetGums
public void testGetGums()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDeleteGridMachine
public void testDeleteGridMachine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAllocateAndFree
public void testAllocateAndFree()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGumsAreDisposedAfterJobIsFinished
public void testGumsAreDisposedAfterJobIsFinished()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBlackList
public void testBlackList()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBlackList2
public void testBlackList2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBlackList3
public void testBlackList3()
throws java.lang.Exception
- This test intends to check if a hereIsGum method call occurs, and the Gum
is in job black list, this gum can not be assigned to execute any task of
this job.
- Throws:
java.lang.Exception
testBlackList4
public void testBlackList4()
throws java.lang.Exception
- If Mygrid receives a blacklisted Gum, the peer that delvered the Gum must
be warned.
- Throws:
java.lang.Exception
testListenerNotify
public void testListenerNotify()
throws java.lang.Exception
- Throws:
java.lang.Exception