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

Class TestOSLCAssetnumLink5

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


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void getContent()
      Test for assetnum select which select=spi:assetnum{*},spi:wonum and pagesize=500
      void setAuth(java.lang.String user, java.lang.String pwd, java.net.HttpURLConnection con) 
      void testAll()
      Check spi:wonum,rdf:about,spi:assetnum for workorder.
      void testObjectStructure() 
      • Methods inherited from class java.lang.Object

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

      • TestOSLCAssetnumLink5

        public TestOSLCAssetnumLink5()
    • 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 assetnum select which select=spi:assetnum{*},spi:wonum and pagesize=500

        the time for jUnit test may be longer because it has to display all content about the asset

        Throws:
        java.lang.Exception
      • testAll

        public void testAll()
                     throws java.lang.Exception
        Check spi:wonum,rdf:about,spi:assetnum for workorder. Check spi:assetnum,rdf:about,spi:description for asset.
        Throws:
        java.lang.Exception