org.ccnx.ccn.test.io.StreamTest Class Reference

Basic stream test. More...

List of all members.

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)

Detailed Description

Basic stream test.

Relies on old test infrastructure,


Member Function Documentation

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...)

Exceptions:
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.

..

Parameters:
baseName 
count 
handle 
Returns:
Exceptions:
InterruptedException 
IOException 
SignatureException 
InvalidKeyException 
InterruptedException 

Reimplemented from org.ccnx.ccn.test.BlockReadWriteTest.


The documentation for this class was generated from the following file:
Generated on Fri May 13 16:27:52 2011 for Content-Centric Networking in Java by  doxygen 1.6.3