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

Class TestOSLCSYNC

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


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

      Constructors 
      Constructor and Description
      TestOSLCSYNC() 
    • 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()
      Delete the record
      void testSyncPatch()
      Sync to existing record
      void testSyncPost()
      sync to new record
      • Methods inherited from class java.lang.Object

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

      • TestOSLCSYNC

        public TestOSLCSYNC()
    • Method Detail

      • testSyncPost

        public void testSyncPost()
                          throws java.io.IOException,
                                 MXException
        sync to new record
        Throws:
        java.lang.Exception
        java.io.IOException
        MXException
      • setAuth

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

        public void testSyncPatch()
                           throws java.io.IOException,
                                  MXException
        Sync to existing record
        Throws:
        java.lang.Exception
        java.io.IOException
        MXException
      • testDelete

        public void testDelete()
                        throws java.io.IOException,
                               MXException
        Delete the record
        Throws:
        java.io.IOException
        MXException
        java.lang.Exception