Code Review
/
openflowplugin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Clean up command naming
[openflowplugin.git]
/
openflowplugin-impl
/
src
/
test
/
java
/
org
/
opendaylight
/
openflowplugin
/
impl
/
karaf
/
ShowSessionStatsCommandTest.java
diff --git
a/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ShowSessionStatsCommandProviderTest.java
b/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ShowSessionStatsCommandTest.java
similarity index 83%
rename from
openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ShowSessionStatsCommandProviderTest.java
rename to
openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ShowSessionStatsCommandTest.java
index 72df5c1e50ea2d20ae1afa7cd841c8faa7bbdf28..1e24c00335f49d1299376902c5e0ba69e9e62843 100644
(file)
--- a/
openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ShowSessionStatsCommandProviderTest.java
+++ b/
openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ShowSessionStatsCommandTest.java
@@
-19,13
+19,13
@@
import org.mockito.InjectMocks;
import org.opendaylight.openflowplugin.impl.statistics.ofpspecific.SessionStatistics;
/**
import org.opendaylight.openflowplugin.impl.statistics.ofpspecific.SessionStatistics;
/**
- * Test for {@link ShowSessionStatsCommand
Provider
}.
+ * Test for {@link ShowSessionStatsCommand}.
*/
*/
-class ShowSessionStatsCommand
ProviderTest extends AbstractKaraf
Test {
+class ShowSessionStatsCommand
Test extends AbstractCommand
Test {
private static final Function<String, Boolean> CHECK_NO_ACTIVITY_FUNCTION = String::isEmpty;
@InjectMocks
private static final Function<String, Boolean> CHECK_NO_ACTIVITY_FUNCTION = String::isEmpty;
@InjectMocks
- private ShowSessionStatsCommand
Provider
showSessionStatsCommand;
+ private ShowSessionStatsCommand showSessionStatsCommand;
@Override
protected void doBeforeEach() {
@Override
protected void doBeforeEach() {
@@
-34,7
+34,7
@@
class ShowSessionStatsCommandProviderTest extends AbstractKarafTest {
}
/**
}
/**
- * Test for {@link ShowEventTimesCom
andProvider
#execute()} when no stats were touched before.
+ * Test for {@link ShowEventTimesCom
mand
#execute()} when no stats were touched before.
*/
@Test
void showNoActivity() {
*/
@Test
void showNoActivity() {
@@
-44,7
+44,7
@@
class ShowSessionStatsCommandProviderTest extends AbstractKarafTest {
}
/**
}
/**
- * Test for {@link ShowEventTimesCom
andProvider
#execute()} when stats were touched before.
+ * Test for {@link ShowEventTimesCom
mand
#execute()} when stats were touched before.
*/
@Test
void showHavingActivity() {
*/
@Test
void showHavingActivity() {