aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/launcher
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-06-10 21:32:57 +0300
committerVaadin Code Review <review@vaadin.com>2013-09-17 12:40:47 +0000
commitd6954f86e401566456a64418ae80e2f8853a5e43 (patch)
tree23f24c8c30759d82e6fb9c12a3f8558f65c6e43b /uitest/src/com/vaadin/launcher
parent1de438915468e92ad0657ac4f22dc3e1b1580e63 (diff)
downloadvaadin-framework-d6954f86e401566456a64418ae80e2f8853a5e43.tar.gz
vaadin-framework-d6954f86e401566456a64418ae80e2f8853a5e43.zip
Include TestBench 3.1.1 in the project (#12572)
* Jetty is updated to 8.1.9.v20130131 to avoid conflicts with TestBench dependencies * The new jetty dependens on servlet 3.0 Change-Id: Ibbbc8f5838feb4c132ee2b6f7d7f3f630e95dd68
Diffstat (limited to 'uitest/src/com/vaadin/launcher')
-rw-r--r--uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java b/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java
index 5ab2134cdb..a8d639cbc8 100644
--- a/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java
+++ b/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java
@@ -24,10 +24,12 @@ import java.net.ServerSocket;
import java.net.Socket;
import java.text.SimpleDateFormat;
import java.util.Calendar;
+import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
+import javax.servlet.DispatcherType;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
@@ -181,7 +183,8 @@ public class DevelopmentServerLauncher {
String[] paths = serverArgs.get("slowdown").split(",");
for (String p : paths) {
System.out.println("Slowing down: " + p);
- webappcontext.addFilter(SlowFilter.class, p, 1);
+ webappcontext.addFilter(SlowFilter.class, p,
+ EnumSet.of(DispatcherType.REQUEST));
}
}
// --cache=/run/APP/PUBLISHED/*,/other/path/asd.jpg
@@ -190,7 +193,8 @@ public class DevelopmentServerLauncher {
String[] paths = serverArgs.get("cache").split(",");
for (String p : paths) {
System.out.println("Enabling cache for: " + p);
- webappcontext.addFilter(CacheFilter.class, p, 1);
+ webappcontext.addFilter(CacheFilter.class, p,
+ EnumSet.of(DispatcherType.REQUEST));
}
}