]> source.dussan.org Git - vaadin-framework.git/commitdiff
[merge from 6.7] Test that a sensible message is displayed if no application is found
authorAutomerge <automerge@vaadin.com>
Mon, 7 May 2012 13:06:50 +0000 (13:06 +0000)
committerAutomerge <automerge@vaadin.com>
Mon, 7 May 2012 13:06:50 +0000 (13:06 +0000)
svn changeset:23683/svn branch:6.8

tests/testbench/com/vaadin/tests/applicationservlet/NoApplicationClass.html [new file with mode: 0644]

diff --git a/tests/testbench/com/vaadin/tests/applicationservlet/NoApplicationClass.html b/tests/testbench/com/vaadin/tests/applicationservlet/NoApplicationClass.html
new file mode 100644 (file)
index 0000000..70bb8cc
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="http://localhost:8888/" />
+<title>New Test</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">New Test</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/run/ClassThatIsNotPresent?restartApplication</td>
+       <td></td>
+</tr>
+<tr>
+       <td>assertText</td>
+       <td>//pre[1]</td>
+       <td>java.lang.InstantiationException: Failed to load application class: ClassThatIsNotPresent</td>
+</tr>
+</tbody></table>
+</body>
+</html>