Class AbstractClientServerTestBase

    • Constructor Detail

      • AbstractClientServerTestBase

        public AbstractClientServerTestBase()
    • Method Detail

      • launchServer

        public static boolean launchServer​(AbstractTestServerBase base)
        Starts the server inProcess
      • launchServer

        public static boolean launchServer​(Class<?> clz)
        Starts the server inProcess
      • launchServer

        public static boolean launchServer​(Class<?> clz,
                                           boolean inProcess)
        Starts the server inProcess or out of process depending on the param
      • launchServer

        public static boolean launchServer​(Class<?> clz,
                                           Map<String,​String> props,
                                           String[] args)
        Starts the server inProcess
      • launchServer

        public static boolean launchServer​(Class<?> clz,
                                           Map<String,​String> props,
                                           String[] args,
                                           boolean inProcess)
        Starts the server inProcess or out of process depending on the param
      • setAddress

        protected void setAddress​(Object o,
                                  String address)
      • allocatePort

        protected static String allocatePort​(String s)
      • allocatePort

        protected static String allocatePort​(Class<?> cls)
      • allocatePort

        protected static String allocatePort​(Class<?> cls,
                                             int count)