java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jnp.test.TestJNPSockets
- All Implemented Interfaces:
- junit.framework.Test
- public class TestJNPSockets
- extends junit.framework.TestCase
A test of RMI custom sockets with the jnp JNDI provider.
- Version:
- $Revision: 1.2 $
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
server
static org.jnp.server.Main server
serverPort
static int serverPort
TestJNPSockets
public TestJNPSockets(java.lang.String name)
setUp
protected void setUp()
throws java.lang.Exception
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
testAccess
public void testAccess()
throws java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception