Package edu.jas.util

Class 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 a ExecutableServerTest object.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

        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
      • 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.