Class ClientExecutor

  • All Implemented Interfaces:
    junit.framework.Test
    Direct Known Subclasses:
    ConcurrentClientExecutor

    public class ClientExecutor
    extends junit.framework.TestCase
    Executes TestClient.
    Author:
    Kohsuke Kawaguchi
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void importPackage​(bsh.NameSpace ns, java.lang.String p)  
      protected void invoke​(bsh.Interpreter engine)
      Makes the test script invocation.
      protected java.io.File makeWorkDir​(java.lang.String dirName)  
      void runTest()
      Executes something.
      protected void setUp()  
      protected void tearDown()  
      • 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, setName, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • runTest

        public void runTest()
                     throws java.lang.Throwable
        Executes something. Error happened during this will be recorded as a test failure.
        Throws:
        java.lang.Throwable
      • importPackage

        protected void importPackage​(bsh.NameSpace ns,
                                     java.lang.String p)
      • invoke

        protected void invoke​(bsh.Interpreter engine)
                       throws java.lang.Throwable
        Makes the test script invocation.
        Throws:
        java.lang.Throwable
      • 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
      • makeWorkDir

        protected final java.io.File makeWorkDir​(java.lang.String dirName)