edu.sdsc.inca.util
Class SuiteStagesWrapperTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byedu.sdsc.inca.util.SuiteStagesWrapperTest
All Implemented Interfaces:
junit.framework.Test

public class SuiteStagesWrapperTest
extends junit.framework.TestCase

Created by IntelliJ IDEA.

Author:
Shava Smallen <ssmallen@sdsc.edu>

Constructor Summary
SuiteStagesWrapperTest()
           
 
Method Summary
 void testArgCrossProduct()
          Test the ability to get the cross product of a report series args
 void testBlankSuite()
          Test good behavior when dealing with a blank suite
 void testChooseCronFieldValue()
          Test proper substitution of all cron fields
 void testChooseSchedule()
          Test ability to substitute '?'s in schedules
 void testGetResourceSuites()
          Test ability to extract resource suites
 void testModify()
          Test expansion
 void testPersistenceAndModify()
          Test suite dao persistence.
 void testSeriesConfigCrossProduct()
          Test ability to expand report series
 void testSetResourcesWrapper()
          Test set ResourceCOnfigDAO function
 void testUpdatePackage()
          test updatePackage function
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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
 

Constructor Detail

SuiteStagesWrapperTest

public SuiteStagesWrapperTest()
Method Detail

testArgCrossProduct

public void testArgCrossProduct()
                         throws java.lang.Exception
Test the ability to get the cross product of a report series args

Throws:
java.lang.Exception

testBlankSuite

public void testBlankSuite()
                    throws java.lang.Exception
Test good behavior when dealing with a blank suite

Throws:
java.lang.Exception

testChooseCronFieldValue

public void testChooseCronFieldValue()
                              throws java.lang.Exception
Test proper substitution of all cron fields

Throws:
java.lang.Exception

testChooseSchedule

public void testChooseSchedule()
                        throws java.lang.Exception
Test ability to substitute '?'s in schedules

Throws:
java.lang.Exception

testGetResourceSuites

public void testGetResourceSuites()
                           throws java.lang.Exception
Test ability to extract resource suites

Throws:
java.lang.Exception

testModify

public void testModify()
                throws java.lang.Exception
Test expansion

Throws:
java.lang.Exception

testPersistenceAndModify

public void testPersistenceAndModify()
                              throws java.lang.Exception
Test suite dao persistence. Also tests constructors with suite document and suite file.

Throws:
java.lang.Exception

testSetResourcesWrapper

public void testSetResourcesWrapper()
                             throws java.lang.Exception
Test set ResourceCOnfigDAO function

Throws:
java.lang.Exception

testSeriesConfigCrossProduct

public void testSeriesConfigCrossProduct()
                                  throws java.lang.Exception
Test ability to expand report series

Throws:
java.lang.Exception

testUpdatePackage

public void testUpdatePackage()
                       throws java.lang.Exception
test updatePackage function

Throws:
java.lang.Exception