This set of tests checks the implementation of getLastSegment with ccnd involved. More...
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 |
This set of tests checks the implementation of getLastSegment with ccnd involved.
void org.ccnx.ccn.test.protocol.LastSegmentTest.setUp | ( | ) | throws Exception |
java.lang.Exception |