You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by he...@apache.org on 2018/01/21 10:45:21 UTC

svn commit: r1821783 - /commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl3/internal/introspection/MethodKeyTest.java

Author: henrib
Date: Sun Jan 21 10:45:21 2018
New Revision: 1821783

URL: http://svn.apache.org/viewvc?rev=1821783&view=rev
Log:
JEXL:
Coverage, added a test / call debug method

Modified:
    commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl3/internal/introspection/MethodKeyTest.java

Modified: commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl3/internal/introspection/MethodKeyTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl3/internal/introspection/MethodKeyTest.java?rev=1821783&r1=1821782&r2=1821783&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl3/internal/introspection/MethodKeyTest.java (original)
+++ commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl3/internal/introspection/MethodKeyTest.java Sun Jan 21 10:45:21 2018
@@ -141,6 +141,13 @@ public class MethodKeyTest {
     }
 
     @Test
+    public void testDebugString() throws Exception {
+        MethodKey c = KEY_LIST[0];
+        String str = c.debugString();
+        Assert.assertNotNull(str);
+    }
+
+    @Test
     public void testObjectKey() throws Exception {
         for (int k = 0; k < KEY_LIST.length; ++k) {
             MethodKey ctl = KEY_LIST[k];