org.ourgrid.mygrid.ui.gui
Class JobsTreeModelTest

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

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


Constructor Summary
JobsTreeModelTest()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testNull()
           
 void testNumberOfJobs()
           
 void testNumberOfReplicas()
           
 void testNumberOfTasks()
           
 void testTreeEmpty()
           
 
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

JobsTreeModelTest

public JobsTreeModelTest()
Method Detail

main

public static void main(java.lang.String[] args)

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

testNull

public void testNull()

testTreeEmpty

public void testTreeEmpty()

testNumberOfJobs

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

testNumberOfTasks

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

testNumberOfReplicas

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