intel / jndn-mock

Tools for testing NDN applications without network IO
GNU Lesser General Public License v3.0
0 stars 6 forks source link

Add failing test to check long interests match short prefixes #3

Open abrown opened 8 years ago

abrown commented 8 years ago

MockFace no longer works for Interests longer than the registered prefix (e.g. /a/b/c won't be forwarded to /a). This behavior was intentionally added some time ago (https://github.com/01org/jndn-mock/blob/0d92a7f667f75c3688ca74308d84530ded08bd90/src/main/java/com/intel/jndn/mock/MockFace.java#L116) so we could simulate NDN operations as they would occur in a properly configured network.