edu.jas.util
Class ExecutableServerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by 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
ExecutableServerTest(java.lang.String name)
          Constructs a ExecutableServerTest object.
 
Method Summary
static void main(java.lang.String[] args)
          main.
protected  void setUp()
           
static junit.framework.Test suite()
          suite.
protected  void tearDown()
           
 void testExecutableServer1()
          Tests if the ExecutableServer could be started and terminated.
 void testExecutableServer2()
          Tests if the ExecutableServer can execute a RemoteExecutable.
 void testExecutableServer3()
          Tests if the ExecutableServer can execute more RemoteExecutable.
 void testExecutableServer4()
          Tests if the ExecutableServer can execute a RemoteExecutable.
 
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

ExecutableServerTest

public ExecutableServerTest(java.lang.String name)
Constructs a ExecutableServerTest object.

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:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.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.