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

This set of tests checks the implementation of getLastSegment with ccnd involved. More...

List of all members.

Public Member Functions

void setUp () throws Exception
void tearDown ()
void lastSegmentTestCheckTimeout ()
 Creates an interest for the last segment of content that does not exist so we can test the timeout.
void testIsLastSegment ()
 Test to verify the segment is the last one.
void testIsNotLastSegment ()
 Test to verify the segment is not the last one.
void testGetLastSegmentWithMultipleSegmentsUnversioned ()
 Test to verify that if we put something that is two segments long, we get the second, and last segment back - unversioned.
void testGetLastSegmentWithMultipleSegmentsVersioned ()
 Test to verify that if we put something that is two segments long, we get the second, and last segment back - versioned.
void testGetLastSegmentWithSingleSegmentVersioned ()
 Test to verify that if we put something that is one segment long, we get it back - versioned.

Package Attributes

CCNHandle handle
ContentName baseName
CCNHandle putHandle


Detailed Description

This set of tests checks the implementation of getLastSegment with ccnd involved.

Member Function Documentation

void org.ccnx.ccn.test.protocol.LastSegmentTest.setUp (  )  throws Exception

Exceptions:
java.lang.Exception 


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

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