From a37354299a039bda5ba8194b4e6d8c39adfaf566 Mon Sep 17 00:00:00 2001 From: lxd <79963354@qq.com> Date: Tue, 20 Aug 2019 16:52:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=8E=B7=E5=8F=96=E7=BD=91?= =?UTF-8?q?=E5=8D=A1IP=E5=9C=B0=E5=9D=80=E6=96=B9=E6=B3=95=E7=9A=84?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/java/cn/hutool/system/SystemUtilTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hutool-system/src/test/java/cn/hutool/system/SystemUtilTest.java b/hutool-system/src/test/java/cn/hutool/system/SystemUtilTest.java index 84741361f..85048cf8b 100644 --- a/hutool-system/src/test/java/cn/hutool/system/SystemUtilTest.java +++ b/hutool-system/src/test/java/cn/hutool/system/SystemUtilTest.java @@ -29,5 +29,11 @@ public class SystemUtilTest { OsInfo osInfo = SystemUtil.getOsInfo(); Assert.assertNotNull(osInfo); } + + @Test + public void getHostInfo() { + HostInfo hostInfo = SystemUtil.getHostInfo(); + Assert.assertNotNull(hostInfo); + } }