org.ourgrid.mygrid.scheduler.test
Class SchedulingHeuristicTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.ourgrid.mygrid.scheduler.test.SchedulingHeuristicTest
- All Implemented Interfaces:
- junit.framework.Test, FastTest, PreCommitTest, SchedulerFastTest, SchedulerPreCommitTest, SelectiveTest, StressTest
public class SchedulingHeuristicTest
- extends junit.framework.TestCase
- implements SchedulerFastTest
This class will test features that are independent of the scheduling
heuristic implementation. Basically, the tests must assure that the abstract
methods of EBAbstractSchedulingHeuristic
are working.
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 |
SchedulingHeuristicTest
public SchedulingHeuristicTest()
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
testRunningFailTask1
public void testRunningFailTask1()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRunningFailTask2
public void testRunningFailTask2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBlacklist2
public void testBlacklist2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBlacklist1
public void testBlacklist1()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGumCouldNotCreatePlaypen
public void testGumCouldNotCreatePlaypen()
throws java.lang.Exception
- This test verifies if the treatment of a fail occurred at playpen
creation is the same as an execution fail occurred during getResult
phase.
- Throws:
java.lang.Exception
testGumCouldNotCreateStorage
public void testGumCouldNotCreateStorage()
throws java.lang.Exception
- This test verifies if the treatement of a fail ocurred at storage
creation is the same as an execution fail ocurred during getResult phase.
- Throws:
java.lang.Exception
testDispose
public void testDispose()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDispose2
public void testDispose2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDispose3
public void testDispose3()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPauseResume
public void testPauseResume()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPauseResume2
public void testPauseResume2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPauseResume3
public void testPauseResume3()
throws java.lang.Exception
- Throws:
java.lang.Exception