org.ccnx.ccn.test.io.content.LocalCopyTestRepo Class Reference

Test RepositoryControl, LocalCopyListener, and LocalCopyWrapper to make sure there are no dangling faces in ccnd when they stop. More...

List of all members.

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.


Detailed Description

Test RepositoryControl, LocalCopyListener, and LocalCopyWrapper to make sure there are no dangling faces in ccnd when they stop.

In general, the tests go like this:


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