org.ccnx.ccn.test.impl.NetworkTest Class Reference

Test CCNNetworkManager. More...

Inheritance diagram for org.ccnx.ccn.test.impl.NetworkTest:

org.ccnx.ccn.test.CCNTestBase

List of all members.

Public Member Functions

void setUp () throws Exception
void testRegisteredPrefix () throws Exception
 Partially test prefix registration/deregistration.
void testNetworkManager () throws Exception
void testNetworkManagerFixedPrefix () throws Exception
void testNetworkManagerBackwards () throws Exception
void testFreshnessSeconds () throws Exception
void testInterestReexpression () throws Exception
void testFlood () throws Exception
 Test flooding the system with a bunch of content.
void testCancelAtomicity () throws Exception
 Test that when we cancel an interest and the interest is satisfied during the cancel, side affects from handling the interest are not allowed to keep the interest alive.

Static Public Member Functions

static void setUpBeforeClass () throws Exception
static void tearDownAfterClass () throws Exception

Static Protected Attributes

static final int WAIT_MILLIS = 8000
static final int FLOOD_ITERATIONS = 1000
static final int TEST_TIMEOUT = SystemConfiguration.MEDIUM_TIMEOUT
static final int CANCEL_TEST_TIMEOUT = 100

Package Attributes

Interest testInterest = null

Static Package Attributes

static CCNTestHelper testHelper = new CCNTestHelper(NetworkTest.class)
static ContentName testPrefix = testHelper.getClassChildName("networkTest")

Classes

class  CancelTestContentHandler
class  CancelTestInterestHandler
class  TestContentHandler
class  TestInterestHandler


Detailed Description

Test CCNNetworkManager.

Note - this test requires ccnd to be running


Member Function Documentation

void org.ccnx.ccn.test.impl.NetworkTest.testRegisteredPrefix (  )  throws Exception

Partially test prefix registration/deregistration.

Exceptions:
Exception 

void org.ccnx.ccn.test.impl.NetworkTest.testFlood (  )  throws Exception

Test flooding the system with a bunch of content.

Only works for TCP

Exceptions:
Exception 

void org.ccnx.ccn.test.impl.NetworkTest.testCancelAtomicity (  )  throws Exception

Test that when we cancel an interest and the interest is satisfied during the cancel, side affects from handling the interest are not allowed to keep the interest alive.

Exceptions:
Exception 


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

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