summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-05-02 14:05:16 +0300
committerLeif Åstrand <leif@vaadin.com>2013-05-02 14:05:16 +0300
commit80d96608dd9f2e0c067918065bfcdcfde0cb3414 (patch)
tree5413cd8d7334c911619ff8cc8b5103f9721e3cee /uitest
parenta4e9ec1ea692107864c2e7945a2dc8503a16c50d (diff)
downloadvaadin-framework-80d96608dd9f2e0c067918065bfcdcfde0cb3414.tar.gz
vaadin-framework-80d96608dd9f2e0c067918065bfcdcfde0cb3414.zip
Rename runSafely() to access() (#11756)
Change-Id: I640244732fb561d9f55da58f8ba94fd02875c191
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/applicationcontext/CloseUI.java2
-rw-r--r--uitest/src/com/vaadin/tests/applicationcontext/UIRunSafelyThread.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/ui/UIPolling.java2
-rw-r--r--uitest/src/com/vaadin/tests/minitutorials/broadcastingmessages/BroadcasterUI.java2
-rw-r--r--uitest/src/com/vaadin/tests/push/BasicPush.java2
-rw-r--r--uitest/src/com/vaadin/tests/push/PushFromInit.java2
-rw-r--r--uitest/src/com/vaadin/tests/push/TogglePush.java2
7 files changed, 7 insertions, 7 deletions
diff --git a/uitest/src/com/vaadin/tests/applicationcontext/CloseUI.java b/uitest/src/com/vaadin/tests/applicationcontext/CloseUI.java
index 47d53c8f52..bec8c0a10f 100644
--- a/uitest/src/com/vaadin/tests/applicationcontext/CloseUI.java
+++ b/uitest/src/com/vaadin/tests/applicationcontext/CloseUI.java
@@ -119,7 +119,7 @@ public class CloseUI extends AbstractTestUI {
@Override
public void run() {
- ui.runSafely(new Runnable() {
+ ui.access(new Runnable() {
@Override
public void run() {
diff --git a/uitest/src/com/vaadin/tests/applicationcontext/UIRunSafelyThread.java b/uitest/src/com/vaadin/tests/applicationcontext/UIRunSafelyThread.java
index 0048cbd741..ddc0f28664 100644
--- a/uitest/src/com/vaadin/tests/applicationcontext/UIRunSafelyThread.java
+++ b/uitest/src/com/vaadin/tests/applicationcontext/UIRunSafelyThread.java
@@ -11,7 +11,7 @@ public abstract class UIRunSafelyThread extends Thread {
@Override
public void run() {
- ui.runSafely(new Runnable() {
+ ui.access(new Runnable() {
@Override
public void run() {
diff --git a/uitest/src/com/vaadin/tests/components/ui/UIPolling.java b/uitest/src/com/vaadin/tests/components/ui/UIPolling.java
index a7add63801..48671191ca 100644
--- a/uitest/src/com/vaadin/tests/components/ui/UIPolling.java
+++ b/uitest/src/com/vaadin/tests/components/ui/UIPolling.java
@@ -39,7 +39,7 @@ public class UIPolling extends AbstractTestUIWithLog {
} catch (InterruptedException e) {
}
final int iteration = i;
- runSafely(new Runnable() {
+ access(new Runnable() {
@Override
public void run() {
log.log((iteration * SLEEP_TIME) + "ms has passed");
diff --git a/uitest/src/com/vaadin/tests/minitutorials/broadcastingmessages/BroadcasterUI.java b/uitest/src/com/vaadin/tests/minitutorials/broadcastingmessages/BroadcasterUI.java
index 88ab4af967..06ead20db3 100644
--- a/uitest/src/com/vaadin/tests/minitutorials/broadcastingmessages/BroadcasterUI.java
+++ b/uitest/src/com/vaadin/tests/minitutorials/broadcastingmessages/BroadcasterUI.java
@@ -43,7 +43,7 @@ public class BroadcasterUI extends UI implements BroadcastListener {
@Override
public void receiveBroadcast(final String message) {
- runSafely(new Runnable() {
+ access(new Runnable() {
@Override
public void run() {
Notification n = new Notification("Message received", message,
diff --git a/uitest/src/com/vaadin/tests/push/BasicPush.java b/uitest/src/com/vaadin/tests/push/BasicPush.java
index 43f8236999..b80d287a1d 100644
--- a/uitest/src/com/vaadin/tests/push/BasicPush.java
+++ b/uitest/src/com/vaadin/tests/push/BasicPush.java
@@ -27,7 +27,7 @@ public class BasicPush extends AbstractTestUI {
@Override
public void run() {
- runSafely(new Runnable() {
+ access(new Runnable() {
@Override
public void run() {
counter2.setValue(counter2.getValue() + 1);
diff --git a/uitest/src/com/vaadin/tests/push/PushFromInit.java b/uitest/src/com/vaadin/tests/push/PushFromInit.java
index c43739ec04..4b442de499 100644
--- a/uitest/src/com/vaadin/tests/push/PushFromInit.java
+++ b/uitest/src/com/vaadin/tests/push/PushFromInit.java
@@ -11,7 +11,7 @@ public class PushFromInit extends AbstractTestUIWithLog {
new Thread() {
@Override
public void run() {
- runSafely(new Runnable() {
+ access(new Runnable() {
@Override
public void run() {
log("Logged from background thread started in init");
diff --git a/uitest/src/com/vaadin/tests/push/TogglePush.java b/uitest/src/com/vaadin/tests/push/TogglePush.java
index 8e9eafeabb..24358e648a 100644
--- a/uitest/src/com/vaadin/tests/push/TogglePush.java
+++ b/uitest/src/com/vaadin/tests/push/TogglePush.java
@@ -52,7 +52,7 @@ public class TogglePush extends AbstractTestUI {
new Timer().schedule(new TimerTask() {
@Override
public void run() {
- runSafely(new Runnable() {
+ access(new Runnable() {
@Override
public void run() {
updateCounter();