|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.icenigrid.gridsam.integration.common.AbstractJobManagerTestCase
public abstract class AbstractJobManagerTestCase
Constructor Summary | |
---|---|
AbstractJobManagerTestCase(java.lang.String s)
create a new AbstractJobManagerTestCase |
Method Summary | |
---|---|
protected JobInstance |
assertSuccessfulSubmission(java.lang.String pJSDL,
long fWait)
submit a job that is expected to reach the done stage in pWait number of milliseconds |
protected JobInstance |
assertTerminatedSubmission(java.lang.String pJSDL,
long fWait)
submit a job that is expected to reach the done stage in pWait number of milliseconds |
protected void |
assertUnsuccessfulSubmission(java.lang.String pJSDL,
long fWait)
submit a job that is expected reach the fail stage in pWait number of milliseconds |
protected abstract JobManager |
createJobManager()
get the jobmanager instance for testing |
protected org.apache.commons.vfs.FileSystemOptions |
getFileSystemOptions()
get the file system options |
protected JobManager |
getJobManager()
get the job manager for this test |
protected java.lang.String |
getJSDLString(java.lang.String pPath)
get the test case JSDL document |
protected void |
setUp()
setup the fixture |
protected void |
tearDown()
tear down the fixture |
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 |
Constructor Detail |
---|
public AbstractJobManagerTestCase(java.lang.String s)
s
- Method Detail |
---|
protected java.lang.String getJSDLString(java.lang.String pPath)
pPath
- path to the jsdl document
protected JobInstance assertSuccessfulSubmission(java.lang.String pJSDL, long fWait)
pJSDL
- the JSDL documentpWait
- the number of milliseconds to wait before declaring the
submission as failedprotected JobInstance assertTerminatedSubmission(java.lang.String pJSDL, long fWait)
pJSDL
- the JSDL documentpWait
- the number of milliseconds to wait before declaring the
submission as failedprotected void assertUnsuccessfulSubmission(java.lang.String pJSDL, long fWait)
pJSDL
- the JSDL documentpWait
- the number of milliseconds to wait before declaring the
submission as failedprotected org.apache.commons.vfs.FileSystemOptions getFileSystemOptions()
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
protected abstract JobManager createJobManager() throws ConfigurationException
ConfigurationException
protected JobManager getJobManager() throws ConfigurationException
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |