On 14/12/2009, [email protected] <[email protected]> wrote:
> Author: henrib
>  Date: Mon Dec 14 17:38:45 2009
>  New Revision: 890409
>
>  URL: http://svn.apache.org/viewvc?rev=890409&view=rev
>  Log:
>  fixed JEXL-94; modified test accordingly. Also fixed a bug in 
> MethodKey#isApplicable that surfaced through test.
>
<...>
Modified: 
commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl2/MethodTest.java
>  URL: 
> http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl2/MethodTest.java?rev=890409&r1=890408&r2=890409&view=diff
>  
> ==============================================================================
>  --- 
> commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl2/MethodTest.java
>  (original)
>  +++ commons/proper/jexl/trunk/src/test/java/org/apache/commons/jexl2

<...>

>  +    /**
>  +     * Runs a test.
>  +     * @param args where args[0] is the test class name and args[1] the 
> test class method

Javadoc disagrees with code.

However, I'm not sure it's useful to have main() methods in test cases
as Maven and Eclipse allow individual cases to be run directly anyway.


>  +     * @throws Exception
>  +     */
>  +    public static void main(String[] args) throws Exception {
>  +        runTest("MethodTest", "testNamespaceCall");
>  +    }
>   }
>  \ No newline at end of file
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to