diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-07-31 11:50:29 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-07-31 11:50:29 +0300 |
commit | 569a82a7bfc4958a9ac164e16caecc3fb47fdbc7 (patch) | |
tree | 4cd32371a757f1d45b2eca2ea90a858db4d7b76e /tests/testbench | |
parent | aeb7c094e11ab338a800a63602bda9e797752e22 (diff) | |
download | vaadin-framework-569a82a7bfc4958a9ac164e16caecc3fb47fdbc7.tar.gz vaadin-framework-569a82a7bfc4958a9ac164e16caecc3fb47fdbc7.zip |
Move common code to AbstractDeploymentConfiguration (#8574)
Diffstat (limited to 'tests/testbench')
-rw-r--r-- | tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java b/tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java index dd93b1a8b6..b2148c8f08 100644 --- a/tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java +++ b/tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java @@ -61,7 +61,8 @@ public class ApplicationRunnerServlet extends AbstractApplicationServlet { Collections.addAll(defaultPackages, initParameter.split(",")); } String str = TestBase.class.getName().replace('.', '/') + ".class"; - URL url = getClassLoader().getResource(str); + URL url = getDeploymentConfiguration().getClassLoader() + .getResource(str); if ("file".equals(url.getProtocol())) { File comVaadinTests = new File(url.getPath()).getParentFile() .getParentFile(); |