Updated Branches:
  refs/heads/master d010f32f7 -> 659f771e5

improved test for WICKET-5439

Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/659f771e
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/659f771e
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/659f771e

Branch: refs/heads/master
Commit: 659f771e5adeaa87b00fd15082a600dfe9a63715
Parents: d010f32
Author: svenmeier <[email protected]>
Authored: Wed Jan 8 21:10:11 2014 +0100
Committer: svenmeier <[email protected]>
Committed: Wed Jan 8 21:10:11 2014 +0100

----------------------------------------------------------------------
 .../test/java/org/apache/wicket/ajax/AjaxTimerBehaviorTest.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/659f771e/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxTimerBehaviorTest.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxTimerBehaviorTest.java 
b/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxTimerBehaviorTest.java
index 3644fbc..66e7c5c 100644
--- 
a/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxTimerBehaviorTest.java
+++ 
b/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxTimerBehaviorTest.java
@@ -321,6 +321,10 @@ public class AjaxTimerBehaviorTest extends WicketTestCase
                // restart the timer
                tester.clickLink(MockPageWithLinkAndComponent.LINK_ID);
 
+               assertMatches("setTimeout", 1);
+               // WICKET-5439 label is not updated automatically
+               assertMatches("wicket:id=\"component\"", 0);
+
                // increment to 2
                tester.executeBehavior(timerBehavior);
 

Reply via email to