Package edu.jas.util
Class ExecutableServerTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.util.ExecutableServerTest
-
- All Implemented Interfaces:
junit.framework.Test
public class ExecutableServerTest extends junit.framework.TestCase
ExecutableServer tests with JUnit.- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description ExecutableServerTest(java.lang.String name)Constructs aExecutableServerTestobject.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)main.protected voidsetUp()static junit.framework.Testsuite()suite.protected voidtearDown()voidtestExecutableServer1()Tests if the ExecutableServer could be started and terminated.voidtestExecutableServer2()Tests if the ExecutableServer can execute a RemoteExecutable.voidtestExecutableServer3()Tests if the ExecutableServer can execute more RemoteExecutable.voidtestExecutableServer4()Tests if the ExecutableServer can execute a RemoteExecutable.-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Constructor Detail
-
ExecutableServerTest
public ExecutableServerTest(java.lang.String name)
Constructs aExecutableServerTestobject.- Parameters:
name- String.
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
main.
-
suite
public static junit.framework.Test suite()
suite.
-
setUp
protected void setUp()
- Overrides:
setUpin classjunit.framework.TestCase
-
tearDown
protected void tearDown()
- Overrides:
tearDownin classjunit.framework.TestCase
-
testExecutableServer1
public void testExecutableServer1()
Tests if the ExecutableServer could be started and terminated.
-
testExecutableServer2
public void testExecutableServer2()
Tests if the ExecutableServer can execute a RemoteExecutable.
-
testExecutableServer3
public void testExecutableServer3()
Tests if the ExecutableServer can execute more RemoteExecutable.
-
testExecutableServer4
public void testExecutableServer4()
Tests if the ExecutableServer can execute a RemoteExecutable.
-
-