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

Test CCNNetworkManager. More...

List of all members.

Classes

class  TestFilterListener
class  TestListener

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.

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

Package Attributes

Interest testInterest = null

Static Package Attributes

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

Detailed Description

Test CCNNetworkManager.

This should eventually have more tests

Note - this test requires ccnd to be running


Member Function Documentation

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.testRegisteredPrefix (  )  throws Exception

Partially test prefix registration/deregistration.

Exceptions:
Exception 

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