summaryrefslogtreecommitdiffstats
path: root/vpp-classifier/impl/src/test/java/io/fd
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-03-10 12:50:53 +0100
committerMarek Gradzki <mgradzki@cisco.com>2017-03-14 14:31:10 +0100
commit4616f0300655582153362a21910bd1f0b14937ae (patch)
tree651b317343fe2df592421cf7319ed3828c79990d /vpp-classifier/impl/src/test/java/io/fd
parente7903be79d4451f5b6e6f633b7ea20f8330ac0c1 (diff)
HC2VPP-55: policer&policer assignment CRUD support
Change-Id: I627d2a56ab2a282744ea0172b4a0c72240b0032f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vpp-classifier/impl/src/test/java/io/fd')
-rw-r--r--vpp-classifier/impl/src/test/java/io/fd/hc2vpp/vpp/classifier/write/ClassifySessionWriterTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/vpp-classifier/impl/src/test/java/io/fd/hc2vpp/vpp/classifier/write/ClassifySessionWriterTest.java b/vpp-classifier/impl/src/test/java/io/fd/hc2vpp/vpp/classifier/write/ClassifySessionWriterTest.java
index abc3901b6..31d7ad7f7 100644
--- a/vpp-classifier/impl/src/test/java/io/fd/hc2vpp/vpp/classifier/write/ClassifySessionWriterTest.java
+++ b/vpp-classifier/impl/src/test/java/io/fd/hc2vpp/vpp/classifier/write/ClassifySessionWriterTest.java
@@ -25,6 +25,7 @@ import static org.mockito.Mockito.when;
import com.google.common.base.Optional;
import io.fd.hc2vpp.common.test.write.WriterCustomizerTest;
+import io.fd.hc2vpp.common.translate.util.NamingContext;
import io.fd.hc2vpp.vpp.classifier.context.VppClassifierContextManager;
import io.fd.honeycomb.translate.write.WriteFailedException;
import io.fd.vpp.jvpp.VppBaseCallException;
@@ -91,7 +92,7 @@ public class ClassifySessionWriterTest extends WriterCustomizerTest {
@Override
public void setUpTest() throws Exception {
- customizer = new ClassifySessionWriter(api, classfierContext);
+ customizer = new ClassifySessionWriter(api, classfierContext, new NamingContext("policer-", "policer-context-"));
when(classfierContext.containsTable(TABLE_NAME, mappingContext)).thenReturn(true);
when(classfierContext.getTableIndex(TABLE_NAME, mappingContext)).thenReturn(TABLE_INDEX);