From bb7b40487f728f60e910b51d5c236f4fb699cb01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Tue, 28 May 2013 15:36:16 +0300 Subject: [PATCH] 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 --- .../com/vaadin/tests/components/ui/UiAccess.html | 14 ++------------ .../com/vaadin/tests/components/ui/UiAccess.java | 11 ----------- 2 files changed, 2 insertions(+), 23 deletions(-) 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(); -- 2.39.5