summaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-06-13 10:35:50 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-06-13 10:36:59 +0200
commita5ed4b176e17675f6fd3319b33e8b6a96b2b2307 (patch)
tree2d7353e976fb9057a8975c9dcad78bee99bb7f1a /it
parent076ed09e9eaeeb751ce87bac67ae0becc7b2417b (diff)
api-coverage: include JVppGtpu and JVppPppoe
Change-Id: I44151a33aba3fb9ad877f9d4eb6c424673a4632a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'it')
-rw-r--r--it/api-coverage/pom.xml20
-rw-r--r--it/api-coverage/src/test/java/io/fd/hc2vpp/it/JVppCoverageTest.java12
2 files changed, 23 insertions, 9 deletions
diff --git a/it/api-coverage/pom.xml b/it/api-coverage/pom.xml
index b6b9a8a6f..aea00dd70 100644
--- a/it/api-coverage/pom.xml
+++ b/it/api-coverage/pom.xml
@@ -38,7 +38,7 @@
<dependencies>
<dependency>
<groupId>io.fd.vpp</groupId>
- <artifactId>jvpp-registry</artifactId>
+ <artifactId>jvpp-acl</artifactId>
<version>${jvpp.version}</version>
</dependency>
<dependency>
@@ -48,12 +48,17 @@
</dependency>
<dependency>
<groupId>io.fd.vpp</groupId>
- <artifactId>jvpp-acl</artifactId>
+ <artifactId>jvpp-gtpu</artifactId>
<version>${jvpp.version}</version>
</dependency>
<dependency>
<groupId>io.fd.vpp</groupId>
- <artifactId>jvpp-nat</artifactId>
+ <artifactId>jvpp-ioamexport</artifactId>
+ <version>${jvpp.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.fd.vpp</groupId>
+ <artifactId>jvpp-ioampot</artifactId>
<version>${jvpp.version}</version>
</dependency>
<dependency>
@@ -63,12 +68,17 @@
</dependency>
<dependency>
<groupId>io.fd.vpp</groupId>
- <artifactId>jvpp-ioamexport</artifactId>
+ <artifactId>jvpp-nat</artifactId>
<version>${jvpp.version}</version>
</dependency>
<dependency>
<groupId>io.fd.vpp</groupId>
- <artifactId>jvpp-ioampot</artifactId>
+ <artifactId>jvpp-pppoe</artifactId>
+ <version>${jvpp.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.fd.vpp</groupId>
+ <artifactId>jvpp-registry</artifactId>
<version>${jvpp.version}</version>
</dependency>
<dependency>
diff --git a/it/api-coverage/src/test/java/io/fd/hc2vpp/it/JVppCoverageTest.java b/it/api-coverage/src/test/java/io/fd/hc2vpp/it/JVppCoverageTest.java
index 41d9f8896..ebe1123a8 100644
--- a/it/api-coverage/src/test/java/io/fd/hc2vpp/it/JVppCoverageTest.java
+++ b/it/api-coverage/src/test/java/io/fd/hc2vpp/it/JVppCoverageTest.java
@@ -18,10 +18,12 @@ package io.fd.hc2vpp.it;
import io.fd.vpp.jvpp.acl.JVppAcl;
import io.fd.vpp.jvpp.core.JVppCore;
+import io.fd.vpp.jvpp.gtpu.JVppGtpu;
import io.fd.vpp.jvpp.ioamexport.JVppIoamexport;
import io.fd.vpp.jvpp.ioampot.JVppIoampot;
import io.fd.vpp.jvpp.ioamtrace.JVppIoamtrace;
import io.fd.vpp.jvpp.nat.JVppNat;
+import io.fd.vpp.jvpp.pppoe.JVppPppoe;
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.Scanner;
@@ -36,12 +38,14 @@ public class JVppCoverageTest {
@Test
public void coverageTest() throws IOException {
final Class[] apis = new Class[] {
- JVppCore.class,
JVppAcl.class,
- JVppNat.class,
- JVppIoamtrace.class,
+ JVppCore.class,
+ JVppGtpu.class,
JVppIoamexport.class,
- JVppIoampot.class
+ JVppIoampot.class,
+ JVppIoamtrace.class,
+ JVppNat.class,
+ JVppPppoe.class
};
int covered = 0;
int methods = 0;