Class ClientTest


  • public abstract class ClientTest
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ClientTest()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static int getPort()  
      void testInvalid()
      Test client with invalid credentials.
      void testValid()
      Test a client using valid credentials
      • Methods inherited from class java.lang.Object

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

      • ClientTest

        public ClientTest()
    • Method Detail

      • getPort

        public static int getPort()
      • testInvalid

        public void testInvalid()
                         throws java.lang.Exception
        Test client with invalid credentials.
        Throws:
        java.lang.Exception - This should happen.
      • testValid

        public void testValid()
                       throws java.lang.Exception
        Test a client using valid credentials
        Throws:
        java.lang.Exception - if this happens, the test fails.