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

Class TestOSLCNum

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


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

      Constructors 
      Constructor and Description
      TestOSLCNum() 
    • 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 testBoolean()
      Test for boolean spi:haschildren=true
      void testDate()
      Test for date spi:statusdata<2003-07-07T09:50:00-04:00
      void testDateRange()
      Test for date in range spi:statusdate>1999-02-06T14:16:00-05:00 and spi:statusdate<2003-07-07T09:50:00-04:00
      void testDateRangeplusStatus()
      Test for combination of date in range and status in APPR, CLOSE
      void testLike()
      Test for String spi:status=%APPR
      void testLike2()
      Test for String spi:status=CLOS%
      void testLike3()
      Test for String spi:status=%LOS%
      void testLocation()
      Test for String spi:location in BR300 OR BR450
      void testRange()
      Test for number in range 518<=spi:estlabcost<520
      • Methods inherited from class java.lang.Object

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

      • TestOSLCNum

        public TestOSLCNum()
    • Method Detail

      • setAuth

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

        public void testRange()
                       throws java.lang.Exception
        Test for number in range 518<=spi:estlabcost<520
        Throws:
        java.lang.Exception
      • testLocation

        public void testLocation()
                          throws java.lang.Exception
        Test for String spi:location in BR300 OR BR450
        Throws:
        java.lang.Exception
      • testBoolean

        public void testBoolean()
                         throws java.lang.Exception
        Test for boolean spi:haschildren=true
        Throws:
        java.lang.Exception
      • testDate

        public void testDate()
                      throws java.lang.Exception
        Test for date spi:statusdata<2003-07-07T09:50:00-04:00
        Throws:
        java.lang.Exception
      • testDateRange

        public void testDateRange()
                           throws java.lang.Exception
        Test for date in range spi:statusdate>1999-02-06T14:16:00-05:00 and spi:statusdate<2003-07-07T09:50:00-04:00
        Throws:
        java.lang.Exception
      • testDateRangeplusStatus

        public void testDateRangeplusStatus()
                                     throws java.lang.Exception
        Test for combination of date in range and status in APPR, CLOSE
        Throws:
        java.lang.Exception
      • testLike

        public void testLike()
                      throws java.lang.Exception
        Test for String spi:status=%APPR
        Throws:
        java.lang.Exception
      • testLike2

        public void testLike2()
                       throws java.lang.Exception
        Test for String spi:status=CLOS%
        Throws:
        java.lang.Exception
      • testLike3

        public void testLike3()
                       throws java.lang.Exception
        Test for String spi:status=%LOS%
        Throws:
        java.lang.Exception