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.
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.getLatestVersion |
( |
|
) |
throws InterruptedException, Error |
Test to check if the getLatestVersion method in VersioningProfile gets the latest version with a ccnd involved.
- Exceptions:
-
| Error | |
| InterruptedException | |
void org.ccnx.ccn.test.protocol.LatestVersionTest.setUp |
( |
|
) |
throws Exception |
The documentation for this class was generated from the following file:
- src/org/ccnx/ccn/test/protocol/LatestVersionTest.java