01: /*
02: * BEGIN_HEADER - DO NOT EDIT
03: *
04: * The contents of this file are subject to the terms
05: * of the Common Development and Distribution License
06: * (the "License"). You may not use this file except
07: * in compliance with the License.
08: *
09: * You can obtain a copy of the license at
10: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
11: * See the License for the specific language governing
12: * permissions and limitations under the License.
13: *
14: * When distributing Covered Code, include this CDDL
15: * HEADER in each file and include the License file at
16: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
17: * If applicable add the following below this CDDL HEADER,
18: * with the fields enclosed by brackets "[]" replaced with
19: * your own identifying information: Portions Copyright
20: * [year] [name of copyright owner]
21: */
22:
23: /*
24: * @(#)TestMessageReceiver.java
25: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
26: *
27: * END_HEADER - DO NOT EDIT
28: */
29: package com.sun.jbi.engine.sequencing;
30:
31: import com.sun.jbi.engine.sequencing.framework.Servicelist;
32: import com.sun.jbi.engine.sequencing.framework.threads.Command;
33: import com.sun.jbi.engine.sequencing.framework.threads.WorkManager;
34: import com.sun.jbi.engine.sequencing.util.ConfigData;
35:
36: import junit.framework.*;
37:
38: import org.w3c.dom.Document;
39: import org.w3c.dom.Element;
40:
41: import java.io.File;
42: import java.io.FileOutputStream;
43: import java.io.OutputStream;
44: import java.io.PrintWriter;
45:
46: import java.util.logging.Logger;
47:
48: import javax.jbi.messaging.DeliveryChannel;
49: import javax.jbi.messaging.MessageExchange;
50: import javax.jbi.messaging.NormalizedMessage;
51:
52: import javax.xml.transform.Result;
53: import javax.xml.transform.Source;
54: import javax.xml.transform.Transformer;
55: import javax.xml.transform.TransformerFactory;
56: import javax.xml.transform.dom.DOMSource;
57: import javax.xml.transform.stream.StreamResult;
58:
59: /**
60: * DOCUMENT ME!
61: *
62: * @author Sun Microsystems, Inc.
63: */
64: public class TestMessageReceiver extends TestCase {
65: /**
66: * Creates a new TestMessageReceiver object.
67: *
68: * @param testName
69: */
70: public TestMessageReceiver(java.lang.String testName) {
71: super (testName);
72: }
73:
74: /**
75: * DOCUMENT ME!
76: *
77: * @return NOT YET DOCUMENTED
78: */
79: public static Test suite() {
80: TestSuite suite = new TestSuite(TestMessageReceiver.class);
81:
82: return suite;
83: }
84:
85: /**
86: * Test of stopReceiving method, of class
87: * com.sun.jbi.engine.sequencing.MessageReceiver.
88: */
89: public void testStopReceiving() {
90: // Add your test code below by replacing the default call to fail.
91: }
92:
93: // Add test methods here, they have to start with 'test' name.
94: // for example:
95: // public void testHello() {}
96: }
|