Class WorkerThreadTest

java.lang.Object
nl.tudelft.simulation.language.concurrent.WorkerThreadTest

public class WorkerThreadTest extends Object
WorkerThreadTest.java.

Copyright (c) 2019-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.

Author:
Alexander Verbraeck
  • Field Details

    • value

      protected int value
      test value that will be incremented by a worker thread.
    • wt

      thread.
  • Constructor Details

    • WorkerThreadTest

      public WorkerThreadTest()
  • Method Details

    • testWorkerThread

      @Test public void testWorkerThread()
      Test the WorkerThread.
    • testWorkerThreadException

      @Test public void testWorkerThreadException()
      Test the WorkerThread.