diff options
Diffstat (limited to 'jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java')
-rw-r--r-- | jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java index 17ffd94b9f..6008c5aa44 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java @@ -112,7 +112,7 @@ public class ScanningAppProviderRuntimeUpdatesTest public void testAfterStartupContext() throws IOException { jetty.copyWebapp("foo-webapp-1.war","foo.war"); - jetty.copyContext("foo.xml","foo.xml"); + jetty.copyWebapp("foo.xml","foo.xml"); waitForDirectoryScan(); waitForDirectoryScan(); @@ -127,14 +127,14 @@ public class ScanningAppProviderRuntimeUpdatesTest public void testAfterStartupThenRemoveContext() throws IOException { jetty.copyWebapp("foo-webapp-1.war","foo.war"); - jetty.copyContext("foo.xml","foo.xml"); + jetty.copyWebapp("foo.xml","foo.xml"); waitForDirectoryScan(); waitForDirectoryScan(); jetty.assertWebAppContextsExists("/foo"); - jetty.removeContext("foo.xml"); + jetty.removeWebapp("foo.xml"); waitForDirectoryScan(); waitForDirectoryScan(); @@ -155,7 +155,7 @@ public class ScanningAppProviderRuntimeUpdatesTest jetty.copyWebapp("foo-webapp-1.war","foo.war"); - jetty.copyContext("foo.xml","foo.xml"); + jetty.copyWebapp("foo.xml","foo.xml"); waitForDirectoryScan(); waitForDirectoryScan(); @@ -167,7 +167,7 @@ public class ScanningAppProviderRuntimeUpdatesTest waitForDirectoryScan(); //System.err.println("Updating war files"); - jetty.copyContext("foo.xml","foo.xml"); // essentially "touch" the context xml + jetty.copyWebapp("foo.xml","foo.xml"); // essentially "touch" the context xml jetty.copyWebapp("foo-webapp-2.war","foo.war"); // This should result in the existing foo.war being replaced with the new foo.war |