Class AbstractXmlRpcTestCase

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.ofbiz.service.test.AbstractXmlRpcTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
XmlRpcTests

public class AbstractXmlRpcTestCase extends junit.framework.TestCase
AbstractXmlRpcTestCase
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    AbstractXmlRpcTestCase(String name, String keyStoreComponent, String keyStoreName, String keyAlias)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.xmlrpc.client.XmlRpcClient
    Gets rpc client.
    org.apache.xmlrpc.client.XmlRpcClient
    getRpcClient(String url, String login, String password)
    Gets rpc client.

    Methods inherited from class junit.framework.TestCase

    assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AbstractXmlRpcTestCase

      public AbstractXmlRpcTestCase(String name, String keyStoreComponent, String keyStoreName, String keyAlias)
    • AbstractXmlRpcTestCase

      public AbstractXmlRpcTestCase(String name)
  • Method Details

    • getRpcClient

      public org.apache.xmlrpc.client.XmlRpcClient getRpcClient(String url) throws MalformedURLException
      Gets rpc client.
      Parameters:
      url - the url
      Returns:
      the rpc client
      Throws:
      MalformedURLException - the malformed url exception
    • getRpcClient

      public org.apache.xmlrpc.client.XmlRpcClient getRpcClient(String url, String login, String password) throws MalformedURLException
      Gets rpc client.
      Parameters:
      url - the url
      login - the login
      password - the password
      Returns:
      the rpc client
      Throws:
      MalformedURLException - the malformed url exception