Test CCN-specific Merkle tree functionality. More...
Public Member Functions | |
void | testMerkleTree () throws Exception |
void | testMerkleTreeBuf () |
Static Public Member Functions | |
static void | setUpBeforeClass () throws Exception |
static void | testTreeWrapper (int testNodeCount, int blockWidth, boolean randomWidths) |
static ContentObject[] | makeContent (ContentName rootName, int numNodes, int maxLength, boolean randLengths) |
static void | testTree (int nodeCount, int blockWidth, boolean randomWidths) throws Exception |
Static Protected Attributes | |
static Random | _rand = new Random() |
static KeyPair | _pair = null |
Static Package Attributes | |
static ContentName | keyname = ContentName.fromNative(new String[]{"test","keys","treeKey"}) |
static ContentName | baseName = ContentName.fromNative(new String[]{"test","data","treeTest"}) |
static KeyPair | pair = null |
static PublisherPublicKeyDigest | publisher = null |
static KeyLocator | keyLoc = null |
Test CCN-specific Merkle tree functionality.