org.openuat.authentication.test
Class UDPMulticastSocketTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openuat.authentication.test.UDPMulticastSocketTest
All Implemented Interfaces:
junit.framework.Test

public class UDPMulticastSocketTest
extends junit.framework.TestCase


Constructor Summary
UDPMulticastSocketTest(java.lang.String s)
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testSendAndReceive_Unicast_Loopback()
           
 void testSendMulticast()
           
 void testSendUnicast()
           
 
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
 

Constructor Detail

UDPMulticastSocketTest

public UDPMulticastSocketTest(java.lang.String s)
Method Detail

setUp

public void setUp()
           throws java.io.IOException
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.io.IOException

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testSendMulticast

public void testSendMulticast()
                       throws java.io.IOException
Throws:
java.io.IOException

testSendUnicast

public void testSendUnicast()
                     throws java.net.UnknownHostException,
                            java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

testSendAndReceive_Unicast_Loopback

public void testSendAndReceive_Unicast_Loopback()
                                         throws java.net.UnknownHostException,
                                                java.io.IOException,
                                                java.lang.InterruptedException
Throws:
java.net.UnknownHostException
java.io.IOException
java.lang.InterruptedException


2005-2006, Rene Mayrhofer.