Add unit test for LispDriversLoader with package name correction
Change-Id: I8c923f3b84e9e7ebd4ca4eb07af92d801f8e81d3
diff --git a/drivers/lisp/src/main/resources/lisp-drivers.xml b/drivers/lisp/src/main/resources/lisp-drivers.xml
index 0e66038..f2e7869 100644
--- a/drivers/lisp/src/main/resources/lisp-drivers.xml
+++ b/drivers/lisp/src/main/resources/lisp-drivers.xml
@@ -19,7 +19,7 @@
manufacturer="IETF" hwVersion="LISP Reference Router" swVersion=".*">
<behaviour api="org.onosproject.lisp.ctl.ExtensionMappingAddressInterpreter"
impl="org.onosproject.drivers.lisp.extensions.LispExtensionMappingAddressInterpreter"/>
- <behaviour api="org.onosproject.lisp.ctl.ExtensionMappingAddressResolver"
+ <behaviour api="org.onosproject.mapping.addresses.ExtensionMappingAddressResolver"
impl="org.onosproject.drivers.lisp.extensions.LispExtensionMappingAddressInterpreter"/>
</driver>
diff --git a/drivers/lisp/src/test/java/org/onosproject/drivers/lisp/LispDriversLoaderTest.java b/drivers/lisp/src/test/java/org/onosproject/drivers/lisp/LispDriversLoaderTest.java
new file mode 100644
index 0000000..91f0c09
--- /dev/null
+++ b/drivers/lisp/src/test/java/org/onosproject/drivers/lisp/LispDriversLoaderTest.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2017-present Open Networking Laboratory
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.onosproject.drivers.lisp;
+
+import org.junit.Before;
+import org.onosproject.net.driver.AbstractDriverLoaderTest;
+
+/**
+ * LISP drivers loader test.
+ */
+public class LispDriversLoaderTest extends AbstractDriverLoaderTest {
+
+ @Before
+ public void setUp() {
+ loader = new LispDriversLoader();
+ }
+}