diff options
author | gjoranv <gv@verizonmedia.com> | 2020-07-20 00:03:30 +0200 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2020-07-20 00:03:30 +0200 |
commit | b4dfbb30bb4492bf3c6adf9373a8f20d35146886 (patch) | |
tree | edd3f47f487d9721a044fb1494bad7762ff8adb6 /container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java | |
parent | 5deab715167cc3ffbd9ab76726bb6cb7f50397ec (diff) |
Let ApplicationBundleLoader take its installer as a ctor argument
Diffstat (limited to 'container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java')
-rw-r--r-- | container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java b/container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java index 6d6db045b73..b56e5d99123 100644 --- a/container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java +++ b/container-core/src/test/java/com/yahoo/container/core/config/ApplicationBundleLoaderTest.java @@ -9,11 +9,9 @@ import org.junit.Before; import org.junit.Test; import org.osgi.framework.Bundle; -import java.io.File; import java.util.List; import java.util.Map; import java.util.Set; -import java.util.concurrent.TimeUnit; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; @@ -36,8 +34,7 @@ public class ApplicationBundleLoaderTest { osgi = new TestOsgi(testBundles()); var bundleInstaller = new TestBundleInstaller(MockFileAcquirer.returnFile(null)); - bundleLoader = new ApplicationBundleLoader(osgi); - bundleLoader.useCustomBundleInstaller(bundleInstaller); + bundleLoader = new ApplicationBundleLoader(osgi, bundleInstaller); } @Test |