[jboss-cvs] JBoss Messaging SVN: r5874 - in trunk/tests/joram-tests/src/org/objectweb/jtests/jms/conform: session and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Feb 16 10:50:49 EST 2009
Author: jmesnil
Date: 2009-02-16 10:50:49 -0500 (Mon, 16 Feb 2009)
New Revision: 5874
Modified:
trunk/tests/joram-tests/src/org/objectweb/jtests/jms/conform/connection/ConnectionTest.java
trunk/tests/joram-tests/src/org/objectweb/jtests/jms/conform/session/SessionTest.java
Log:
removed weird encoded characters (was a ?\194?\167 at the origin)
Modified: trunk/tests/joram-tests/src/org/objectweb/jtests/jms/conform/connection/ConnectionTest.java
===================================================================
--- trunk/tests/joram-tests/src/org/objectweb/jtests/jms/conform/connection/ConnectionTest.java 2009-02-16 14:43:52 UTC (rev 5873)
+++ trunk/tests/joram-tests/src/org/objectweb/jtests/jms/conform/connection/ConnectionTest.java 2009-02-16 15:50:49 UTC (rev 5874)
@@ -70,7 +70,7 @@
Message m = receiver.receive(TestConfig.TIMEOUT);
receiverConnection.close();
m.acknowledge();
- fail("�4.3.5 Invoking the acknowledge method of a received message from a closed "
+ fail("sec. 4.3.5 Invoking the acknowledge method of a received message from a closed "
+ "connection's session must throw a [javax.jms.]IllegalStateException.\n");
}
catch (javax.jms.IllegalStateException e)
@@ -78,12 +78,12 @@
}
catch (JMSException e)
{
- fail("�4.3.5 Invoking the acknowledge method of a received message from a closed "
+ fail("sec. 4.3.5 Invoking the acknowledge method of a received message from a closed "
+ "connection's session must throw a [javax.jms.]IllegalStateException, not a " + e);
}
catch (java.lang.IllegalStateException e)
{
- fail("�4.3.5 Invoking the acknowledge method of a received message from a closed "
+ fail("sec. 4.3.5 Invoking the acknowledge method of a received message from a closed "
+ "connection's session must throw an [javax.jms.]IllegalStateException "
+ "[not a java.lang.IllegalStateException]");
}
@@ -149,7 +149,7 @@
}
catch (Exception e)
{
- fail("�4.3.5 Closing a closed connection must not throw an exception.\n");
+ fail("sec. 4.3.5 Closing a closed connection must not throw an exception.\n");
}
}
Modified: trunk/tests/joram-tests/src/org/objectweb/jtests/jms/conform/session/SessionTest.java
===================================================================
--- trunk/tests/joram-tests/src/org/objectweb/jtests/jms/conform/session/SessionTest.java 2009-02-16 14:43:52 UTC (rev 5873)
+++ trunk/tests/joram-tests/src/org/objectweb/jtests/jms/conform/session/SessionTest.java 2009-02-16 15:50:49 UTC (rev 5874)
@@ -239,7 +239,7 @@
Message m = receiver.receive(TestConfig.TIMEOUT);
receiverSession.close();
m.acknowledge();
- fail("�4.4.1 Invoking the acknowledge method of a received message from a closed "
+ fail("sec. 4.4.1 Invoking the acknowledge method of a received message from a closed "
+ " session must throw an [javax.jms.]IllegalStateException.\n");
}
catch (javax.jms.IllegalStateException e)
@@ -251,7 +251,7 @@
}
catch (java.lang.IllegalStateException e)
{
- fail("�4.4.1 Invoking the acknowledge method of a received message from a closed "
+ fail("sec. 4.4.1 Invoking the acknowledge method of a received message from a closed "
+ "session must throw an [javax.jms.]IllegalStateException, "
+ "[not a java.lang.IllegalStateException]");
}
@@ -275,7 +275,7 @@
}
catch (Exception e)
{
- fail("�4.4.1 It is valid to continue to use message objects created or received via "
+ fail("sec. 4.4.1 It is valid to continue to use message objects created or received via "
+ "the [closed] session.\n");
}
}
@@ -290,7 +290,7 @@
{
senderSession.close();
senderSession.createMessage();
- fail("�4.4.1 An attempt to use [a closed session] must throw a [javax.jms.]IllegalStateException.\n");
+ fail("sec. 4.4.1 An attempt to use [a closed session] must throw a [javax.jms.]IllegalStateException.\n");
}
catch (javax.jms.IllegalStateException e)
{
@@ -321,7 +321,7 @@
}
catch (Exception e)
{
- fail("�4.4.1 Closing a closed session must NOT throw an exception.\n");
+ fail("sec. 4.4.1 Closing a closed session must NOT throw an exception.\n");
}
}
More information about the jboss-cvs-commits
mailing list