Improve coverage for some classes
- DefaultPatchDescription
- BridgeName
- DefaultQosDescription
- AbstractPathService
Change-Id: Ic2fad1d94578555701c1c1d1fc2e9a8cb167de84
diff --git a/lib/BUCK b/lib/BUCK
index b4eed7b..8b6dc1d 100644
--- a/lib/BUCK
+++ b/lib/BUCK
@@ -1,4 +1,4 @@
-# ***** This file was auto-generated at Wed, 13 Sep 2017 22:16:27 GMT. Do not edit this file manually. *****
+# ***** This file was auto-generated at Fri, 22 Sep 2017 06:46:04 GMT. Do not edit this file manually. *****
# ***** Use onos-lib-gen *****
pass_thru_pom(
@@ -50,6 +50,7 @@
':junit',
':easymock',
':hamcrest-all',
+ ':hamcrest-optional',
':guava-testlib',
'//utils/junit:onlab-junit',
],
@@ -1509,3 +1510,12 @@
visibility = [ 'PUBLIC' ],
)
+remote_jar (
+ name = 'hamcrest-optional',
+ out = 'hamcrest-optional-1.1.0.jar',
+ url = 'mvn:com.spotify:hamcrest-optional:jar:1.1.0',
+ sha1 = 'c2dfe3a43794b15fb4c28de0027fe6e249855b3b',
+ maven_coords = 'com.spotify:hamcrest-optional:jar:NON-OSGI:1.1.0',
+ visibility = [ 'PUBLIC' ],
+)
+
diff --git a/lib/deps.json b/lib/deps.json
index 5a9124c..071d95f 100644
--- a/lib/deps.json
+++ b/lib/deps.json
@@ -29,6 +29,7 @@
"junit",
"easymock",
"hamcrest-all",
+ "hamcrest-optional",
"guava-testlib",
"//utils/junit:onlab-junit"
],
@@ -268,6 +269,7 @@
"google-errorprone-2.0.19": "mvn:com.google.errorprone:error_prone_annotations:2.0.19",
"google-instrumentation-0.3.0": "mvn:com.google.instrumentation:instrumentation-api:0.3.0",
"bcpkix-jdk15on": "mvn:org.bouncycastle:bcpkix-jdk15on:1.58",
- "bcprov-jdk15on": "mvn:org.bouncycastle:bcprov-jdk15on:1.58"
+ "bcprov-jdk15on": "mvn:org.bouncycastle:bcprov-jdk15on:1.58",
+ "hamcrest-optional": "mvn:com.spotify:hamcrest-optional:1.1.0"
}
}
diff --git a/lib/pom.xml b/lib/pom.xml
index 07ef09b..bae6e67 100644
--- a/lib/pom.xml
+++ b/lib/pom.xml
@@ -77,6 +77,12 @@
<version>1.3</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>com.spotify</groupId>
+ <artifactId>hamcrest-optional</artifactId>
+ <version>1.1.0</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.slf4j</groupId>
@@ -650,6 +656,12 @@
</dependency>
<dependency>
+ <groupId>com.spotify</groupId>
+ <artifactId>hamcrest-optional</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava-testlib</artifactId>
<scope>test</scope>