org.ourgrid.mygrid.scheduler.test
Class EBJobManagerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ourgrid.mygrid.scheduler.test.EBJobManagerTest
All Implemented Interfaces:
junit.framework.Test, FastTest, PreCommitTest, SchedulerFastTest, SchedulerPreCommitTest, SelectiveTest, StressTest

public class EBJobManagerTest
extends junit.framework.TestCase
implements SchedulerFastTest


Constructor Summary
EBJobManagerTest(java.lang.String name)
          Constructor for EBJobManagerTest.
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAddJobAndClonedJobList()
           
 void testAddJobAndJobList()
           
 void testAddJobInterestedWithRunningTasks()
           
 void testIfJobsAreBeingCloned()
           
 void testReplicaAborted()
           
 void testReplicaCanceled()
           
 void testReplicaFailed()
           
 void testReplicaFailedWithExceptions()
           
 void testReplicaFinished()
           
 
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

EBJobManagerTest

public EBJobManagerTest(java.lang.String name)
Constructor for EBJobManagerTest.

Parameters:
name - Test name
Method Detail

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

testAddJobAndClonedJobList

public void testAddJobAndClonedJobList()
                                throws TaskSpecificationException,
                                       JobSpecificationException
Throws:
TaskSpecificationException
JobSpecificationException

testAddJobAndJobList

public void testAddJobAndJobList()
                          throws TaskSpecificationException,
                                 JobSpecificationException
Throws:
TaskSpecificationException
JobSpecificationException

testAddJobInterestedWithRunningTasks

public void testAddJobInterestedWithRunningTasks()
                                          throws ConfigException,
                                                 TaskSpecificationException,
                                                 JobSpecificationException
Throws:
ConfigException
TaskSpecificationException
JobSpecificationException

testReplicaFinished

public void testReplicaFinished()
                         throws TaskSpecificationException,
                                JobSpecificationException
Throws:
TaskSpecificationException
JobSpecificationException

testReplicaFailed

public void testReplicaFailed()
                       throws TaskSpecificationException,
                              JobSpecificationException
Throws:
TaskSpecificationException
JobSpecificationException

testReplicaFailedWithExceptions

public void testReplicaFailedWithExceptions()
                                     throws TaskSpecificationException,
                                            JobSpecificationException,
                                            ConfigException
Throws:
TaskSpecificationException
JobSpecificationException
ConfigException

testReplicaCanceled

public void testReplicaCanceled()
                         throws ConfigException,
                                TaskSpecificationException,
                                JobSpecificationException
Throws:
ConfigException
TaskSpecificationException
JobSpecificationException

testReplicaAborted

public void testReplicaAborted()
                        throws ConfigException,
                               TaskSpecificationException,
                               JobSpecificationException
Throws:
ConfigException
TaskSpecificationException
JobSpecificationException

testIfJobsAreBeingCloned

public void testIfJobsAreBeingCloned()
                              throws ConfigException,
                                     TaskSpecificationException,
                                     JobSpecificationException
Throws:
ConfigException
TaskSpecificationException
JobSpecificationException