|
||||||||||
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.ourgrid.common.executor.LinuxExecutorTest
public class LinuxExecutorTest
This class is the test suite for the LinuxExecutor class.
Constructor Summary | |
---|---|
LinuxExecutorTest(java.lang.String name)
This method constructs a new instance of LinuxExecutor class. |
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testBadExecute()
This method tests the verification of a bad execution of native command. |
void |
testChmod1()
This method test the modification of permissions feature. |
void |
testChmod10()
|
void |
testChmod11()
|
void |
testChmod12()
|
void |
testChmod13()
|
void |
testChmod14()
Tests if the chmod feature performs well when receiving a bad permission. |
void |
testChmod2()
|
void |
testChmod3()
|
void |
testChmod4()
|
void |
testChmod5()
|
void |
testChmod6()
|
void |
testChmod7()
|
void |
testChmod8()
|
void |
testChmod9()
|
void |
testExecuteWithoutVariables()
Test an execution that uses environment variables but these are not set |
void |
testExecuteWithVariables()
This method tests the execution of native commands that are dependent of environment variables. |
void |
testGoodExecute()
This method test if an expected correct execution will be performed well indeed. |
void |
testHandleManagement()
Test the handle management |
void |
testKill()
Test the kill operation |
void |
testKillEqualsCommands()
Test the kill operation |
void |
testNotPermitedLocalExecute()
Test if a permission denied is detected during the execution |
void |
testTwoExecuteInvocations()
This method tests the execution of native commands that are dependent of environment variables. |
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 |
---|
public LinuxExecutorTest(java.lang.String name)
name
- The name of class file that corresponds to this test suite.Method Detail |
---|
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
public void testGoodExecute() throws java.lang.Exception
java.lang.Exception
public void testBadExecute() throws java.lang.Exception
java.lang.Exception
public void testExecuteWithVariables() throws java.lang.Exception
java.lang.Exception
public void testTwoExecuteInvocations() throws java.lang.Exception
java.lang.Exception
public void testExecuteWithoutVariables() throws java.lang.Exception
java.lang.Exception
public void testNotPermitedLocalExecute() throws java.lang.Exception
java.lang.Exception
public void testHandleManagement() throws java.lang.Exception
java.lang.Exception
public void testChmod1() throws java.lang.Exception
java.lang.Exception
public void testChmod2() throws java.lang.Exception
java.lang.Exception
public void testChmod3() throws java.lang.Exception
java.lang.Exception
public void testChmod4() throws java.lang.Exception
java.lang.Exception
public void testChmod5() throws java.lang.Exception
java.lang.Exception
public void testChmod6() throws java.lang.Exception
java.lang.Exception
public void testChmod7() throws java.lang.Exception
java.lang.Exception
public void testChmod8() throws java.lang.Exception
java.lang.Exception
public void testChmod9() throws java.lang.Exception
java.lang.Exception
public void testChmod10() throws java.lang.Exception
java.lang.Exception
public void testChmod11() throws java.lang.Exception
java.lang.Exception
public void testChmod12() throws java.lang.Exception
java.lang.Exception
public void testChmod13() throws java.lang.Exception
java.lang.Exception
public void testChmod14() throws java.lang.Exception
java.lang.Exception
public void testKill() throws java.lang.Exception
java.lang.Exception
public void testKillEqualsCommands() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |