org.apache.jcs.utils.net
Class HostNameUtilUnitTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.jcs.utils.net.HostNameUtilUnitTest
All Implemented Interfaces:
junit.framework.Test

public class HostNameUtilUnitTest
extends junit.framework.TestCase

Tests for the host name util.


Constructor Summary
HostNameUtilUnitTest()
           
 
Method Summary
 void testGetLocalHostAddress_Simple()
          It's nearly impossible to unit test the getLocalHostLANAddress method.
 
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

HostNameUtilUnitTest

public HostNameUtilUnitTest()
Method Detail

testGetLocalHostAddress_Simple

public void testGetLocalHostAddress_Simple()
                                    throws UnknownHostException
It's nearly impossible to unit test the getLocalHostLANAddress method.

Throws:
UnknownHostException


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.