Fixed pom.xml issues and build issues. Corrected checkstyle issues
Change-Id: I90744f53e40f417ffe7ae62ffe138eea7a489bc0
diff --git a/protocols/ospf/ctl/src/test/java/org/onosproject/ospf/controller/lsdb/LsaWrapperImplTest.java b/protocols/ospf/ctl/src/test/java/org/onosproject/ospf/controller/lsdb/LsaWrapperImplTest.java
index b8d95c7..29bc6b3 100755
--- a/protocols/ospf/ctl/src/test/java/org/onosproject/ospf/controller/lsdb/LsaWrapperImplTest.java
+++ b/protocols/ospf/ctl/src/test/java/org/onosproject/ospf/controller/lsdb/LsaWrapperImplTest.java
@@ -91,7 +91,7 @@
* Tests addLsa() method.
*/
@Test
- public void testAddLSA() throws Exception {
+ public void testAddLsa() throws Exception {
lsaWrapper.addLsa(OspfLsaType.ROUTER, new RouterLsa());
assertThat(lsaWrapper, is(notNullValue()));
}
@@ -216,7 +216,7 @@
* Tests isSentReplyForOlderLsa() method.
*/
@Test
- public void testIsSentReplyForOlderLSA() throws Exception {
+ public void testIsSentReplyForOlderLsa() throws Exception {
lsaWrapper.setSentReplyForOlderLsa(true);
assertThat(lsaWrapper.isSentReplyForOlderLsa(), is(true));
}
@@ -231,15 +231,6 @@
}
/**
- * Tests isCheckAge() setter method.
- */
- @Test
- public void testIsSentReplyForOlderLsa() throws Exception {
- lsaWrapper.setIsSequenceRollOver(true);
- assertThat(lsaWrapper.isSequenceRollOver(), is(true));
- }
-
- /**
* Tests isSentReplyForOlderLsa() getter method.
*/
@Test
diff --git a/protocols/ospf/ctl/src/test/java/org/onosproject/ospf/controller/lsdb/OspfLsdbImplTest.java b/protocols/ospf/ctl/src/test/java/org/onosproject/ospf/controller/lsdb/OspfLsdbImplTest.java
index 272344d..6ecfb00 100755
--- a/protocols/ospf/ctl/src/test/java/org/onosproject/ospf/controller/lsdb/OspfLsdbImplTest.java
+++ b/protocols/ospf/ctl/src/test/java/org/onosproject/ospf/controller/lsdb/OspfLsdbImplTest.java
@@ -65,8 +65,6 @@
opaqueLsa10 = new OpaqueLsa10(new OpaqueLsaHeader());
opaqueLsa11 = new OpaqueLsa11(new OpaqueLsaHeader());
externalLsa = new ExternalLsa(new LsaHeader());
-
-
}
@After
@@ -130,7 +128,6 @@
assertThat(ospfLsdb.addLsa(externalLsa, false, new OspfInterfaceImpl()), is(true));
ospfLsdb.initializeDb();
assertThat(ospfLsdb.getAllLsaHeaders(true, true).size(), is(5));
-
}
/**
@@ -236,7 +233,7 @@
* Tests addLSA() method.
*/
@Test
- public void testAddLSA() throws Exception {
+ public void testAddLsa() throws Exception {
routerLsa.setLsType(1);
assertThat(ospfLsdb.addLsa(routerLsa, false, new OspfInterfaceImpl()), is(true));
networkLsa.setLsType(2);
@@ -380,7 +377,7 @@
* Tests isNewerOrSameLsa() method.
*/
@Test
- public void testIsNewerorSameLSA() throws Exception {
+ public void testIsNewerorSameLsa() throws Exception {
lsaWrapper = new LsaWrapperImpl();
opaqueLsaHeader1 = new OpaqueLsaHeader();
opaqueLsaHeader1.setLsType(1);