summaryrefslogtreecommitdiffstats
path: root/lisp/lisp2vpp/src/test
AgeCommit message (Collapse)AuthorFilesLines
2016-09-23HONEYCOMB-145 - Utility Class RefactoringJan Srnicek6-65/+64
problematic mockito-all changed to mockito-core( https://github.com/mockito/mockito/issues/324) Translate Utils Splitted to multiple Trait Interfaces Ipv4Translator - Logic for translation of ipv4-based data Ipv6Translator - Logic for translation of ipv6-based data MacTranslator - Logic for translation of mac-based data AddressTranslator - Aggregation trait for Ipv4/Ipv6/Mac JvppReplyConsumer - Logic for extracting replies from jvpp calls ByteDataTranslator - any byte-based conversions Plus some existing utility classes changed to traits Change-Id: I342b625954223966802e65dca0fabf8456c89345 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-23HONEYCOMB-116: utility for stubbing jvpp methodsMarek Gradzki7-173/+100
- introduces FutureProducer (inspired by https://gerrit.fd.io/r/#/c/2650/) - updates unit tests for v3po and lisp Change-Id: I56488bb1dcd6fcaf6821a58f99b528677e095662 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-22HONEYCOMB-116: base classes for testing customizersMarek Gradzki4-117/+46
- adds base class for testing writers - moves base classes to vpp-translate-test, subproject of vpp-common Change-Id: Ia42e2be3a95a33866d1996dd42a9bd1773b970a7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-21Fixed reading of operational state of lisp Jan Srnicek1-1/+13
Rejecting of empty locator-sets Added revert of searched key to match vpp address order Ignoring helper data returned by dumps Change-Id: I5ec74f48dc373099b5fe516553d769c20e4a98f8 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-19HONEYCOMB-196: unit test for LispModuleMarek Gradzki1-0/+96
Increases test coverage of lisp plugin to approximately 43%. Change-Id: I2d60eae05dab9c4277f1b601616b9be4262de7eb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-13HONEYCOMB-211: workaround for issues introduced by VPP-376Marek Gradzki1-1/+1
Fix HC build issues introduced by https://gerrit.fd.io/r/#/c/2623/ Change-Id: I2e55b4c25c2f9ec505282addd4137b2dccf56f93 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-07Cleanup TODOs and FIXMEsMaros Marsalek1-2/+0
- Fix minor ones - Report bigger and include issue number in comment - Pull common dependencies into dependency management of common/parents Change-Id: I06a6ac37c52b603fd73ed42023d6b2e7fa18010f Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-31HONEYCOMB-75 - Lisp implemetationJan Srnicek9-0/+1224
Rebased on final minimal distro Change-Id: Ib71fc59e62dda4633f4f79c5c7417a4aaf02a177 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Florin Coras <fcoras@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>