]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove outdated testing (#11897)
authorLeif Åstrand <leif@vaadin.com>
Tue, 28 May 2013 12:36:16 +0000 (15:36 +0300)
committerVaadin Code Review <review@vaadin.com>
Tue, 28 May 2013 12:43:32 +0000 (12:43 +0000)
* 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

uitest/src/com/vaadin/tests/components/ui/UiAccess.html
uitest/src/com/vaadin/tests/components/ui/UiAccess.java

index 8ae2f2f48e06926dd69d492060eb1c7ef84326a4..613691623cfce0e69d3fec787fe01b3facd01281 100644 (file)
 </tr>
 <tr>
        <td>waitForText</td>
-       <td>vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_4</td>
-       <td>0. Initial background message</td>
-</tr>
-<tr>
-       <td>assertText</td>
        <td>vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_2</td>
-       <td>exact:2. Thread got lock, inital future done? true</td>
-</tr>
-<tr>
-       <td>assertText</td>
-       <td>vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_1</td>
-       <td>exact:3. Access has current response? true</td>
+       <td>0. Initial background message</td>
 </tr>
 <tr>
        <td>assertText</td>
        <td>vaadin=runcomvaadintestscomponentsuiUiAccess::PID_SLog_row_0</td>
-       <td>exact:4. Thread is still alive? false</td>
+       <td>exact:2. Thread got lock, inital future done? true</td>
 </tr>
 <tr>
        <td>click</td>
index c39f65243d1f55d93cd84bc45a8f9af9a11cc6e5..297a985778cf55185a6e3d4faa9a09b49023aa92 100644 (file)
@@ -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();