org.ccnx.ccn.test.protocol.LatestVersionTest Class Reference

This test checks if we can actually get the latest version using the getLatestVersion method in VersioningProfile. More...

List of all members.

Classes

class  Responder
 Runnable class for the single ContentObject responder. More...
class  TestVerifier

Public Member Functions

void setUp () throws Exception
void tearDown ()
void getLatestVersion ()
 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< ContentObjectresponseObjects = null
static ContentObject failVerify = null
static ContentObject failVerify1 = null
static ContentObject failVerify2 = null
static ContentObject failVerify4 = null

Package Attributes

ContentName baseName

Static Package Attributes

static CCNHandle getHandle
static CCNHandle responderHandle

Detailed Description

This test checks if we can actually get the latest version using the getLatestVersion method in VersioningProfile.

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.


Member Function Documentation

void org.ccnx.ccn.test.protocol.LatestVersionTest.setUp (  )  throws Exception
Exceptions:
java.lang.Exception 

The documentation for this class was generated from the following file:
Generated on Fri May 13 16:27:55 2011 for Content-Centric Networking in Java by  doxygen 1.6.3