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

Class TestOSLCCLOSE

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


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

      Constructors 
      Constructor and Description
      TestOSLCCLOSE() 
    • 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 testDelete()
      Test delete the CLOSE workorder
      void testNewpatch()
      Test change CLOSE to WAPPR
      void testPatch()
      change spi:status to CLOSE
      void testPost()
      Test for CLOSE.
      void testResponse()
      Check the response by spi:siteid, spi:status and statusdate year is 2015
      • Methods inherited from class java.lang.Object

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

      • TestOSLCCLOSE

        public TestOSLCCLOSE()
    • Method Detail

      • testPost

        public void testPost()
                      throws java.lang.Exception
        Test for CLOSE. Create new workorder for testing
        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
        change spi:status to CLOSE
        Throws:
        java.lang.Exception
      • testResponse

        public void testResponse()
                          throws java.lang.Exception
        Check the response by spi:siteid, spi:status and statusdate year is 2015
        Throws:
        java.lang.Exception
      • testNewpatch

        public void testNewpatch()
                          throws java.lang.Exception
        Test change CLOSE to WAPPR
        Throws:
        java.lang.Exception
      • testDelete

        public void testDelete()
                        throws java.lang.Exception
        Test delete the CLOSE workorder
        Throws:
        java.lang.Exception