From: Leif Åstrand Date: Tue, 28 May 2013 12:36:16 +0000 (+0300) Subject: Remove outdated testing (#11897) X-Git-Tag: 7.1.0~90^2~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bb7b40487f728f60e910b51d5c236f4fb699cb01;p=vaadin-framework.git Remove outdated testing (#11897) * access is run right away instead of the next time there's a request from the server. * Non-inheritable CurrentInstance values are not carried over to access Change-Id: I6a9f3f2a74647357fe02c43e96878d803cfaf207 --- diff --git a/uitest/src/com/vaadin/tests/components/ui/UiAccess.html b/uitest/src/com/vaadin/tests/components/ui/UiAccess.html index 8ae2f2f48e..613691623c 100644 --- a/uitest/src/com/vaadin/tests/components/ui/UiAccess.html +++ b/uitest/src/com/vaadin/tests/components/ui/UiAccess.html @@ -53,23 +53,13 @@ waitForText - vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_4 - 0. Initial background message - - - assertText vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_2 - exact:2. Thread got lock, inital future done? true - - - assertText - vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_1 - exact:3. Access has current response? true + 0. Initial background message assertText vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0 - exact:4. Thread is still alive? false + exact:2. Thread got lock, inital future done? true click diff --git a/uitest/src/com/vaadin/tests/components/ui/UiAccess.java b/uitest/src/com/vaadin/tests/components/ui/UiAccess.java index c39f65243d..297a985778 100644 --- a/uitest/src/com/vaadin/tests/components/ui/UiAccess.java +++ b/uitest/src/com/vaadin/tests/components/ui/UiAccess.java @@ -107,17 +107,6 @@ public class UiAccess extends AbstractTestUIWithLog { } finally { getSession().unlock(); } - final Thread thisThread = this; - access(new Runnable() { - @Override - public void run() { - log("Access has current response? " - + (VaadinService - .getCurrentResponse() != null)); - log("Thread is still alive? " - + thisThread.isAlive()); - } - }); } }.start();