org.ourgrid.common.executor
Class SWANExecutorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ourgrid.common.executor.SWANExecutorTest
All Implemented Interfaces:
junit.framework.Test, FastTest, PreCommitTest, ReplicaExecutorFastTest, ReplicaExecutorPreCommitTest, SelectiveTest, StressTest

public class SWANExecutorTest
extends junit.framework.TestCase
implements ReplicaExecutorFastTest

Test for SwanExecutor.


Constructor Summary
SWANExecutorTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testChmod()
           
 void testCreateScriptStringStringMap()
           
 void testExecuteStringStringMap()
           
 void testGetResult()
           
 void testKill()
           
 
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
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Constructor Detail

SWANExecutorTest

public SWANExecutorTest()
Method Detail

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

testExecuteStringStringMap

public void testExecuteStringStringMap()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testChmod

public void testChmod()
               throws java.lang.Exception
Throws:
java.lang.Exception

testGetResult

public void testGetResult()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testKill

public void testKill()
              throws java.lang.Exception
Throws:
java.lang.Exception

testCreateScriptStringStringMap

public void testCreateScriptStringStringMap()
                                     throws java.lang.Exception
Throws:
java.lang.Exception