org.ccnx.ccn.test.repo.RepoTestBase Class Reference

A base class for repository-specific tests. More...

List of all members.

Static Public Member Functions

static void setUpBeforeClass () throws Exception

Static Public Attributes

static final String TOP_DIR = "ccn.test.topdir"

Protected Member Functions

void checkNameSpace (String contentName, boolean expected) throws Exception
ContentName writeToRepo (ContentName name) throws Exception
void checkData (ContentName name, String data) throws IOException, InterruptedException
void checkData (Interest interest, byte[] data) throws IOException, InterruptedException

Static Protected Attributes

static String _topdir
static String _fileTestDir
static String _fileTestDir2
static String _fileTestDir3
static String _repoName = "TestRepository"
static String _globalPrefix = "/parc.com/csl/ccn/repositories"
static File _fileTest
static ContentName testprefix = ContentName.fromNative(new String[]{"repoTest","pubidtest"})
static ContentName keyprefix = ContentName.fromNative(testprefix,"keys")

Detailed Description

A base class for repository-specific tests.

Defines a few common parameters.


The documentation for this class was generated from the following file:
Generated on Fri May 13 16:27:56 2011 for Content-Centric Networking in Java by  doxygen 1.6.3