X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Fkaraf%2FResetEventTimesCommandTest.java;fp=openflowplugin-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Fkaraf%2FResetEventTimesComandProviderTest.java;h=4003ad13782aa4eba7830448ad11f56905c9dc3a;hb=4496c75dec71cde8cce8381e5bb666ff06d52dbc;hp=048873ae5d9e8a1e23ae34a420a4896d53c77a45;hpb=6d7be341aa04f534b1cb0180336931aed6028cab;p=openflowplugin.git diff --git a/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ResetEventTimesComandProviderTest.java b/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ResetEventTimesCommandTest.java similarity index 82% rename from openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ResetEventTimesComandProviderTest.java rename to openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ResetEventTimesCommandTest.java index 048873ae5d..4003ad1378 100644 --- a/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ResetEventTimesComandProviderTest.java +++ b/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ResetEventTimesCommandTest.java @@ -17,13 +17,13 @@ import org.opendaylight.openflowplugin.api.openflow.statistics.ofpspecific.Event import org.opendaylight.openflowplugin.impl.statistics.ofpspecific.EventsTimeCounter; /** - * Test for {@link ResetEventTimesComandProvider}. + * Test for {@link ResetEventTimesCommand}. */ -class ResetEventTimesComandProviderTest extends AbstractKarafTest { +class ResetEventTimesCommandTest extends AbstractCommandTest { private static final Function CHECK_NO_ACTIVITY_FUNCTION = String::isEmpty; @InjectMocks - private ResetEventTimesComandProvider resetEventTimesCommand; + private ResetEventTimesCommand resetEventTimesCommand; @Override protected void doBeforeEach() { @@ -32,7 +32,7 @@ class ResetEventTimesComandProviderTest extends AbstractKarafTest { } /** - * Test for {@link ResetEventTimesComandProvider#execute()} when no stats were touched before. + * Test for {@link ResetEventTimesCommand#execute()} when no stats were touched before. */ @Test void resetNoActivity() { @@ -42,7 +42,7 @@ class ResetEventTimesComandProviderTest extends AbstractKarafTest { } /** - * Test for {@link ResetEventTimesComandProvider#execute()} when stats were touched before. + * Test for {@link ResetEventTimesCommand#execute()} when stats were touched before. */ @Test void resetHavingActivity() {