org.ccnx.ccn.test.TestUtils Class Reference

Miscellaneous static utilities for testing. More...

List of all members.

Static Public Member Functions

static void checkObject (CCNHandle handle, CCNNetworkObject<?> cno) throws IOException
 Check if object has been stored in a repo.
static void checkFile (CCNHandle handle, CCNAbstractInputStream stream) throws IOException
 Check if file has been stored in a repo.

Static Public Attributes

static final int WAIT_TIME = 100

Detailed Description

Miscellaneous static utilities for testing.


Member Function Documentation

static void org.ccnx.ccn.test.TestUtils.checkFile ( CCNHandle  handle,
CCNAbstractInputStream  stream 
) throws IOException [static]

Check if file has been stored in a repo.

Waits up to EXTRA_LONG_TIMEOUT - if not stored by then - assertion failure.

Parameters:
handle 
stream 
Exceptions:
IOException 
static void org.ccnx.ccn.test.TestUtils.checkObject ( CCNHandle  handle,
CCNNetworkObject<?>  cno 
) throws IOException [static]

Check if object has been stored in a repo.

Waits up to EXTRA_LONG_TIMEOUT - if not stored by then - assertion failure.

Parameters:
handle 
cno 
Exceptions:
IOException 

The documentation for this class was generated from the following file:
Generated on Tue Aug 21 14:55:31 2012 for Content-Centric Networking in Java by  doxygen 1.6.3