新增获取网卡IP地址方法的测试

This commit is contained in:
lxd 2019-08-20 16:52:29 +08:00
parent fef0e9a358
commit a37354299a

View File

@ -30,4 +30,10 @@ public class SystemUtilTest {
Assert.assertNotNull(osInfo);
}
@Test
public void getHostInfo() {
HostInfo hostInfo = SystemUtil.getHostInfo();
Assert.assertNotNull(hostInfo);
}
}