X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fapi%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Freader%2FNodeTableStatisticsTest.java;fp=opendaylight%2Fsal%2Fapi%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Freader%2FNodeTableStatisticsTest.java;h=a29d4268dab2c02f55006ff948a1735ee65125ea;hb=7b7128de3a077f6eac714f113735212eb1790023;hp=c0d6bb698a7b0cf9112bcfa51b8e95ce2e20cf5b;hpb=cb90542493a90fe6994aea40cd8a40c9caa7a265;p=controller.git diff --git a/opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/reader/NodeTableStatisticsTest.java b/opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/reader/NodeTableStatisticsTest.java index c0d6bb698a..a29d4268da 100644 --- a/opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/reader/NodeTableStatisticsTest.java +++ b/opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/reader/NodeTableStatisticsTest.java @@ -24,12 +24,14 @@ public class NodeTableStatisticsTest { ntStats.setActiveCount(100); ntStats.setLookupCount(200); ntStats.setMatchedCount(500); + ntStats.setMaximumEntries(1000); ntStats.setName("Test"); Assert.assertTrue(ntStats.getNodeTable().equals(nt)); Assert.assertTrue(ntStats.getActiveCount() == 100); Assert.assertTrue(ntStats.getLookupCount() == 200); Assert.assertTrue(ntStats.getMatchedCount() == 500); + Assert.assertTrue(ntStats.getMaximumEntries() == 1000); Assert.assertTrue(ntStats.getName().equals("Test")); } }