org.ourgrid.mygrid.ui.test
Class MyGridJobCancellerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ourgrid.mygrid.ui.test.MyGridJobCancellerTest
All Implemented Interfaces:
junit.framework.Test, GUITest, PreCommitTest, SelectiveTest, SpecialCareTest, StressTest

public class MyGridJobCancellerTest
extends junit.framework.TestCase
implements GUITest, SpecialCareTest


Constructor Summary
MyGridJobCancellerTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testCorrectJobCancel()
           
 void testIncorectJobCancel()
           
 
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
 

Constructor Detail

MyGridJobCancellerTest

public MyGridJobCancellerTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testCorrectJobCancel

public void testCorrectJobCancel()
                          throws JobNotFoundException,
                                 JobCouldNotBeCancelledException,
                                 java.rmi.RemoteException,
                                 CompilerException,
                                 CouldNotAddJobOutsideHomeMachineException
Throws:
JobNotFoundException
JobCouldNotBeCancelledException
java.rmi.RemoteException
CompilerException
CouldNotAddJobOutsideHomeMachineException

testIncorectJobCancel

public void testIncorectJobCancel()
                           throws java.rmi.RemoteException,
                                  JobCouldNotBeCancelledException
Throws:
java.rmi.RemoteException
JobCouldNotBeCancelledException