Search in sources :

Example 1 with JarReaderImpl

use of com.blade.ioc.reader.JarReaderImpl in project blade by biezhi.

the class JarReaderTest method testJarReader.

@Test
public void testJarReader() {
    JarReaderImpl jarReader = new JarReaderImpl();
    Set<ClassInfo> classInfos = jarReader.readClasses(Scanner.builder().packageName("org.slf4j.impl").build());
    Assert.assertNotNull(classInfos);
}
Also used : JarReaderImpl(com.blade.ioc.reader.JarReaderImpl) ClassInfo(com.blade.ioc.bean.ClassInfo) Test(org.junit.Test)

Aggregations

ClassInfo (com.blade.ioc.bean.ClassInfo)1 JarReaderImpl (com.blade.ioc.reader.JarReaderImpl)1 Test (org.junit.Test)1