org.ccnx.ccn.test.profiles.versioning.VersioningInterestManagerTestRepo Class Reference

Test the receive method, and check how interests are rebuilt. More...

List of all members.

Public Member Functions

void setUp () throws Exception
void tearDown () throws Exception
void testStreamFromRight () throws Exception
 Send a stream of versions from the right to the left in order.
void testLongStreamFromRight () throws Exception
 Send a very long stream from the right.
void testLongStreamFromLeft () throws Exception
 Send a very long stream from the right.
void testLongStreamUniform () throws Exception
 Send a very long stream with arrivals uniformly over some interval.
void testLongStreamGaussian () throws Exception
 Send a very long stream with arrivals normally distributed around a spot.

Static Public Member Functions

static void setUpBeforeClass () throws Exception

Protected Attributes

final Random _rnd = new Random()
final ContentName prefix
CCNHandle realhandle = null
SinkHandle sinkhandle = null

Static Protected Attributes

static final long TIMEOUT = 30000
static final long SEND_PAUSE = 100
static final int LONG_SEND_MULTIPLE = 30


Detailed Description

Test the receive method, and check how interests are rebuilt.

Member Function Documentation

void org.ccnx.ccn.test.profiles.versioning.VersioningInterestManagerTestRepo.testStreamFromRight (  )  throws Exception

Send a stream of versions from the right to the left in order.

Sends just enough to fill to FIL_MAX and verify we have exactly 1 interest. Then sends 1 more exclusion and verifies that the interest was split the right way.

Exceptions:
Exception 

void org.ccnx.ccn.test.profiles.versioning.VersioningInterestManagerTestRepo.testLongStreamFromRight (  )  throws Exception

Send a very long stream from the right.

Exceptions:
Exception 

void org.ccnx.ccn.test.profiles.versioning.VersioningInterestManagerTestRepo.testLongStreamFromLeft (  )  throws Exception

Send a very long stream from the right.

Exceptions:
Exception 

void org.ccnx.ccn.test.profiles.versioning.VersioningInterestManagerTestRepo.testLongStreamUniform (  )  throws Exception

Send a very long stream with arrivals uniformly over some interval.

Exceptions:
Exception 

void org.ccnx.ccn.test.profiles.versioning.VersioningInterestManagerTestRepo.testLongStreamGaussian (  )  throws Exception

Send a very long stream with arrivals normally distributed around a spot.

Exceptions:
Exception 


The documentation for this class was generated from the following file:

Generated on Thu Feb 16 00:45:09 2012 for Content-Centric Networking in Java by  doxygen 1.5.6