Clean up command naming
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / karaf / ShowEventTimesCommandTest.java
similarity index 82%
rename from openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ShowEventTimesComandProviderTest.java
rename to openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ShowEventTimesCommandTest.java
index 2cd8b0f7e3fe8f252a5b1429f8fc9308532de7e6..38a38c9c2a5bd78e3effb8b1e6154a7dd557c280 100644 (file)
@@ -19,13 +19,13 @@ import org.opendaylight.openflowplugin.api.openflow.statistics.ofpspecific.Event
 import org.opendaylight.openflowplugin.impl.statistics.ofpspecific.EventsTimeCounter;
 
 /**
- * Test for {@link ShowEventTimesComandProvider}.
+ * Test for {@link ShowEventTimesCommand}.
  */
-class ShowEventTimesComandProviderTest extends AbstractKarafTest {
+class ShowEventTimesCommandTest extends AbstractCommandTest {
     private static final Function<String, Boolean> CHECK_NO_ACTIVITY_FUNCTION = String::isEmpty;
 
     @InjectMocks
-    private ShowEventTimesComandProvider showEventTimesCommand;
+    private ShowEventTimesCommand showEventTimesCommand;
 
     @Override
     protected void doBeforeEach() {
@@ -34,7 +34,7 @@ class ShowEventTimesComandProviderTest extends AbstractKarafTest {
     }
 
     /**
-     * Test for {@link ShowEventTimesComandProvider#execute()} when no stats were touched before.
+     * Test for {@link ShowEventTimesCommand#execute()} when no stats were touched before.
      */
     @Test
     void showNoActivity() {
@@ -44,7 +44,7 @@ class ShowEventTimesComandProviderTest extends AbstractKarafTest {
     }
 
     /**
-     * Test for {@link ShowEventTimesComandProvider#execute()} when stats were touched before.
+     * Test for {@link ShowEventTimesCommand#execute()} when stats were touched before.
      */
     @Test
     void showHavingActivity() {