Package org.apache.any23.util
Class DiscoveryUtilsTest
- java.lang.Object
-
- org.apache.any23.util.DiscoveryUtilsTest
-
public class DiscoveryUtilsTest extends Object
Test case forDiscoveryUtils
.- Author:
- Michele Mostarda (mostarda@fbk.eu)
-
-
Constructor Summary
Constructors Constructor Description DiscoveryUtilsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testGetClassesInJAR()
Test case forDiscoveryUtils.getClassesInPackage(String, Class)
with detection in JAR file.void
testGetClassesInPackage()
Test case forDiscoveryUtils.getClassesInPackage(String, Class)
with detection in classes dir.
-
-
-
Method Detail
-
testGetClassesInPackage
public void testGetClassesInPackage() throws ClassNotFoundException, IOException
Test case forDiscoveryUtils.getClassesInPackage(String, Class)
with detection in classes dir.- Throws:
ClassNotFoundException
- if there is an error location class in 'org.apache.any23.vocab' packageIOException
- if there is an error in the input
-
testGetClassesInJAR
public void testGetClassesInJAR() throws ClassNotFoundException, IOException
Test case forDiscoveryUtils.getClassesInPackage(String, Class)
with detection in JAR file.- Throws:
ClassNotFoundException
- if there is an error location class in 'org.eclipse.rdf4j' packageIOException
- if there is an error in the input
-
-