docs: change code blocks from "shell" to "console"
[vpp.git] / extras / japi / java / jvpp-core / io / fd / vpp / jvpp / core / test / Readme.txt
1 This package contains basic tests for jvpp. To run the tests:
2
3 - Make sure VPP is running
4 - From VPP's build-root/ folder execute:
5   - release version: sudo java -cp build-vpp-native/vpp/vpp-api/java/jvpp-registry-17.10.jar:build-vpp-native/vpp/vpp-api/java/jvpp-core-17.10.jar io.fd.vpp.jvpp.core.test.[test name]
6   - debug version: sudo java -cp build-vpp_debug-native/vpp/vpp-api/java/jvpp-registry-17.10.jar:build-vpp_debug-native/vpp/vpp-api/java/jvpp-core-17.10.jar io.fd.vpp.jvpp.core.test.[test name]
7
8 Available tests:
9 CallbackApiTest - Similar to ControlPingTest, invokes more complex calls (e.g. interface dump) using low level JVpp APIs
10 CallbackJVppFacadeNotificationTest - Tests interface notifications using Callback based JVpp facade
11 CallbackJVppFacadeTest - Execution of more complex calls using Callback based JVpp facade
12 CallbackNotificationApiTest - Tests interface notifications using low level JVpp APIs
13 ControlPingTest - Simple test executing a single control ping using low level JVpp APIs
14 CreateSubInterfaceTest - Tests sub-interface creation
15 FutureApiNotificationTest - Tests interface notifications using Future based JVpp facade
16 FutureApiTest - Execution of more complex calls using Future based JVpp facade
17 L2AclTest - Tests L2 ACL creation
18 LispAdjacencyTest - Tests lisp adjacency creation and read (custom vpe.api type support showcase)