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 |
Note - this test requires ccnd to be running
void org.ccnx.ccn.test.impl.NetworkTest.testRegisteredPrefix | ( | ) | throws Exception |
void org.ccnx.ccn.test.impl.NetworkTest.testFlood | ( | ) | throws Exception |
Test flooding the system with a bunch of content.
Only works for TCP
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.
Exception |