com.ibm.tivoli.maximo.oslc.provider.unittest

Class TestOSLCChangePwd

  • java.lang.Object
    • com.ibm.tivoli.maximo.oslc.provider.unittest.TestOSLCChangePwd


  • public class TestOSLCChangePwd
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void setAuth(java.lang.String user, java.lang.String pwd, java.net.HttpURLConnection con) 
      void testChangePwd()
      Test for change password with correct id and pwd
      void testChangePwd2()
      Change the pwd with wrong id and pwd
      void testChangePwdBack()
      Change pwd back to old one
      void testNewPwd()
      Test new pwd
      void testNewPwd2()
      Test the new pwd
      void testOldPwd()
      Test old pwd
      • Methods inherited from class java.lang.Object

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

      • TestOSLCChangePwd

        public TestOSLCChangePwd()
    • Method Detail

      • testChangePwd

        public void testChangePwd()
                           throws java.lang.Exception
        Test for change password with correct id and pwd
        Throws:
        java.lang.Exception
      • setAuth

        public void setAuth(java.lang.String user,
                            java.lang.String pwd,
                            java.net.HttpURLConnection con)
      • testNewPwd

        public void testNewPwd()
                        throws java.lang.Exception
        Test new pwd
        Throws:
        java.lang.Exception
      • testOldPwd

        public void testOldPwd()
                        throws java.lang.Exception
        Test old pwd
        Throws:
        java.lang.Exception
      • testChangePwdBack

        public void testChangePwdBack()
                               throws java.lang.Exception
        Change pwd back to old one
        Throws:
        java.lang.Exception
      • testChangePwd2

        public void testChangePwd2()
                            throws java.lang.Exception
        Change the pwd with wrong id and pwd
        Throws:
        java.lang.Exception
      • testNewPwd2

        public void testNewPwd2()
                         throws java.lang.Exception
        Test the new pwd
        Throws:
        java.lang.Exception