org.icenigrid.gridsam.integration.common
Class AbstractJobSubmissionTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.icenigrid.gridsam.integration.common.AbstractJobManagerTestCase
              extended by org.icenigrid.gridsam.integration.common.AbstractJobSubmissionTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class AbstractJobSubmissionTestCase
extends AbstractJobManagerTestCase

AbstractJobManager testcase


Field Summary
static java.lang.String TEST_FTP_SERVER
          root url of the test ftp server
 
Constructor Summary
AbstractJobSubmissionTestCase(java.lang.String s)
          create a new AbstractJobSubmissionTestCase
 
Method Summary
 void testGetStatusOfAnUnknownJob()
          test case: attempt to get the status of an unknown job should result in an error
 void testSubmitCatJobIncludingStaging()
          test case: a job with staging should complete with a reasonable time
 void testSubmitEchoEnvironmentJob()
          test case: job that requires environment settings
 void testSubmitInvalidStagingJob()
          test case: a valid job description with unknown staging should result in an error
 void testSubmitJobWithInvalidApplication()
          test case: a valid job description with unknown executable should result in an error
 void testSubmitPureStagingJob()
          test case: job that requires environment settings
 void testSubmitSleepJob()
          test case: a sleep job should complete within a reasonable time
 void testTerminateSleepJob()
          test case: a sleep job should complete within a reasonable time
 
Methods inherited from class org.icenigrid.gridsam.integration.common.AbstractJobManagerTestCase
assertSuccessfulSubmission, assertTerminatedSubmission, assertUnsuccessfulSubmission, createJobManager, getFileSystemOptions, getJobManager, getJSDLString, setUp, tearDown
 
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
 

Field Detail

TEST_FTP_SERVER

public static final java.lang.String TEST_FTP_SERVER
root url of the test ftp server

See Also:
Constant Field Values
Constructor Detail

AbstractJobSubmissionTestCase

public AbstractJobSubmissionTestCase(java.lang.String s)
create a new AbstractJobSubmissionTestCase

Parameters:
s -
Method Detail

testGetStatusOfAnUnknownJob

public void testGetStatusOfAnUnknownJob()
test case: attempt to get the status of an unknown job should result in an error


testTerminateSleepJob

public void testTerminateSleepJob()
test case: a sleep job should complete within a reasonable time


testSubmitSleepJob

public void testSubmitSleepJob()
test case: a sleep job should complete within a reasonable time


testSubmitCatJobIncludingStaging

public void testSubmitCatJobIncludingStaging()
test case: a job with staging should complete with a reasonable time


testSubmitEchoEnvironmentJob

public void testSubmitEchoEnvironmentJob()
test case: job that requires environment settings


testSubmitJobWithInvalidApplication

public void testSubmitJobWithInvalidApplication()
test case: a valid job description with unknown executable should result in an error


testSubmitInvalidStagingJob

public void testSubmitInvalidStagingJob()
test case: a valid job description with unknown staging should result in an error


testSubmitPureStagingJob

public void testSubmitPureStagingJob()
test case: job that requires environment settings



Copyright © 2008. All Rights Reserved.