org.microemu.cldc.datagram
Class EndToEndDatagramTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.microemu.cldc.datagram.EndToEndDatagramTest
All Implemented Interfaces:
junit.framework.Test

public class EndToEndDatagramTest
extends junit.framework.TestCase

Test end to end communication over datagram.


Constructor Summary
EndToEndDatagramTest()
           
 
Method Summary
 void testJ2MEtoJ2ME()
          Tests connection from J2ME datagram connection to J2ME datagram connection
 void testJ2MEtoJ2SE()
          Tests connection from J2ME datagram connection to J2SE datagram socket
 void testJ2SEtoJ2ME()
          Tests connection from J2SE datagram socket to J2ME datagram connection
 void testJ2SEtoJ2SE()
          Tests connection from J2SE datagram socket to J2SE datagram socket
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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
 

Constructor Detail

EndToEndDatagramTest

public EndToEndDatagramTest()
Method Detail

testJ2SEtoJ2ME

public void testJ2SEtoJ2ME()
                    throws java.lang.Exception
Tests connection from J2SE datagram socket to J2ME datagram connection

Throws:
java.lang.Exception

testJ2MEtoJ2SE

public void testJ2MEtoJ2SE()
                    throws java.lang.Exception
Tests connection from J2ME datagram connection to J2SE datagram socket

Throws:
java.lang.Exception

testJ2MEtoJ2ME

public void testJ2MEtoJ2ME()
                    throws java.lang.Exception
Tests connection from J2ME datagram connection to J2ME datagram connection

Throws:
java.lang.Exception

testJ2SEtoJ2SE

public void testJ2SEtoJ2SE()
                    throws java.lang.Exception
Tests connection from J2SE datagram socket to J2SE datagram socket

Throws:
java.lang.Exception


Copyright © 2001-2008 MicroEmulator Team. All Rights Reserved.