001: /*
002: * BEGIN_HEADER - DO NOT EDIT
003: *
004: * The contents of this file are subject to the terms
005: * of the Common Development and Distribution License
006: * (the "License"). You may not use this file except
007: * in compliance with the License.
008: *
009: * You can obtain a copy of the license at
010: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
011: * See the License for the specific language governing
012: * permissions and limitations under the License.
013: *
014: * When distributing Covered Code, include this CDDL
015: * HEADER in each file and include the License file at
016: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
017: * If applicable add the following below this CDDL HEADER,
018: * with the fields enclosed by brackets "[]" replaced with
019: * your own identifying information: Portions Copyright
020: * [year] [name of copyright owner]
021: */
022:
023: /*
024: * @(#)TestMessageProcessor.java
025: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
026: *
027: * END_HEADER - DO NOT EDIT
028: */
029: package com.sun.jbi.engine.sequencing;
030:
031: import com.sun.jbi.engine.sequencing.framework.threads.Command;
032: import com.sun.jbi.engine.sequencing.util.ConfigData;
033:
034: import junit.framework.*;
035:
036: import org.w3c.dom.Document;
037: import org.w3c.dom.Element;
038:
039: import java.io.File;
040: import java.io.FileOutputStream;
041: import java.io.OutputStream;
042: import java.io.PrintWriter;
043:
044: import java.net.URI;
045:
046: import java.text.DateFormat;
047: import java.text.SimpleDateFormat;
048:
049: import java.util.Calendar;
050: import java.util.Date;
051: import java.util.GregorianCalendar;
052: import java.util.logging.Logger;
053:
054: import javax.jbi.messaging.DeliveryChannel;
055: import javax.jbi.messaging.ExchangeStatus;
056: import javax.jbi.messaging.InOnly;
057: import javax.jbi.messaging.InOut;
058: import javax.jbi.messaging.MessageExchange;
059: import javax.jbi.messaging.MessagingException;
060: import javax.jbi.messaging.NormalizedMessage;
061: import javax.jbi.messaging.RobustInOnly;
062:
063: import javax.xml.transform.Result;
064: import javax.xml.transform.Source;
065: import javax.xml.transform.Transformer;
066: import javax.xml.transform.TransformerFactory;
067: import javax.xml.transform.dom.DOMSource;
068: import javax.xml.transform.stream.StreamResult;
069:
070: /**
071: * DOCUMENT ME!
072: *
073: * @author Sun Microsystems, Inc.
074: */
075: public class TestMessageProcessor extends TestCase {
076: /**
077: * Creates a new TestMessageProcessor object.
078: *
079: * @param testName
080: */
081: public TestMessageProcessor(java.lang.String testName) {
082: super (testName);
083: }
084:
085: /**
086: * DOCUMENT ME!
087: *
088: * @return NOT YET DOCUMENTED
089: */
090: public static Test suite() {
091: TestSuite suite = new TestSuite(TestMessageProcessor.class);
092:
093: return suite;
094: }
095:
096: /**
097: * Test of process method, of class
098: * com.sun.jbi.engine.sequencing.MessageProcessor.
099: */
100: public void testProcess() {
101: // Add your test code below by replacing the default call to fail.
102: }
103:
104: /**
105: * Test of processInOnly method, of class
106: * com.sun.jbi.engine.sequencing.MessageProcessor.
107: */
108: public void testProcessInOnly() {
109: // Add your test code below by replacing the default call to fail.
110: }
111:
112: /**
113: * Test of processInOut method, of class
114: * com.sun.jbi.engine.sequencing.MessageProcessor.
115: */
116: public void testProcessInOut() {
117: // Add your test code below by replacing the default call to fail.
118: }
119:
120: /**
121: * Test of processOutOnly method, of class
122: * com.sun.jbi.engine.sequencing.MessageProcessor.
123: */
124: public void testProcessOutOnly() {
125: // Add your test code below by replacing the default call to fail.
126: }
127:
128: /**
129: * Test of processRobustInOnly method, of class
130: * com.sun.jbi.engine.sequencing.MessageProcessor.
131: */
132: public void testProcessRobustInOnly() {
133: // Add your test code below by replacing the default call to fail.
134: }
135:
136: /**
137: * Test of valid method, of class
138: * com.sun.jbi.engine.sequencing.MessageProcessor.
139: */
140: public void testValid() {
141: // Add your test code below by replacing the default call to fail.
142: }
143:
144: // Add test methods here, they have to start with 'test' name.
145: // for example:
146: // public void testHello() {}
147: }
|