myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvid Hülsebus <arvid.huelse...@atanion.com>
Subject Re: test failed
Date Sun, 15 Jan 2006 21:28:39 GMT
Hello!

I just updated the sources and run a 'mvn clean install' and everything
worked out fine. The tests didn't fail. Did you try a clean? Are you
using Maven 2.0.1?

Regards,
Arvid

Mario Ivankovits wrote:
> Hi!
>
> Could someone please confirm that the tests against the current svn head
> fail?
>
> Currently I try to implement the "commandLink submit script" but after
> an "svn update" the following exception occurs during "mvn install".
> I cant see any class I changed being involved ... so I am not sure if
> its my fault or if the current svn is somewhat unstable.
>
> junit.framework.AssertionFailedError:
>   Unexpected method call
> getValue(org.apache.myfaces.mock.MockFacesContext@19a8416):
>     getValue(org.apache.myfaces.mock.MockFacesContext@19a8416):
> expected: 0, actual: 1
>     getValue(null): expected: 1, actual: 0
>         at
> org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:44)
>         at
> org.easymock.classextension.MockClassControl$2.intercept(MockClassControl.java:67)
>         at
> $javax.faces.el.ValueBinding$$EnhancerByCGLIB$$a458a51c.getValue(<generated>)
>         at
> javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1151)
>         at
> javax.faces.component.UIComponentBaseTest.testIsRenderedBinding(UIComponentBaseTest.java:69)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>
> Thanks!
> Mario
>   


Mime
View raw message