psdi.app.workorder.unittest

Class MXServerBasedTestSetup

  • java.lang.Object
    • junit.framework.Assert
      • junit.extensions.TestDecorator
        • junit.extensions.TestSetup
          • psdi.app.workorder.unittest.MXServerBasedTestSetup
  • All Implemented Interfaces:
    junit.framework.Test


    public class MXServerBasedTestSetup
    extends junit.extensions.TestSetup
    • Field Summary

      • Fields inherited from class junit.extensions.TestDecorator

        fTest
    • Constructor Summary

      Constructors 
      Constructor and Description
      MXServerBasedTestSetup(junit.framework.Test test) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void setUp() 
      protected void shutdownMXServer() 
      protected void startMXServer() 
      protected void tearDown() 
      • Methods inherited from class junit.extensions.TestSetup

        run
      • Methods inherited from class junit.extensions.TestDecorator

        basicRun, countTestCases, getTest, toString
      • Methods inherited from class junit.framework.Assert

        assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MXServerBasedTestSetup

        public MXServerBasedTestSetup(junit.framework.Test test)
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Overrides:
        setUp in class junit.extensions.TestSetup
        Throws:
        java.lang.Exception
      • tearDown

        protected void tearDown()
                         throws java.lang.Exception
        Overrides:
        tearDown in class junit.extensions.TestSetup
        Throws:
        java.lang.Exception
      • startMXServer

        protected void startMXServer()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shutdownMXServer

        protected void shutdownMXServer()
                                 throws java.rmi.NoSuchObjectException,
                                        java.rmi.RemoteException,
                                        java.lang.SecurityException,
                                        java.lang.NoSuchFieldException,
                                        java.lang.IllegalArgumentException,
                                        java.lang.IllegalAccessException
        Throws:
        java.rmi.NoSuchObjectException
        java.rmi.RemoteException
        java.lang.SecurityException
        java.lang.NoSuchFieldException
        java.lang.IllegalArgumentException
        java.lang.IllegalAccessException