|
||||||||||
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.mygrid.scheduler.test.StorageAffinityTest
public class StorageAffinityTest
The test for StorageAffinity
.
Constructor Summary | |
---|---|
StorageAffinityTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testGetAffinityWithOneTaskAndOneGuM()
Tests the getAffinity() method with only one task and one
gum. |
void |
testScheduleWithOneTaskAndOneGuM()
Tests the schedule() method with only one task and one
gum. |
void |
testScheduleWithThreeTasksAndFourGuMs()
Tests the schedule() method with three task and four gums. |
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 StorageAffinityTest()
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 testGetAffinityWithOneTaskAndOneGuM() throws java.lang.Exception
getAffinity()
method with only one task and one
gum.
java.lang.Exception
- If something wrong happens.public void testScheduleWithOneTaskAndOneGuM() throws java.lang.Exception
schedule()
method with only one task and one
gum.
java.lang.Exception
- If something wrong happens.public void testScheduleWithThreeTasksAndFourGuMs() throws java.lang.Exception
schedule()
method with three task and four gums.
java.lang.Exception
- If something wrong happens.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |