|
|
|
@ -8,8 +8,8 @@ import org.junit.Test;
|
|
|
|
|
* AddressUtils Tester.
|
|
|
|
|
*
|
|
|
|
|
* @author Leonhardt
|
|
|
|
|
* @since 07/22/2018
|
|
|
|
|
* @version 1.0
|
|
|
|
|
* @since 07/22/2018
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public class AddressUtilsTest {
|
|
|
|
@ -23,15 +23,13 @@ public void after() throws Exception {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* Method: getRealAddressByIP(String ip)
|
|
|
|
|
*
|
|
|
|
|
* $method.annotation
|
|
|
|
|
* <p>
|
|
|
|
|
*/
|
|
|
|
|
@Test
|
|
|
|
|
public void testGetRealAddressByIP() throws Exception {
|
|
|
|
|
//TODO: Test goes here...
|
|
|
|
|
String ipAddress = AddressUtils.getRealAddressByIP("121.8.250.154");
|
|
|
|
|
String ipAddress = AddressUtils.getRealAddressByIP("121.8.250.1");
|
|
|
|
|
System.out.println(ipAddress);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|