--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/libjava/src/stx/libjava/tests/lib/java/net/InetAddressTests.java Wed Aug 28 09:16:36 2013 +0100
@@ -0,0 +1,24 @@
+package stx.libjava.tests.lib.java.net;
+
+import static org.junit.Assert.*;
+
+import java.net.InetAddress;
+import java.net.UnknownHostException;
+
+import org.junit.Test;
+
+public class InetAddressTests {
+
+ @Test
+ public void test() {
+ try {
+ InetAddress addr = InetAddress.getLocalHost();
+ addr.getAddress();
+ } catch (UnknownHostException e) {
+ // TODO Auto-generated catch block
+ assertTrue(false);
+ }
+
+ }
+
+}