Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 29738 invoked by uid 500); 25 Jun 2002 08:35:09 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 29729 invoked by uid 500); 25 Jun 2002 08:35:09 -0000 Delivered-To: apmail-xml-axis-wsif-cvs@apache.org Date: 25 Jun 2002 08:35:07 -0000 Message-ID: <20020625083507.244.qmail@icarus.apache.org> From: antelder@apache.org To: xml-axis-wsif-cvs@apache.org Subject: cvs commit: xml-axis-wsif/java/test/jms JmsTest.java Jms.wsdl X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N antelder 2002/06/25 01:35:07 Modified: java/test/org/apache/wsif/util/jms NativeJMSRequestListener.java java/test/jms JmsTest.java Jms.wsdl Log: Add Native JMS provider to the JmsTest testcase Revision Changes Path 1.5 +1 -0 xml-axis-wsif/java/test/org/apache/wsif/util/jms/NativeJMSRequestListener.java Index: NativeJMSRequestListener.java =================================================================== RCS file: /home/cvs/xml-axis-wsif/java/test/org/apache/wsif/util/jms/NativeJMSRequestListener.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- NativeJMSRequestListener.java 21 Jun 2002 13:17:06 -0000 1.4 +++ NativeJMSRequestListener.java 25 Jun 2002 08:35:07 -0000 1.5 @@ -214,6 +214,7 @@ sendReply( msg, reply ); } else if ( addr && name ) { abAddEntry( (ObjectMessage) msg ); + sendReply( msg, "input only, so no reply" ); //TODO jms test needs this??? } else if ( addr && firstName && lastName ) { abAddEntryFL( (ObjectMessage) msg ); } else if ( name ) { 1.7 +102 -0 xml-axis-wsif/java/test/jms/JmsTest.java Index: JmsTest.java =================================================================== RCS file: /home/cvs/xml-axis-wsif/java/test/jms/JmsTest.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- JmsTest.java 24 Jun 2002 13:11:20 -0000 1.6 +++ JmsTest.java 25 Jun 2002 08:35:07 -0000 1.7 @@ -97,6 +97,7 @@ private final static String SOAP = "soap"; private final static String AXIS = "axis"; private final static String JAVA = "java"; + private final static String NJMS = "njms"; private final static String REPLYTOQ = "AddressBookReplyTo"; private final static int PERS = DeliveryMode.PERSISTENT; private final static int NPERS = DeliveryMode.NON_PERSISTENT; @@ -442,6 +443,107 @@ public void testAxisBindPrVals() { doit("bindpv", AXIS, REPLYTOQ, 3, PERS, 0, BPV); } + + + public void testNativeJMSDefault() { + doit("NJdefault", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSDefaultAlt() { + doit("NJdefault-alt", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadQcfMixQ() { + doit("NJbad-qcfmixq", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadMixQ() { + doit("NJbad-mixq", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadMixIcf() { + doit("NJbad-mixicf", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadQcf() { + doit("NJbad-qcf", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadQ() { + doit("NJbad-queue", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadAltQ() { + doit("NJbad-altqueue", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadStyle() { + doit("NJbad-style", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadIcf() { + doit("NJbad-icf", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadJurl() { + doit("NJbad-jurl", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadNoQ() { + doit("NJbad-noq", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadNoStyle() { + doit("NJbad-nostyle", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadNoQcf() { + doit("NJbad-noqcf", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadNoIcfJurl() { + doit("NJbad-noicfjurl", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadAltAndQ() { + doit("NJbad-altandq", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadTopic() { + doit("NJbad-topic", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadImplSpec() { + doit("NJbad-implspec", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadMqAndJndi() { + doit("NJbad-mqandjndi", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadNothing() { + doit("NJbad-nothing", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSBadNoBinding() { + doit("NJbad-nobinding", NJMS, REPLYTOQ, 3, NPERS, 0, null); + } + public void testNativeJMSNullReplyTo() { + doit("NJdefault", NJMS, null, 3, NPERS, 0, null); + } + public void testNativeJMSShortReplyTo() { + doit("NJdefault", NJMS, "", 3, NPERS, 0, null); + } + public void testNativeJMSBadReplyTo() { + doit("NJbaddefault", NJMS, "trash", 3, NPERS, 0, null); + } + public void testNativeJMSZeroPriority() { + doit("NJdefault", NJMS, REPLYTOQ, 0, NPERS, 0, null); + } + public void testNativeJMSNegPriority() { + doit("NJbaddefault", NJMS, REPLYTOQ, -1, NPERS, 0, null); + } + public void testNativeJMSBigPriority() { + doit("NJbaddefault", NJMS, REPLYTOQ, 57, NPERS, 0, null); + } + public void testNativeJMSPersistent() { + doit("NJdefault", NJMS, REPLYTOQ, 3, PERS, 0, null); + } + public void testNativeJMSBadPers() { + doit("NJbad-persist", NJMS, REPLYTOQ, 3, PERS, 0, null); + } +// public void testNativeJMSNonPers() { TODO - doesn't work! +// doit("NJnonpersist", NJMS, REPLYTOQ, 3, NPERS, 0, null); +// } + public void testNativeJMSUserProp() { + doit("NJdefault", NJMS, REPLYTOQ, 3, NPERS, 0, UP); + } + public void testNativeJMSAddrPrVals() { + doit("NJaddrpv", NJMS, REPLYTOQ, 3, PERS, 0, APV); + } + public void testNativeJMSBindPrVals() { + doit("NJbindpv", NJMS, REPLYTOQ, 3, PERS, 0, BPV); + } public void testJavaNoAttrs() { doit("java-noattrs", JAVA, null, 3, NPERS, 0, null); 1.5 +303 -1 xml-axis-wsif/java/test/jms/Jms.wsdl Index: Jms.wsdl =================================================================== RCS file: /home/cvs/xml-axis-wsif/java/test/jms/Jms.wsdl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Jms.wsdl 19 Jun 2002 14:07:24 -0000 1.4 +++ Jms.wsdl 25 Jun 2002 08:35:07 -0000 1.5 @@ -5,7 +5,7 @@ xmlns:typens="http://wsiftypes.addressbook/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:jms="http://schemas.xmlsoap.org/wsdl/jms" + xmlns:jms="http://schemas.xmlsoap.org/wsdl/jms/" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/" xmlns:java="http://schemas.xmlsoap.org/wsdl/java/" xmlns="http://schemas.xmlsoap.org/wsdl/"> @@ -335,6 +335,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -544,6 +642,210 @@ jndiConnectionFactoryName="TempQCF" initialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory" jndiProviderURL="file:///JNDI-Directory"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +