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

Class TestGLLookup

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


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

      Constructors 
      Constructor and Description
      TestGLLookup() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      protected java.net.HttpURLConnection getHttpConnection(java.lang.String uri, boolean isGet, boolean isJson) 
      protected byte[] readData(java.net.HttpURLConnection con2) 
      void setAuth(java.lang.String user, java.lang.String pwd, java.net.HttpURLConnection con) 
      void testLookup()
      Test for CLOSE.
      void testLookup2() 
      • Methods inherited from class java.lang.Object

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

      • TestGLLookup

        public TestGLLookup()
    • Method Detail

      • testLookup2

        public void testLookup2()
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLookup

        public void testLookup()
                        throws java.lang.Exception
        Test for CLOSE. Create new workorder for testing
        Throws:
        java.lang.Exception
      • getHttpConnection

        protected java.net.HttpURLConnection getHttpConnection(java.lang.String uri,
                                                               boolean isGet,
                                                               boolean isJson)
                                                        throws MXException,
                                                               java.io.IOException
        Throws:
        MXException
        java.io.IOException
      • readData

        protected byte[] readData(java.net.HttpURLConnection con2)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • setAuth

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