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

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

Inheritance diagram for org.ccnx.ccn.test.repo.RepoTestBase:

org.ccnx.ccn.test.LibraryTestBase org.ccnx.ccn.test.CCNTestBase org.ccnx.ccn.test.repo.RemoteRepoIOGetTest org.ccnx.ccn.test.repo.RepoInitializationTest org.ccnx.ccn.test.repo.RepoInitialReadTest org.ccnx.ccn.test.repo.RepoIOTest org.ccnx.ccn.test.repo.RFSTest org.ccnx.ccn.test.repo.RemoteRepoIOPutTest

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 = 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 Thu Feb 16 00:45:10 2012 for Content-Centric Networking in Java by  doxygen 1.5.6