summaryrefslogtreecommitdiffstats
path: root/tests/testbench/com/vaadin
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-08-23 12:12:29 +0300
committerLeif Åstrand <leif@vaadin.com>2012-08-23 12:12:29 +0300
commitf4f3a563942a9264fada9275991b5fd9dce73868 (patch)
treeda5ebdb20bcd11cbd8f9b9e8867b64dd623af96a /tests/testbench/com/vaadin
parentbc6786f0dc865b88dd2eeb0614534bfce80dee35 (diff)
downloadvaadin-framework-f4f3a563942a9264fada9275991b5fd9dce73868.tar.gz
vaadin-framework-f4f3a563942a9264fada9275991b5fd9dce73868.zip
Update test case for #9274
Diffstat (limited to 'tests/testbench/com/vaadin')
-rw-r--r--tests/testbench/com/vaadin/tests/vaadincontext/BootstrapModify.html (renamed from tests/testbench/com/vaadin/tests/vaadincontext/BoostrapModify.html)6
-rw-r--r--tests/testbench/com/vaadin/tests/vaadincontext/BootstrapModifyRoot.java (renamed from tests/testbench/com/vaadin/tests/vaadincontext/BoostrapModifyRoot.java)4
-rw-r--r--tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java2
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/testbench/com/vaadin/tests/vaadincontext/BoostrapModify.html b/tests/testbench/com/vaadin/tests/vaadincontext/BootstrapModify.html
index 84c02254b4..8888f95d15 100644
--- a/tests/testbench/com/vaadin/tests/vaadincontext/BoostrapModify.html
+++ b/tests/testbench/com/vaadin/tests/vaadincontext/BootstrapModify.html
@@ -13,13 +13,13 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/run/com.vaadin.tests.vaadincontext.BoostrapModifyRoot?restartApplication</td>
+ <td>/run/com.vaadin.tests.vaadincontext.BootstrapModifyRoot?restartApplication</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
- <td>vaadin=runcomvaadintestsvaadincontextBoostrapModifyRoot::/VVerticalLayout[0]/VLabel[0]</td>
- <td>There should be a static h1 in the HTML of the bootstrap page for this Root</td>
+ <td>vaadin=runcomvaadintestsvaadincontextBootstrapModifyRoot::/VVerticalLayout[0]/VLabel[0]</td>
+ <td>There should be two additional divs in the HTML of the bootstrap page for this Root</td>
</tr>
<tr>
<td>assertText</td>
diff --git a/tests/testbench/com/vaadin/tests/vaadincontext/BoostrapModifyRoot.java b/tests/testbench/com/vaadin/tests/vaadincontext/BootstrapModifyRoot.java
index ede8d51192..6c17c3005e 100644
--- a/tests/testbench/com/vaadin/tests/vaadincontext/BoostrapModifyRoot.java
+++ b/tests/testbench/com/vaadin/tests/vaadincontext/BootstrapModifyRoot.java
@@ -19,7 +19,7 @@ package com.vaadin.tests.vaadincontext;
import com.vaadin.terminal.WrappedRequest;
import com.vaadin.tests.components.AbstractTestRoot;
-public class BoostrapModifyRoot extends AbstractTestRoot {
+public class BootstrapModifyRoot extends AbstractTestRoot {
@Override
protected void setup(WrappedRequest request) {
@@ -29,7 +29,7 @@ public class BoostrapModifyRoot extends AbstractTestRoot {
@Override
protected String getTestDescription() {
- return "There should be a static h1 in the HTML of the bootstrap page for this Root";
+ return "There should be two additional divs in the HTML of the bootstrap page for this Root";
}
@Override
diff --git a/tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java b/tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java
index 4c93d70b36..da058892b4 100644
--- a/tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java
+++ b/tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java
@@ -44,7 +44,7 @@ public class TestAddonContextListener implements AddonContextListener {
private boolean shouldModify(BootstrapResponse response) {
Root root = response.getRoot();
boolean shouldModify = root != null
- && root.getClass() == BoostrapModifyRoot.class;
+ && root.getClass() == BootstrapModifyRoot.class;
return shouldModify;
}