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

Class TestOSLCAssetnumLink2

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


  • public class TestOSLCAssetnumLink2
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void getContent()
      Test for getting content which has spi:assetnum and spi:wonum and pagesize=10.
      void setAuth(java.lang.String user, java.lang.String pwd, java.net.HttpURLConnection con) 
      void testnum()
      Test for reading currentContext to get all jArray.
      void testObjectStructure() 
      • Methods inherited from class java.lang.Object

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

      • TestOSLCAssetnumLink2

        public TestOSLCAssetnumLink2()
    • Method Detail

      • testObjectStructure

        public void testObjectStructure()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setAuth

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

        public void getContent()
                        throws java.lang.Exception
        Test for getting content which has spi:assetnum and spi:wonum and pagesize=10.
        Throws:
        java.lang.Exception
      • testnum

        public void testnum()
                     throws java.lang.Exception
        Test for reading currentContext to get all jArray. Check spi:wonum and spi:about and:assetnum for workorder Check spi:resource instead of spi:about for asset
        Throws:
        java.lang.Exception