diff options
author | Automerge <automerge@vaadin.com> | 2012-05-07 13:06:50 +0000 |
---|---|---|
committer | Automerge <automerge@vaadin.com> | 2012-05-07 13:06:50 +0000 |
commit | 03b6110d94b65d0767d1519fac572630538cf314 (patch) | |
tree | e8a45bf71db1356f809d0cc9f26a2eb9057d08f2 /tests | |
parent | c3bba747205792447d67b3ac0c1ecf91ec6f87ca (diff) | |
download | vaadin-framework-03b6110d94b65d0767d1519fac572630538cf314.tar.gz vaadin-framework-03b6110d94b65d0767d1519fac572630538cf314.zip |
[merge from 6.7] Test that a sensible message is displayed if no application is found
svn changeset:23683/svn branch:6.8
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testbench/com/vaadin/tests/applicationservlet/NoApplicationClass.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/testbench/com/vaadin/tests/applicationservlet/NoApplicationClass.html b/tests/testbench/com/vaadin/tests/applicationservlet/NoApplicationClass.html new file mode 100644 index 0000000000..70bb8cc8f3 --- /dev/null +++ b/tests/testbench/com/vaadin/tests/applicationservlet/NoApplicationClass.html @@ -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> |