Class BaseSysTest

  • Direct Known Subclasses:
    SimpleSysTest

    public class BaseSysTest
    extends java.lang.Object
    • Field Detail

      • prefix

        protected java.lang.String prefix
    • Constructor Detail

      • BaseSysTest

        public BaseSysTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • tearDown

        public void tearDown()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getHostPort

        public java.lang.String getHostPort()
      • getServerCount

        public int getServerCount()
      • getClientCount

        public int getClientCount()
      • startServers

        public void startServers()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • stopServers

        public void stopServers()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • startClients

        public void startClients()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • stopClients

        public void stopClients()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • configureServers

        public void configureServers​(int count)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • startServer

        public void startServer​(int index)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • stopServer

        public void stopServer​(int index)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • configureClients

        public void configureClients​(int count,
                                     java.lang.Class<? extends Instance> clazz,
                                     java.lang.String params)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • startClient

        public void startClient​(int index)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • stopClient

        public void stopClient​(int index)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • main

        public static void main​(java.lang.String[] args)