Public Member Functions | |
void | setUp () throws Exception |
void | tearDown () |
void | getLatestVersion () throws InterruptedException, Error |
Test to check if the getLatestVersion method in VersioningProfile gets the latest version with a ccnd involved. | |
Static Public Attributes | |
static ContentObject | lastVersionPublished = null |
static ContentName | pingResponder = null |
static ArrayList< ContentObject > | responseObjects = null |
static ContentObject | failVerify = null |
static ContentObject | failVerify1 = null |
static ContentObject | failVerify2 = null |
static ContentObject | failVerify4 = null |
Package Attributes | |
ContentName | baseName |
Responder | responder |
Static Package Attributes | |
static final long | WAIT_TIME = 500 |
static CCNHandle | getHandle |
static CCNHandle | responderHandle |
Classes | |
class | Responder |
Runnable class for the single ContentObject responder. More... | |
class | TestVerifier |
The current implementation of getLatestVersion does not loop to try and find the latest version. It reports the latest available with a single interest. The second part of this test is commented out due to this limitation. This will be activated when an alternate to getLatestVersion is supplied in the implementation or getLatestVersion is modified. getLatestVersion currently does not loop looking for newer version to avoid suffering timeouts when there is not an newer version available.
void org.ccnx.ccn.test.protocol.LatestVersionTest.setUp | ( | ) | throws Exception |
java.lang.Exception |
void org.ccnx.ccn.test.protocol.LatestVersionTest.getLatestVersion | ( | ) | throws InterruptedException, Error |
Test to check if the getLatestVersion method in VersioningProfile gets the latest version with a ccnd involved.
Error | ||
InterruptedException |