Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mjh.switchrmi.protocol.raw
Class JUnitRawProtocol  view JUnitRawProtocol download JUnitRawProtocol.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.mjh.switchrmi.protocol.raw.JUnitRawProtocol
All Implemented Interfaces:
junit.framework.Test

public class JUnitRawProtocol
extends junit.framework.TestCase


Field Summary
(package private) static com.mjh.switchrmi.RmiClient client
           
private  com.mjh.switchrmi.transport.test.IEcho echo
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JUnitRawProtocol()
           
 
Method Summary
private  com.mjh.switchrmi.transport.test.IEcho connect()
           
 void setUp()
          Sets up the fixture, for example, open a network connection.
 void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testEchoAll()
           
 void testEchoByte()
           
 void testEchoChar()
           
 void testEchoDate()
           
 void testEchoDouble()
           
 void testEchoFloat()
           
 void testEchoInt()
           
 void testEchoList()
           
 void testEchoLong()
           
 void testEchoMap()
           
 void testEchoShort()
           
 void testEchoString()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

client

static com.mjh.switchrmi.RmiClient client

echo

private com.mjh.switchrmi.transport.test.IEcho echo
Constructor Detail

JUnitRawProtocol

public JUnitRawProtocol()
Method Detail

setUp

public 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.


tearDown

public void tearDown()
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


connect

private com.mjh.switchrmi.transport.test.IEcho connect()
                                                throws java.lang.Exception

testEchoInt

public void testEchoInt()
                 throws java.lang.Exception

testEchoShort

public void testEchoShort()
                   throws java.lang.Exception

testEchoChar

public void testEchoChar()
                  throws java.lang.Exception

testEchoByte

public void testEchoByte()
                  throws java.lang.Exception

testEchoLong

public void testEchoLong()
                  throws java.lang.Exception

testEchoFloat

public void testEchoFloat()
                   throws java.lang.Exception

testEchoDouble

public void testEchoDouble()
                    throws java.lang.Exception

testEchoString

public void testEchoString()
                    throws java.lang.Exception

testEchoDate

public void testEchoDate()
                  throws java.lang.Exception

testEchoList

public void testEchoList()
                  throws java.lang.Exception

testEchoMap

public void testEchoMap()
                 throws java.lang.Exception

testEchoAll

public void testEchoAll()
                 throws java.lang.Exception