Class SuspenderThreadUnitTest
- java.lang.Object
-
- de.hybris.platform.core.threadregistry.SuspenderThreadUnitTest
-
@UnitTest public class SuspenderThreadUnitTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SuspenderThreadUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshouldBeNamedSuspenderThread()voidshouldFinishRightAfterThereIsNoNotSuspendableThreads()voidshouldRegisterItselfInTheRegistryAndUnregisterAtTheEnd()voidshouldStopOnDemand()voidshouldStopWhenInterrupted()
-
-
-
Method Detail
-
shouldBeNamedSuspenderThread
public void shouldBeNamedSuspenderThread()
-
shouldRegisterItselfInTheRegistryAndUnregisterAtTheEnd
public void shouldRegisterItselfInTheRegistryAndUnregisterAtTheEnd() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
shouldFinishRightAfterThereIsNoNotSuspendableThreads
public void shouldFinishRightAfterThereIsNoNotSuspendableThreads() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
shouldStopOnDemand
public void shouldStopOnDemand() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
shouldStopWhenInterrupted
public void shouldStopWhenInterrupted() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
-