aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/test/java/com/yahoo/jdisc/core/FelixFrameworkTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'jdisc_core/src/test/java/com/yahoo/jdisc/core/FelixFrameworkTestCase.java')
-rw-r--r--jdisc_core/src/test/java/com/yahoo/jdisc/core/FelixFrameworkTestCase.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/jdisc_core/src/test/java/com/yahoo/jdisc/core/FelixFrameworkTestCase.java b/jdisc_core/src/test/java/com/yahoo/jdisc/core/FelixFrameworkTestCase.java
index fb663afa23f..d1cb59dbc30 100644
--- a/jdisc_core/src/test/java/com/yahoo/jdisc/core/FelixFrameworkTestCase.java
+++ b/jdisc_core/src/test/java/com/yahoo/jdisc/core/FelixFrameworkTestCase.java
@@ -2,10 +2,10 @@
package com.yahoo.jdisc.core;
import com.yahoo.jdisc.test.TestDriver;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
import org.osgi.framework.BundleException;
-import static org.junit.Assert.fail;
+import static org.junit.jupiter.api.Assertions.fail;
/**
@@ -14,20 +14,20 @@ import static org.junit.Assert.fail;
public class FelixFrameworkTestCase {
@Test
- public void requireThatLifecycleWorks() throws BundleException {
+ void requireThatLifecycleWorks() throws BundleException {
FelixFramework felix = TestDriver.newOsgiFramework();
felix.start();
felix.stop();
}
@Test
- public void requireThatStopWithoutStartDoesNotThrowException() throws BundleException {
+ void requireThatStopWithoutStartDoesNotThrowException() throws BundleException {
FelixFramework felix = TestDriver.newOsgiFramework();
felix.stop();
}
@Test
- public void requireThatInstallCanThrowException() throws BundleException {
+ void requireThatInstallCanThrowException() throws BundleException {
FelixFramework felix = TestDriver.newOsgiFramework();
felix.start();
try {