Class WorkerThreadTest
java.lang.Object
nl.tudelft.simulation.language.concurrent.WorkerThreadTest
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
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
The worker job that throws an exception.(package private) class
The worker job. -
Field Summary
Modifier and TypeFieldDescriptionprotected int
test value that will be incremented by a worker thread.(package private) WorkerThread
thread. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the WorkerThread.void
Test the WorkerThread.
-
Field Details
-
value
protected int valuetest value that will be incremented by a worker thread. -
wt
WorkerThread wtthread.
-
-
Constructor Details
-
WorkerThreadTest
public WorkerThreadTest()
-
-
Method Details
-
testWorkerThread
@Test public void testWorkerThread()Test the WorkerThread. -
testWorkerThreadException
@Test public void testWorkerThreadException()Test the WorkerThread.
-