You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/12/20 06:20:46 UTC
[groovy] branch GROOVY_3_0_X updated: GROOVY-9865: Add some DGM
methods for primitive arrays (fix test)
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new 1720c82 GROOVY-9865: Add some DGM methods for primitive arrays (fix test)
1720c82 is described below
commit 1720c82507c6c8b39d48a728dce54068445ad189
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sun Dec 20 16:19:55 2020 +1000
GROOVY-9865: Add some DGM methods for primitive arrays (fix test)
---
subprojects/groovy-jmx/src/test/java/groovy/jmx/MBeanTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/subprojects/groovy-jmx/src/test/java/groovy/jmx/MBeanTest.java b/subprojects/groovy-jmx/src/test/java/groovy/jmx/MBeanTest.java
index 57849e7..dbe9958 100644
--- a/subprojects/groovy-jmx/src/test/java/groovy/jmx/MBeanTest.java
+++ b/subprojects/groovy-jmx/src/test/java/groovy/jmx/MBeanTest.java
@@ -52,9 +52,9 @@ public class MBeanTest extends GroovyTestCase {
// now let's look up the name via JMX to check
assertEquals("JMX value of Name", "Bob", mbeanServer.getAttribute(name, "Name"));
- assertEquals("Location : London|Name : Bob|Size : 12", join(sort(object.listAttributeValues()), "|"));
- assertEquals("start|stop", join(sort(object.listOperationNames()), "|"));
- assertEquals("void start()", join(sort(object.describeOperation("start")), "|"));
+ assertEquals("Location : London|Name : Bob|Size : 12", join((Iterable)sort(object.listAttributeValues()), "|"));
+ assertEquals("start|stop", join((Iterable)sort(object.listOperationNames()), "|"));
+ assertEquals("void start()", join((Iterable)sort(object.describeOperation("start")), "|"));
assertEquals("(rw) java.lang.String Location", object.describeAttribute("Location"));
}
}