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/" + _repoName
static File _fileTest
static ContentName testprefix = new ContentName("repoTest","pubidtest")
static ContentName keyprefix = new ContentName(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 Tue Aug 21 14:55:36 2012 for Content-Centric Networking in Java by  doxygen 1.6.3