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

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

View File

@ -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);
}
}