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: * @(#)TestSimpleServicelist.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.servicelist;
030:
031: import com.sun.jbi.engine.sequencing.MessageRegistry;
032: import com.sun.jbi.engine.sequencing.PatternRegistry;
033: import com.sun.jbi.engine.sequencing.SequencingEngineContext;
034: import com.sun.jbi.engine.sequencing.exception.ServicelistException;
035: import com.sun.jbi.engine.sequencing.framework.Servicelist;
036: import com.sun.jbi.engine.sequencing.framework.threads.Command;
037: import com.sun.jbi.engine.sequencing.servicelist.ServiceBean;
038: import com.sun.jbi.engine.sequencing.servicelist.ServicelistBean;
039: import com.sun.jbi.engine.sequencing.servicelist.ServicelistReader;
040: import com.sun.jbi.engine.sequencing.util.MessageExchangeHelper;
041:
042: import junit.framework.*;
043:
044: import java.util.Timer;
045: import java.util.TimerTask;
046: import java.util.logging.Logger;
047:
048: import javax.jbi.messaging.DeliveryChannel;
049: import javax.jbi.messaging.ExchangeStatus;
050: import javax.jbi.messaging.Fault;
051: import javax.jbi.messaging.MessageExchange;
052: import javax.jbi.messaging.MessagingException;
053: import javax.jbi.messaging.NormalizedMessage;
054:
055: import javax.jbi.servicedesc.ServiceEndpoint;
056:
057: /**
058: * DOCUMENT ME!
059: *
060: * @author Sun Microsystems, Inc.
061: */
062: public class TestSimpleServicelist extends TestCase {
063: /**
064: * Creates a new TestSimpleServicelist object.
065: *
066: * @param testName
067: */
068: public TestSimpleServicelist(java.lang.String testName) {
069: super (testName);
070: }
071:
072: /**
073: *
074: *
075: * @return NOT YET DOCUMENTED
076: */
077: public static Test suite() {
078: TestSuite suite = new TestSuite(TestSimpleServicelist.class);
079:
080: return suite;
081: }
082:
083: /**
084: * Test of cancelExchange method, of class
085: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
086: */
087: public void testCancelExchange() {
088: // Add your test code below by replacing the default call to fail.
089: }
090:
091: /**
092: * Test of execute method, of class
093: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
094: */
095: public void testExecute() {
096: // Add your test code below by replacing the default call to fail.
097: }
098:
099: /**
100: * Test of executeService method, of class
101: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
102: */
103: public void testExecuteService() {
104: // Add your test code below by replacing the default call to fail.
105: }
106:
107: /**
108: * Test of getCurrentExchange method, of class
109: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
110: */
111: public void testGetCurrentExchange() {
112: // Add your test code below by replacing the default call to fail.
113: }
114:
115: /**
116: * Test of getCurrentService method, of class
117: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
118: */
119: public void testGetCurrentService() {
120: // Add your test code below by replacing the default call to fail.
121: }
122:
123: /**
124: * Test of getDeploymentId method, of class
125: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
126: */
127: public void testGetDeploymentId() {
128: // Add your test code below by replacing the default call to fail.
129: }
130:
131: /**
132: * Test of getInboundExchange method, of class
133: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
134: */
135: public void testGetInboundExchange() {
136: // Add your test code below by replacing the default call to fail.
137: }
138:
139: /**
140: * Test of getListName method, of class
141: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
142: */
143: public void testGetListName() {
144: // Add your test code below by replacing the default call to fail.
145: }
146:
147: /**
148: * Test of getServicelistBean method, of class
149: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
150: */
151: public void testGetServicelistBean() {
152: // Add your test code below by replacing the default call to fail.
153: }
154:
155: /**
156: * Test of getState method, of class
157: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
158: */
159: public void testGetState() {
160: // Add your test code below by replacing the default call to fail.
161: }
162:
163: /**
164: * Test of hasTimedOut method, of class
165: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
166: */
167: public void testHasTimedOut() {
168: // Add your test code below by replacing the default call to fail.
169: }
170:
171: /**
172: * Test of processResponse method, of class
173: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
174: */
175: public void testProcessResponse() {
176: // Add your test code below by replacing the default call to fail.
177: }
178:
179: /**
180: * Test of sendListError method, of class
181: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
182: */
183: public void testSendListError() {
184: // Add your test code below by replacing the default call to fail.
185: }
186:
187: /**
188: * Test of sendListResponse method, of class
189: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
190: */
191: public void testSendListResponse() {
192: // Add your test code below by replacing the default call to fail.
193: }
194:
195: /**
196: * Test of setInboundExchange method, of class
197: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
198: */
199: public void testSetInboundExchange() {
200: // Add your test code below by replacing the default call to fail.
201: }
202:
203: /**
204: * Test of setMessageExchange method, of class
205: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
206: */
207: public void testSetMessageExchange() {
208: // Add your test code below by replacing the default call to fail.
209: }
210:
211: /**
212: * Test of setServicelistBean method, of class
213: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
214: */
215: public void testSetServicelistBean() {
216: // Add your test code below by replacing the default call to fail.
217: }
218:
219: /**
220: * Test of setState method, of class
221: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
222: */
223: public void testSetState() {
224: // Add your test code below by replacing the default call to fail.
225: }
226:
227: /**
228: * Test of startTimer method, of class
229: * com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist.
230: */
231: public void testStartTimer() {
232: // Add your test code below by replacing the default call to fail.
233: }
234:
235: // Add test methods here, they have to start with 'test' name.
236: // for example:
237: // public void testHello() {}
238: }
|