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

Class TestOSLCMERGE

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


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

      Constructors 
      Constructor and Description
      TestOSLCMERGE() 
    • 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 testMerge()
      Update the content with merge
      void testMergeLine()
      Verify there are 2 line in spi:poline
      void testNewpage()
      Record the po size;
      void testPatch()
      Update a new item to po
      void testPatch2()
      Update the content again with patch
      void testPatchLine()
      Verify there is a new item Verify the new created 1 line in spi:poline
      void testPatchLine2()
      Verify the line is still 1 in spi:poline
      void testPost()
      Create a new po for testing
      • Methods inherited from class java.lang.Object

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

      • TestOSLCMERGE

        public TestOSLCMERGE()
    • Method Detail

      • testPost

        public void testPost()
                      throws java.lang.Exception
        Create a new po for testing
        Throws:
        java.lang.Exception
      • testNewpage

        public void testNewpage()
                         throws java.lang.Exception
        Record the po size;
        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
        Update a new item to po
        Throws:
        java.lang.Exception
      • testPatchLine

        public void testPatchLine()
                           throws java.lang.Exception
        Verify there is a new item Verify the new created 1 line in spi:poline
        Throws:
        java.lang.Exception
      • testPatch2

        public void testPatch2()
                        throws java.lang.Exception
        Update the content again with patch
        Throws:
        java.lang.Exception
      • testPatchLine2

        public void testPatchLine2()
                            throws java.lang.Exception
        Verify the line is still 1 in spi:poline
        Throws:
        java.lang.Exception
      • testMerge

        public void testMerge()
                       throws java.lang.Exception
        Update the content with merge
        Throws:
        java.lang.Exception
      • testMergeLine

        public void testMergeLine()
                           throws java.lang.Exception
        Verify there are 2 line in spi:poline
        Throws:
        java.lang.Exception