Clean up command naming
[openflowplugin.git] / 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 048873ae5d9e8a1e23ae34a420a4896d53c77a45..4003ad13782aa4eba7830448ad11f56905c9dc3a 100644 (file)
@@ -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<String, Boolean> 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() {