Clean up command naming
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / karaf / ShowStatsCommandrTest.java
similarity index 86%
rename from openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ShowStatsCommandProviderTest.java
rename to openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ShowStatsCommandrTest.java
index 69a07f9eda44e41ebd9507cba76157845161f901..bc1a3fbf0b5e83c8dbcb47a2621abf8314c28f63 100644 (file)
@@ -21,13 +21,13 @@ import org.opendaylight.openflowplugin.impl.statistics.ofpspecific.MessageIntell
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader;
 
 /**
- * Test for {@link ShowStatsCommandProvider}.
+ * Test for {@link ShowStatsCommand}.
  */
-class ShowStatsCommandProviderTest extends AbstractKarafTest {
+class ShowStatsCommandrTest extends AbstractCommandTest {
     private final MessageIntelligenceAgency messageIntelligenceAgency = new MessageIntelligenceAgencyImpl();
 
     @InjectMocks
-    private ShowStatsCommandProvider showStatsCommand;
+    private ShowStatsCommand showStatsCommand;
 
     private static final Function<String, Boolean> CHECK_NO_ACTIVITY_FUNCTION =
         input -> input.endsWith(": no activity detected");
@@ -40,7 +40,7 @@ class ShowStatsCommandProviderTest 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() {
@@ -50,7 +50,7 @@ class ShowStatsCommandProviderTest 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() {