]> source.dussan.org Git - vaadin-framework.git/commitdiff
Moved layout-resize-text.html to statictestfiles
authorJohn Ahlroos <john@vaadin.com>
Mon, 10 Sep 2012 10:15:12 +0000 (13:15 +0300)
committerJohn Ahlroos <john@vaadin.com>
Mon, 10 Sep 2012 10:15:12 +0000 (13:15 +0300)
WebContent/layout-resize-test.html [deleted file]
WebContent/statictestfiles/layout-resize-test.html [new file with mode: 0644]

diff --git a/WebContent/layout-resize-test.html b/WebContent/layout-resize-test.html
deleted file mode 100644 (file)
index b798402..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>LayoutResizeTest opener</title>
-</head>
-<body>
-
-<button onclick="testV7()">Open LayoutResizeTest (Vaadin 7)</button><br>
-<button onclick="testV6()">Open LayoutResizeTest (Vaadin 6)</button><br>
-<button onclick="resize1()">Resize to 650x450</button><br>
-<button onclick="resize2()">Resize to 950x750</button>
-
-
-<script>
-var win1, win2;
-
-function testV7() {
-       win1 = window.open('/vaadin/run/com.vaadin.tests.components.orderedlayout.LayoutResizeTest?restartApplication&debug','layoutResizeTestV7','width=800,height=600');
-}
-
-function testV6() {
-       win2 = window.open('/LayoutBenchmark/?restartApplication&debug','layoutResizeTestV6','width=800,height=600');
-}
-
-function resize1() {
-       if(win1)
-               win1.resizeTo(650,450);
-       if(win2)
-               win2.resizeTo(650,450);
-}
-
-function resize2() {
-       if(win1)
-               win1.resizeTo(950,750);
-       if(win2)
-               win2.resizeTo(950,750);
-}
-</script>
-</body>
-</html>
\ No newline at end of file
diff --git a/WebContent/statictestfiles/layout-resize-test.html b/WebContent/statictestfiles/layout-resize-test.html
new file mode 100644 (file)
index 0000000..b798402
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>LayoutResizeTest opener</title>
+</head>
+<body>
+
+<button onclick="testV7()">Open LayoutResizeTest (Vaadin 7)</button><br>
+<button onclick="testV6()">Open LayoutResizeTest (Vaadin 6)</button><br>
+<button onclick="resize1()">Resize to 650x450</button><br>
+<button onclick="resize2()">Resize to 950x750</button>
+
+
+<script>
+var win1, win2;
+
+function testV7() {
+       win1 = window.open('/vaadin/run/com.vaadin.tests.components.orderedlayout.LayoutResizeTest?restartApplication&debug','layoutResizeTestV7','width=800,height=600');
+}
+
+function testV6() {
+       win2 = window.open('/LayoutBenchmark/?restartApplication&debug','layoutResizeTestV6','width=800,height=600');
+}
+
+function resize1() {
+       if(win1)
+               win1.resizeTo(650,450);
+       if(win2)
+               win2.resizeTo(650,450);
+}
+
+function resize2() {
+       if(win1)
+               win1.resizeTo(950,750);
+       if(win2)
+               win2.resizeTo(950,750);
+}
+</script>
+</body>
+</html>
\ No newline at end of file