X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fcommon%2Factor%2FCommonConfigTest.java;fp=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fcommon%2Factor%2FCommonConfigTest.java;h=fb5ff64ae8a2d228ce6ce5247147c8d2ad93ebeb;hp=825b03c670b71a570c48ef0642b02d14812bb857;hb=4e696d9795fe7eef40369c05c340d137394126f3;hpb=5679203b147817962534344db273e4f2109fd949 diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/common/actor/CommonConfigTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/common/actor/CommonConfigTest.java index 825b03c670..fb5ff64ae8 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/common/actor/CommonConfigTest.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/common/actor/CommonConfigTest.java @@ -8,19 +8,18 @@ package org.opendaylight.controller.cluster.common.actor; -import org.junit.Test; -import scala.concurrent.duration.FiniteDuration; - -import java.util.concurrent.TimeUnit; - -import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; +import java.util.concurrent.TimeUnit; +import org.junit.Test; +import scala.concurrent.duration.FiniteDuration; + public class CommonConfigTest { @Test - public void testCommonConfigDefaults(){ + public void testCommonConfigDefaults() { CommonConfig config = new CommonConfig.Builder<>("testsystem").build(); assertNotNull(config.getActorSystemName()); @@ -31,7 +30,7 @@ public class CommonConfigTest { } @Test - public void testCommonConfigOverride(){ + public void testCommonConfigOverride() { int expectedCapacity = 123; String timeoutValue = "1000ms"; @@ -48,4 +47,4 @@ public class CommonConfigTest { assertTrue(config.isMetricCaptureEnabled()); } -} \ No newline at end of file +}