summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-11-23 11:38:20 +0200
committerLeif Åstrand <leif@vaadin.com>2012-11-23 11:38:20 +0200
commite78cfa7e6ca953e0ecd030cfffb760425a1293bc (patch)
tree55b2fe56e8cc6e9dbe5569be3c9597b69052ebcb /uitest
parent1647984d05c5c576c1fe343111c826f3b6c71bc3 (diff)
downloadvaadin-framework-e78cfa7e6ca953e0ecd030cfffb760425a1293bc.tar.gz
vaadin-framework-e78cfa7e6ca953e0ecd030cfffb760425a1293bc.zip
Refactor Extension API (#10337)
Change-Id: Ib16ffceb8dce235b59848c55e59407074e7d5bda
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/FileDownloaderTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/extensions/BasicExtensionTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/components/FileDownloaderTest.java b/uitest/src/com/vaadin/tests/components/FileDownloaderTest.java
index 55d2afd32d..6e0616b115 100644
--- a/uitest/src/com/vaadin/tests/components/FileDownloaderTest.java
+++ b/uitest/src/com/vaadin/tests/components/FileDownloaderTest.java
@@ -130,7 +130,7 @@ public class FileDownloaderTest extends AbstractTestUI {
public void buttonClick(ClickEvent event) {
FileDownloader e = (FileDownloader) firstDownloadComponent
.getExtensions().iterator().next();
- e.removeFromTarget();
+ e.remove();
log.log("FileDownload detached");
}
}));
diff --git a/uitest/src/com/vaadin/tests/extensions/BasicExtensionTest.java b/uitest/src/com/vaadin/tests/extensions/BasicExtensionTest.java
index ca53427e91..427c71b381 100644
--- a/uitest/src/com/vaadin/tests/extensions/BasicExtensionTest.java
+++ b/uitest/src/com/vaadin/tests/extensions/BasicExtensionTest.java
@@ -38,7 +38,7 @@ public class BasicExtensionTest extends AbstractTestUI {
addComponent(new Button("Remove root extension", new ClickListener() {
@Override
public void buttonClick(ClickEvent event) {
- rootExtension.removeFromTarget();
+ rootExtension.remove();
}
}));
}