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

Class TestOSLCPOST

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


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

      Constructors 
      Constructor and Description
      TestOSLCPOST() 
    • 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 testContain()
      Check spi:siteid, value=hello how are you
      void testDelete()
      Delete the page
      void testGet()
      Get the new post page
      void testPost()
      Test the POST
      • Methods inherited from class java.lang.Object

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

      • TestOSLCPOST

        public TestOSLCPOST()
    • Method Detail

      • testPost

        public void testPost()
                      throws java.lang.Exception
        Test the POST
        Throws:
        java.lang.Exception
      • setAuth

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

        public void testGet()
                     throws java.lang.Exception
        Get the new post page
        Throws:
        java.lang.Exception
      • testContain

        public void testContain()
                         throws java.lang.Exception
        Check spi:siteid, value=hello how are you
        Throws:
        java.lang.Exception
      • testDelete

        public void testDelete()
                        throws java.lang.Exception
        Delete the page
        Throws:
        java.lang.Exception