Basic stream test. More...
Public Member Functions | |
void | getResults (ContentName baseName, int count, CCNHandle handle) throws InterruptedException, IOException, InvalidKeyException, SignatureException |
Expects this method to call checkGetResults on each set of content returned. | |
void | doPuts (ContentName baseName, int count, CCNHandle handle) throws InterruptedException, SignatureException, MalformedContentNameStringException, IOException, InvalidKeyException |
Responsible for calling checkPutResults on each put. | |
Static Public Member Functions | |
static void | setUpBeforeClass () throws Exception |
static void | tearDownAfterClass () throws Exception |
Static Package Attributes | |
static int | longSegments = (TEST_LONG_CONTENT.length()/SegmentationProfile.DEFAULT_BLOCKSIZE) |
static int | minSegments = 128 |
static int | numIterations = ((int)(minSegments/longSegments) + 1) |
Basic stream test.
Relies on old test infrastructure,
void org.ccnx.ccn.test.io.StreamTest.doPuts | ( | ContentName | baseName, | |
int | count, | |||
CCNHandle | handle | |||
) | throws InterruptedException, SignatureException, MalformedContentNameStringException, IOException, InvalidKeyException |
Responsible for calling checkPutResults on each put.
(Could return them all in a batch then check...)
InterruptedException | ||
IOException | ||
MalformedContentNameStringException | ||
SignatureException | ||
InvalidKeyException |
Reimplemented from org.ccnx.ccn.test.BlockReadWriteTest.
void org.ccnx.ccn.test.io.StreamTest.getResults | ( | ContentName | baseName, | |
int | count, | |||
CCNHandle | handle | |||
) | throws InterruptedException, IOException, InvalidKeyException, SignatureException |
Expects this method to call checkGetResults on each set of content returned.
..
baseName | ||
count | ||
handle |
InterruptedException | ||
IOException | ||
SignatureException | ||
InvalidKeyException | ||
InterruptedException |
Reimplemented from org.ccnx.ccn.test.BlockReadWriteTest.