Author: britter
Date: Thu May 18 13:55:44 2017
New Revision: 1795533

URL: http://svn.apache.org/viewvc?rev=1795533&view=rev
Log:
Fix test which failed with "Unable to instantiate POJO 'class 
org.apache.commons.jelly.expression.TestExpressions'"

Modified:
    
commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/expression/TestExpressions.java

Modified: 
commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/expression/TestExpressions.java
URL: 
http://svn.apache.org/viewvc/commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/expression/TestExpressions.java?rev=1795533&r1=1795532&r2=1795533&view=diff
==============================================================================
--- 
commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/expression/TestExpressions.java
 (original)
+++ 
commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/expression/TestExpressions.java
 Thu May 18 13:55:44 2017
@@ -37,7 +37,7 @@ public class TestExpressions extends Tes
     protected JellyContext context = new JellyContext();
     protected ExpressionFactory factory = new JexlExpressionFactory();
 
-    private static final class TestException extends Exception {
+    public static final class TestException extends Exception {
         public TestException() {
             super("Test Exception");
         }
@@ -48,14 +48,6 @@ public class TestExpressions extends Tes
         }
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(TestExpressions.class);
-    }
-
     public TestExpressions(String testName) {
         super(testName);
     }


Reply via email to