commit | 4f2a6add3662cdf4552a3ed3c0e2f1e031b8c59b | [log] [tgz] |
---|---|---|
author | andrewsbrown <andrew@casabrown.com> | Wed Sep 16 20:16:53 2015 +0100 |
committer | andrewsbrown <andrew@casabrown.com> | Wed Sep 16 20:16:53 2015 +0100 |
tree | d5d19fb09d116611faaa13be948a3a5d77ad12dd | |
parent | b5e97b0782e79cd5164b7e08681e99641c18d478 [diff] |
Remove doclint restrictions
This project consists of tools for testing NDN applications without network IO. It relies on the NDN Protocol and its associated client library.
With Maven, add the following to your POM:
<dependency> <groupId>com.intel.jndn.mock</groupId> <artifactId>jndn-mock</artifactId> <version>RELEASE</version> <!-- or a specific version --> </dependency>
MockFace
and MockTransport
are test tools that can be passed to applications instead of the typical Face
and Transport
. For example:
MockTransport transport = new MockTransport(); MockFace face = new MockFace(transport, null); application.doSomethingOn(face); assertEquals(0, transport.getSentDataPackets().size()); assertEquals(1, transport.getSentInterestPackets().size());
Copyright © 2015, Intel Corporation.
This program is free software; you can redistribute it and/or modify it under the terms and conditions of the GNU Lesser General Public License, version 3, as published by the Free Software Foundation.
This program is distributed in the hope it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.