| java.lang.Object com.sun.midp.i3test.TestCase com.sun.midp.links.TestLink
TestLink | public class TestLink extends TestCase (Code) | | Tests basic operations on the Link class.
|
Method Summary | |
public void | runTests() Runs all tests. | void | testAccess() Tests receiver and sender isolate access for a link. | void | testCleanup() Tests that the native rendezvous point structure is getting cleaned up
properly by the finalizer. | void | testCreate() Tests creation, isOpen(), and close(). | void | testEquals() Tests for equals() and hashCode(). | void | testIsolateStates() Tests link creation with isolates in different states. | void | testNulls() Tests nulls. | void | testReceiveClose() Tests that close() will unblock a thread blocked in receive(). | void | testReceiveClosed() Tests receive() on a closed link. | void | testReceiveSend() Tests receive() followed by a send(). | void | testSendClose() Tests that close() will unblock a thread blocked in send(). | void | testSendClosed() Tests send() on a closed link. | void | testSendReceive() Tests send() followed by a receive(). |
testCleanup | void testCleanup()(Code) | | Tests that the native rendezvous point structure is getting cleaned up
properly by the finalizer.
|
testCreate | void testCreate()(Code) | | Tests creation, isOpen(), and close().
|
testEquals | void testEquals()(Code) | | Tests for equals() and hashCode().
|
testNulls | void testNulls()(Code) | | Tests nulls.
|
testReceiveClose | void testReceiveClose() throws IOException(Code) | | Tests that close() will unblock a thread blocked in receive().
|
testReceiveClosed | void testReceiveClosed() throws IOException(Code) | | Tests receive() on a closed link.
|
testReceiveSend | void testReceiveSend() throws IOException(Code) | | Tests receive() followed by a send().
|
testSendClose | void testSendClose() throws IOException(Code) | | Tests that close() will unblock a thread blocked in send().
|
testSendClosed | void testSendClosed() throws IOException(Code) | | Tests send() on a closed link.
|
testSendReceive | void testSendReceive() throws IOException(Code) | | Tests send() followed by a receive().
|
Methods inherited from com.sun.midp.i3test.TestCase | public void assertEquals(Object expected, Object actual)(Code)(Java Doc) public void assertEquals(String message, Object expected, Object actual)(Code)(Java Doc) public void assertEquals(int expected, int actual)(Code)(Java Doc) public void assertEquals(String message, int expected, int actual)(Code)(Java Doc) public void assertFalse(boolean condition)(Code)(Java Doc) public void assertFalse(String message, boolean condition)(Code)(Java Doc) public void assertNotNull(Object object)(Code)(Java Doc) public void assertNotNull(String message, Object object)(Code)(Java Doc) public void assertNotSame(Object expected, Object actual)(Code)(Java Doc) public void assertNotSame(String message, Object expected, Object actual)(Code)(Java Doc) public void assertNull(Object object)(Code)(Java Doc) public void assertNull(String message, Object object)(Code)(Java Doc) public void assertSame(Object expected, Object actual)(Code)(Java Doc) public void assertSame(String message, Object expected, Object actual)(Code)(Java Doc) public void assertTrue(String message, boolean condition)(Code)(Java Doc) public void assertTrue(boolean condition)(Code)(Java Doc) public void declare(String testName)(Code)(Java Doc) public void fail()(Code)(Java Doc) public void fail(String message)(Code)(Java Doc) protected SecurityToken getSecurityToken()(Code)(Java Doc) protected boolean getVerbose()(Code)(Java Doc) public void info(String s)(Code)(Java Doc) abstract public void runTests() throws Throwable(Code)(Java Doc)
|
|
|