Tests InterestTable, the core implementation of interest matching and dispatching. More...
Public Member Functions | |
void | setUp () throws Exception |
void | testAdd () throws MalformedContentNameStringException |
void | testMatchName () throws InvalidKeyException, MalformedContentNameStringException, SignatureException, ConfigurationException |
InterestTable< Integer > | initPub () throws MalformedContentNameStringException |
void | testMatchPub () throws MalformedContentNameStringException, InvalidKeyException, SignatureException, ConfigurationException |
void | testSimpleRemoves () throws InvalidKeyException, MalformedContentNameStringException, SignatureException, ConfigurationException |
void | testRemovesPub () throws InvalidKeyException, MalformedContentNameStringException, SignatureException, ConfigurationException |
void | testMatchNext () throws MalformedContentNameStringException, InvalidKeyException, SignatureException, ConfigurationException |
void | testMatchLast () throws MalformedContentNameStringException, InvalidKeyException, SignatureException, ConfigurationException |
void | matchNextOrLast (InterestType type) throws MalformedContentNameStringException, InvalidKeyException, SignatureException, ConfigurationException |
void | testRemovesNext () throws InvalidKeyException, MalformedContentNameStringException, SignatureException, ConfigurationException |
void | testRemovesLast () throws InvalidKeyException, MalformedContentNameStringException, SignatureException, ConfigurationException |
void | testLRU () throws MalformedContentNameStringException, InvalidKeyException, SignatureException, ConfigurationException |
Static Public Member Functions | |
static void | setUpBeforeClass () throws Exception |
static void | setID (int i) |
Static Public Attributes | |
static PublisherID | ids [] = new PublisherID[3] |
static PublisherPublicKeyDigest | keyids [] = new PublisherPublicKeyDigest[3] |
static PublisherPublicKeyDigest | activeKeyID = null |
static PublisherID | activeID = null |
static boolean | removeByMatch = true |
static Integer | additionalComponents = 1 |
static Integer | prefixCount = 1 |
Package Attributes | |
final String | a = "/a" |
final String | ab = "/a/b" |
final String | a_bb = "/a/bb" |
final String | abc = "/a/b/c" |
final String | abb = "/a/b/b" |
final String | b = "/b" |
final String | c = "/c" |
final String | _aa = "/aa" |
final ContentName | zero = new ContentName(new byte[][]{{0x00, 0x02, 0x03, 0x04}}) |
final ContentName | one = new ContentName(new byte[][]{{0x01, 0x02, 0x03, 0x04}}) |
final ContentName | onethree = new ContentName(new byte[][]{{0x01, 0x02, 0x03, 0x04}, {0x03}}) |
Tests InterestTable, the core implementation of interest matching and dispatching.