mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
add test
This commit is contained in:
parent
e09ca3c40b
commit
b0d443e8e9
@ -13,7 +13,6 @@
|
||||
package org.dromara.hutool.core.util;
|
||||
|
||||
import org.dromara.hutool.core.lang.Console;
|
||||
import org.dromara.hutool.core.util.RuntimeUtil;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@ -69,4 +68,11 @@ public class RuntimeUtilTest {
|
||||
final String s = RuntimeUtil.execForStr("cmd /c ping " + "hutool.cn");
|
||||
Console.log(s);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
public void issueIAB5LWTest() {
|
||||
final String s = RuntimeUtil.execForStr("cmd /c netstat -aon | findstr 8080");
|
||||
Console.log(s);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user