Hi,
I'm trying to fix the last test failure in branch 1.x but I need
help. Here is the failure:
-------------------------------------------------------------------------------
Test set: wicket.ComponentTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec <<<
FAILURE!
testDetachPageAjaxRequest(wicket.ComponentTest) Time elapsed: 0.046 sec <<<
FAILURE!
junit.framework.AssertionFailedError: expected:<2> but was:<3>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:201)
at junit.framework.Assert.assertEquals(Assert.java:207)
at wicket.ComponentTest.testDetachPageAjaxRequest(ComponentTest.java:92)
Apparently the component is detached 2 times: one time by
BehaviorRequestTarget, and one time by AjaxRequestTarget.
What is the expected process when a behavior is executed via AJAX?
Can you explain a little bit?
Oh and BTW once this test is fixed, IncrementalTableNavigationTest
will need to be updated. They are tied together as the number of
detachs has an impact on the generated behavior URLs apparently.
All the best,
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/