@UnitTest public class SuspenderThreadUnitTest extends java.lang.Object
| Constructor and Description |
|---|
SuspenderThreadUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
shouldBeNamedSuspenderThread() |
void |
shouldFinishRightAfterThereIsNoNotSuspendableThreads() |
void |
shouldRegisterItselfInTheRegistryAndUnregisterAtTheEnd() |
void |
shouldStopOnDemand() |
void |
shouldStopWhenInterrupted() |
public void shouldBeNamedSuspenderThread()
public void shouldRegisterItselfInTheRegistryAndUnregisterAtTheEnd()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void shouldFinishRightAfterThereIsNoNotSuspendableThreads()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void shouldStopOnDemand()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void shouldStopWhenInterrupted()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionCopyright © 2018 SAP SE. All Rights Reserved.