pl.infovide.wmunit
Class HttpTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by pl.infovide.wmunit.WTestCase
              extended by pl.infovide.wmunit.BaseTestCase
                  extended by pl.infovide.wmunit.WmTestCase
                      extended by pl.infovide.wmunit.HttpTestCase
All Implemented Interfaces:
junit.framework.Test

public class HttpTestCase
extends WmTestCase


Field Summary
 
Fields inherited from class pl.infovide.wmunit.WmTestCase
testData, times
 
Fields inherited from class pl.infovide.wmunit.BaseTestCase
accountTestSet, contractTestSet
 
Fields inherited from class pl.infovide.wmunit.WTestCase
FOREACHSERVICE, FOREVERYTEST, lastIn, lastOut, NONE, OVERRIDEFILE, OWNFILENAME, unitConf, wsdlFile
 
Constructor Summary
HttpTestCase()
           
 
Method Summary
protected  org.dom4j.Document invokeServiceHTTPPost(java.lang.String file, java.lang.String xml, java.util.HashMap params)
           
protected  org.dom4j.Document invokeServiceWithMeasures(java.lang.String folder, java.lang.String service, org.dom4j.Document inDoc, com.wm.app.b2b.client.Context context, java.lang.String key)
           
 
Methods inherited from class pl.infovide.wmunit.WmTestCase
documentPublished, getDefaultBroker, getDefaultServer, getDocument, getDocuments, getNumberOfPublishedDocuments, getTestData, getTimes, invoke, publish, setTestData, subscribe, unsubscribe
 
Methods inherited from class pl.infovide.wmunit.BaseTestCase
assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotSame, assertTrue, assertTrue, fail, getAccountTestSet, getContractTestSet, invokeService, invokeService, invokeService, invokeService, makeDbgFile, setAccountTestSet, setContractTestSet, setWSDL
 
Methods inherited from class pl.infovide.wmunit.WTestCase
assertNotEquals, getConnectedContext, getConnectedContext, getConnectedContext, getIn, getOut, getPackageName, getServiceName, invokeHTTP, invokeService, invokeService, invokeService, invokeServiceHTTPPost, invokeServiceWithMeasures, invokeServiceWithoutInput, isPath, makeData, makeDevDbgFile, makeDevDbgFile, makeDevDbgFile, makeDocument, makeDocumentFromText, prettyPrint, print, publish, publish, publishDocument, runMethod, runTest
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotSame, assertNull, assertNull, assertSame, assertSame, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpTestCase

public HttpTestCase()
Method Detail

invokeServiceHTTPPost

protected org.dom4j.Document invokeServiceHTTPPost(java.lang.String file,
                                                   java.lang.String xml,
                                                   java.util.HashMap params)
                                            throws com.wm.app.b2b.client.ServiceException,
                                                   java.text.ParseException
Throws:
com.wm.app.b2b.client.ServiceException
java.text.ParseException

invokeServiceWithMeasures

protected org.dom4j.Document invokeServiceWithMeasures(java.lang.String folder,
                                                       java.lang.String service,
                                                       org.dom4j.Document inDoc,
                                                       com.wm.app.b2b.client.Context context,
                                                       java.lang.String key)
                                                throws com.wm.app.b2b.client.ServiceException,
                                                       java.text.ParseException
Throws:
com.wm.app.b2b.client.ServiceException
java.text.ParseException


Copyright © 2007 Infovide-Matrix S.A.. All Rights Reserved.