Class ConcurrentClientExecutor

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract java.util.concurrent.ExecutorService createExecutorService()
      Creates the ExecutorService used for testing.
      protected void invoke​(bsh.Interpreter engine)
      Runs the actual test in highly concurrent fashion.
      protected java.io.File makeWorkDir​(java.lang.String dirName)  
      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

      • invoke

        protected void invoke​(bsh.Interpreter engine)
                       throws java.lang.Throwable
        Runs the actual test in highly concurrent fashion.
        Overrides:
        invoke in class ClientExecutor
        Throws:
        java.lang.Throwable
      • createExecutorService

        protected abstract java.util.concurrent.ExecutorService createExecutorService()
        Creates the ExecutorService used for testing.
      • 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)