org.milyn.edi.test
Class InterchangeTestUtil

java.lang.Object
  extended by org.milyn.edi.test.InterchangeTestUtil

public class InterchangeTestUtil
extends java.lang.Object

Interchange test utilities.

Author:
tom.fennelly@gmail.com

Constructor Summary
InterchangeTestUtil()
           
 
Method Summary
static UNEdifactInterchange41 buildInterchange(java.lang.Class<?>... messageTypes)
           
static UNEdifactInterchange41 buildInterchange(MessageBuilder builder, java.lang.Class<?>... messageTypes)
           
static UNEdifactInterchange41 buildInterchange(java.lang.String versionNum, java.lang.String releaseNum, java.lang.Class<?>[] messageTypes, MessageBuilder messageBuilder)
           
static void test_Interchange_Comma_Decimal(UNEdifactInterchangeFactory factory, boolean dump, java.lang.Class<?>... messageTypes)
           
static void test_Interchange(UNEdifactInterchangeFactory factory, boolean dump, java.lang.Class<?>... messageTypes)
           
static void test_Interchange(UNEdifactInterchangeFactory factory, boolean dump, UNEdifactInterchange41 interchange41)
           
static void test_loads(UNEdifactInterchangeFactory factory, boolean dump, java.lang.String ejcClassListFile, int numMessages)
           
static void testJavaBinding(UNEdifactInterchangeFactory factory, java.lang.String messageInFile, boolean dumpResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterchangeTestUtil

public InterchangeTestUtil()
Method Detail

testJavaBinding

public static void testJavaBinding(UNEdifactInterchangeFactory factory,
                                   java.lang.String messageInFile,
                                   boolean dumpResult)
                            throws java.io.IOException,
                                   org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

test_Interchange

public static void test_Interchange(UNEdifactInterchangeFactory factory,
                                    boolean dump,
                                    java.lang.Class<?>... messageTypes)
                             throws java.io.IOException
Throws:
java.io.IOException

test_Interchange_Comma_Decimal

public static void test_Interchange_Comma_Decimal(UNEdifactInterchangeFactory factory,
                                                  boolean dump,
                                                  java.lang.Class<?>... messageTypes)
                                           throws java.io.IOException
Throws:
java.io.IOException

test_Interchange

public static void test_Interchange(UNEdifactInterchangeFactory factory,
                                    boolean dump,
                                    UNEdifactInterchange41 interchange41)
                             throws java.io.IOException
Throws:
java.io.IOException

buildInterchange

public static UNEdifactInterchange41 buildInterchange(java.lang.Class<?>... messageTypes)

buildInterchange

public static UNEdifactInterchange41 buildInterchange(MessageBuilder builder,
                                                      java.lang.Class<?>... messageTypes)

buildInterchange

public static UNEdifactInterchange41 buildInterchange(java.lang.String versionNum,
                                                      java.lang.String releaseNum,
                                                      java.lang.Class<?>[] messageTypes,
                                                      MessageBuilder messageBuilder)

test_loads

public static void test_loads(UNEdifactInterchangeFactory factory,
                              boolean dump,
                              java.lang.String ejcClassListFile,
                              int numMessages)
                       throws java.io.IOException,
                              java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 2011. All Rights Reserved.