eu.larkc.core
Class ShutdownTest

java.lang.Object
  extended by eu.larkc.core.LarkcTest
      extended by eu.larkc.core.ShutdownTest

public class ShutdownTest
extends LarkcTest

Test the regular and error-caused shutdown of the LarKC platform. Tests in this class will also test platform initialization.

Author:
Christoph Fuchs

Constructor Summary
ShutdownTest()
           
 
Method Summary
 void regularShutdownTest()
          Tests if LarKC will shut down correctly after initialization.
 void shutdownDueToErrorTest()
          Tests if the LarKC platform will shut down correctly if it encounters an error during initialization.
 void startLarkcBeforeEveryTest()
          Start the platform if it was not yet started or shut down again.
 
Methods inherited from class eu.larkc.core.LarkcTest
deleteOrdiTreeDirectory, startLarKC
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShutdownTest

public ShutdownTest()
Method Detail

startLarkcBeforeEveryTest

public void startLarkcBeforeEveryTest()
Start the platform if it was not yet started or shut down again.


regularShutdownTest

public void regularShutdownTest()
                         throws EndpointShutdownException
Tests if LarKC will shut down correctly after initialization. The LarKC platform will be initialized since this test inherits LarkcTest.

Throws:
EndpointShutdownException - on endpoint shutdown error

shutdownDueToErrorTest

public void shutdownDueToErrorTest()
                            throws EndpointShutdownException
Tests if the LarKC platform will shut down correctly if it encounters an error during initialization.

Throws:
EndpointShutdownException - on endpoint shutdown error