org.ccnx.ccn.test.ThreadAssertionTest Class Reference

Test cases for ThreadAssertionRunner. More...

List of all members.

Classes

class  InnerRunner

Public Member Functions

void testNoError () throws Exception
void testAssertFail () throws Exception
void testAssertError () throws Exception
void testNullPointer () throws Exception
void testRuntimeException () throws Exception
void testNoErrorImmediate () throws Exception
void testAssertFailImmediate () throws Exception
void testAssertErrorImmediate () throws Exception
void testNullPointerImmediate () throws Exception
void testRuntimeExceptionImmediate () throws Exception

Detailed Description

Test cases for ThreadAssertionRunner.

Also shows how to use it.

ThreadAssertionRunner will capture any Exception or Error. We just use NullPointer and Runtime as two examples here.


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