Public Member Functions | |
void | setUp () throws Exception |
void | tearDown () throws Exception |
void | testRepositoryControlObject () throws Exception |
void | testLocalCopyWrapper () throws Exception |
void | testLocalCopyListener () throws Exception |
void | testLocalCopyWrapperWithSaveAndLcwClose () throws Exception |
void | testLocalCopyWrapperWithSaveAndObjectClose () throws Exception |
void | testLocalCopyListnerWithSaveAndObjectClose () throws Exception |
Static Public Member Functions | |
static void | setUpBeforeClass () throws Exception |
Package Attributes | |
AssertionCCNHandle | readhandle |
AssertionCCNHandle | listenerhandle |
int | readFaceId |
int | listenerFaceId |
BasicKeyManager | km |
final HashMap< Integer, TreeSet< ContentName > > | fentries = new HashMap<Integer, TreeSet<ContentName>>() |
Static Package Attributes | |
static final Random | _rnd = new Random() |
static final String | _prefix = String.format("/test_%016X", _rnd.nextLong()) |
static final int | LONG_TIMEOUT = 1000 |
static final int | SHORT_TIMEOUT = 500 |
static final int | CHECK_TIMEOUT = 200 |
static int | _port = CCNNetworkManager.DEFAULT_AGENT_PORT |
static String | _host = CCNNetworkManager.DEFAULT_AGENT_HOST |
static String | _ccndurl |
Classes | |
class | Dest |
class | FEntry |
class | MyHandler |
Interest listener to create random objects for the repo to sync. |
In general, the tests go like this: