mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add test
This commit is contained in:
parent
5187fc1a01
commit
9cb10bb214
@ -1,5 +1,6 @@
|
||||
package cn.hutool.core.lang;
|
||||
|
||||
import cn.hutool.core.util.ClassUtil;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
@ -43,4 +44,13 @@ public class ClassScanerTest {
|
||||
Console.log(classes.size());
|
||||
Console.log(classScanner.getClassesOfLoadError());
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void scanJavaLang() {
|
||||
final Set<Class<?>> classes = ClassUtil.scanPackage("java.lang");
|
||||
for (final Class<?> aClass : classes) {
|
||||
Console.log(aClass.getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user