You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2020/08/27 14:24:02 UTC
[cxf] branch master updated: [CXF-8332]JDK15 support
This is an automated email from the ASF dual-hosted git repository.
ffang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new 4b26fa3 [CXF-8332]JDK15 support
4b26fa3 is described below
commit 4b26fa366b98fe1165037d1e295f03ab44d721e4
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Thu Aug 27 10:16:33 2020 -0400
[CXF-8332]JDK15 support
---
.../java/org/apache/cxf/transport/jms/util/MessageListenerTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/util/MessageListenerTest.java b/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/util/MessageListenerTest.java
index 4cbf47f..c83867a 100644
--- a/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/util/MessageListenerTest.java
+++ b/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/util/MessageListenerTest.java
@@ -45,6 +45,7 @@ import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
public class MessageListenerTest {
@@ -91,7 +92,8 @@ public class MessageListenerTest {
JMSException ex = exListener.exception;
assertNotNull(ex);
// Closing the pooled connection will result in a NPE when using it
- assertEquals("Wrapped exception. null", ex.getMessage());
+ assertTrue(ex.getMessage().contains("Wrapped exception.")
+ && ex.getMessage().contains("null"));
}
@Test