Class SuspenderThreadUnitTest


  • @UnitTest
    public class SuspenderThreadUnitTest
    extends java.lang.Object
    • Constructor Detail

      • SuspenderThreadUnitTest

        public SuspenderThreadUnitTest()
    • 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