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

Class TestOSLCAssetnumLink9

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


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void getContent()
      Test for assetnum combined inner query which select=spi:assetnum{*},spi:wonum where=spi:assetnum{spi:location="BR300" and spi:replacecost>=58000}.
      void setAuth(java.lang.String user, java.lang.String pwd, java.net.HttpURLConnection con) 
      void testObjectStructure() 
      void testreplacecost()
      Check rdf:about,spi:wonum,spi:assetnum for workorder Check rdf:about,spi:statusdate, spi:repalcecost>=58000,spi:location = "BR300" for asset
      • Methods inherited from class java.lang.Object

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

      • TestOSLCAssetnumLink9

        public TestOSLCAssetnumLink9()
    • 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 combined inner query which select=spi:assetnum{*},spi:wonum where=spi:assetnum{spi:location="BR300" and spi:replacecost>=58000}. It should be empty.
        Throws:
        java.lang.Exception
      • testreplacecost

        public void testreplacecost()
                             throws java.lang.Exception
        Check rdf:about,spi:wonum,spi:assetnum for workorder Check rdf:about,spi:statusdate, spi:repalcecost>=58000,spi:location = "BR300" for asset
        Throws:
        java.lang.Exception