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