diff options
author | Artur Signell <artur@vaadin.com> | 2015-08-03 12:30:34 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-09-03 08:27:51 +0000 |
commit | f3f3a74d5779b5ff0270700a998b1b62c60a45b9 (patch) | |
tree | 6fbcc1482880f94fd9cffaf680d963910290a1ec /uitest/src/com/vaadin/tests/push/BasicPushTest.java | |
parent | 724f55912045f67ee77867c84554f2312e784e6e (diff) | |
download | vaadin-framework-f3f3a74d5779b5ff0270700a998b1b62c60a45b9.tar.gz vaadin-framework-f3f3a74d5779b5ff0270700a998b1b62c60a45b9.zip |
Support suspend timeout for long polling (#18550)
Change-Id: I1dc35f060b255baff4d28a815414836d4852218b
Diffstat (limited to 'uitest/src/com/vaadin/tests/push/BasicPushTest.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/push/BasicPushTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/uitest/src/com/vaadin/tests/push/BasicPushTest.java b/uitest/src/com/vaadin/tests/push/BasicPushTest.java index 5bac54f0f7..f176008eb0 100644 --- a/uitest/src/com/vaadin/tests/push/BasicPushTest.java +++ b/uitest/src/com/vaadin/tests/push/BasicPushTest.java @@ -57,11 +57,11 @@ public abstract class BasicPushTest extends MultiBrowserTest { return Integer.parseInt(clientCounterElem.getText()); } - private WebElement getIncrementButton() { + protected WebElement getIncrementButton() { return getIncrementButton(this); } - private WebElement getServerCounterStartButton() { + protected WebElement getServerCounterStartButton() { return getServerCounterStartButton(this); } @@ -83,7 +83,7 @@ public abstract class BasicPushTest extends MultiBrowserTest { return t.vaadinElementById(BasicPush.INCREMENT_BUTTON_ID); } - private void waitUntilClientCounterChanges(final int expectedValue) { + protected void waitUntilClientCounterChanges(final int expectedValue) { waitUntil(new ExpectedCondition<Boolean>() { @Override @@ -93,7 +93,7 @@ public abstract class BasicPushTest extends MultiBrowserTest { }, 10); } - private void waitUntilServerCounterChanges() { + protected void waitUntilServerCounterChanges() { final int counter = BasicPushTest.getServerCounter(this); waitUntil(new ExpectedCondition<Boolean>() { |