You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2011/09/07 17:28:38 UTC

Re: svn commit: r1166221 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java

On 7 September 2011 16:18,  <gg...@apache.org> wrote:
> Author: ggregory
> Date: Wed Sep  7 15:18:43 2011
> New Revision: 1166221
>
> URL: http://svn.apache.org/viewvc?rev=1166221&view=rev
> Log:
> Convert to JUnit 4 from 3.
>
> Modified:
>    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
>
> Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
> URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java?rev=1166221&r1=1166220&r2=1166221&view=diff
> ==============================================================================
> --- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java (original)
> +++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java Wed Sep  7 15:18:43 2011
> @@ -197,7 +197,7 @@ public class MethodUtilsTest {
>
>     @Test
>     public void testInvokeExactMethodNoParam() throws Exception {
> -        assertEquals("foo()", MethodUtils.invokeExactMethod(testBean, "foo"));
> +        //assertEquals("foo()", MethodUtils.invokeExactMethod(testBean, "foo"));

Huh? The test now does nothing...

>     }
>
>     @Test
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: svn commit: r1166221 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java

Posted by Gary Gregory <ga...@gmail.com>.
On Wed, Sep 7, 2011 at 11:28 AM, sebb <se...@gmail.com> wrote:

> On 7 September 2011 16:18,  <gg...@apache.org> wrote:
> > Author: ggregory
> > Date: Wed Sep  7 15:18:43 2011
> > New Revision: 1166221
> >
> > URL: http://svn.apache.org/viewvc?rev=1166221&view=rev
> > Log:
> > Convert to JUnit 4 from 3.
> >
> > Modified:
> >
>  commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
> >
> > Modified:
> commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
> > URL:
> http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java?rev=1166221&r1=1166220&r2=1166221&view=diff
> >
> ==============================================================================
> > ---
> commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
> (original)
> > +++
> commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
> Wed Sep  7 15:18:43 2011
> > @@ -197,7 +197,7 @@ public class MethodUtilsTest {
> >
> >     @Test
> >     public void testInvokeExactMethodNoParam() throws Exception {
> > -        assertEquals("foo()", MethodUtils.invokeExactMethod(testBean,
> "foo"));
> > +        //assertEquals("foo()", MethodUtils.invokeExactMethod(testBean,
> "foo"));
>
> Huh? The test now does nothing...
>
>
This test was an in progress brain fart that I've now reverted.

Gary


> >     }
> >
> >     @Test
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: http://s.apache.org/rl
Spring Batch in Action: http://s.apache.org/HOq
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory