1 24 25 package org.objectweb.jtests.jms.conform.message; 26 27 import org.objectweb.jtests.jms.framework.JMSTestCase; 28 import javax.jms.*; 29 import junit.framework.*; 30 31 37 public class MessageDefaultTest extends JMSTestCase { 38 39 43 public void testDEFAULT_DELIVERY_MODE() { 44 assertEquals("The delivery mode is persistent by default.\n", 45 DeliveryMode.PERSISTENT, Message.DEFAULT_DELIVERY_MODE); 46 } 47 48 52 public void testDEFAULT_PRIORITY() { 53 assertEquals("The default priority is 4.\n", 54 4, Message.DEFAULT_PRIORITY); 55 } 56 57 60 public static Test suite() { 61 return new TestSuite(MessageDefaultTest.class); 62 } 63 64 public MessageDefaultTest(String name) { 65 super(name); 66 } 67 } 68 69 | Popular Tags |