You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2014/01/09 14:04:33 UTC

[47/50] [abbrv] git commit: improved test for WICKET-5439

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/sandbox/WICKET-4686
Commit: 659f771e5adeaa87b00fd15082a600dfe9a63715
Parents: d010f32
Author: svenmeier <sv...@meiers.net>
Authored: Wed Jan 8 21:10:11 2014 +0100
Committer: svenmeier <sv...@meiers.net>
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);