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

Class TestOSLCPATCH

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


  • public class TestOSLCPATCH
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      TestOSLCPATCH() 
    • 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 testNewpage()
      Check new page
      void testPatch()
      PATCH with wrong name
      void testPost()
      Test for PATCH.
      • Methods inherited from class java.lang.Object

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

      • TestOSLCPATCH

        public TestOSLCPATCH()
    • Method Detail

      • testPost

        public void testPost()
                      throws java.lang.Exception
        Test for PATCH. create a new workorder first
        Throws:
        java.lang.Exception
      • setAuth

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

        public void testPatch()
                       throws java.lang.Exception
        PATCH with wrong name
        Throws:
        java.lang.Exception
      • testNewpage

        public void testNewpage()
                         throws java.lang.Exception
        Check new page
        Throws:
        java.lang.Exception