Uses of Interface
org.junit.platform.commons.io.Resource
Packages that use Resource
Package
Description
IO-related interfaces and support classes
Common support APIs provided by the JUnit Platform.
Classpath scanning APIs provided by the JUnit Platform.
Internal common utilities for JUnit.
-
Uses of Resource in org.junit.platform.commons.io
Methods in org.junit.platform.commons.io that return ResourceModifier and TypeMethodDescriptionstatic Resource
Create a newResource
with the given name and URI.Methods in org.junit.platform.commons.io with parameters of type ResourceMethod parameters in org.junit.platform.commons.io with type arguments of type ResourceModifier and TypeMethodDescriptionstatic ResourceFilter
Create aResourceFilter
instance from a predicate. -
Uses of Resource in org.junit.platform.commons.support
Subinterfaces of Resource in org.junit.platform.commons.supportModifier and TypeInterfaceDescriptioninterface
Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.junit.platform.commons.support that return types with arguments of type ResourceModifier and TypeMethodDescriptionResourceSupport.findAllResourcesInClasspathRoot
(URI root, ResourceFilter resourceFilter) ResourceSupport.findAllResourcesInModule
(String moduleName, ResourceFilter resourceFilter) ResourceSupport.findAllResourcesInPackage
(String basePackageName, ResourceFilter resourceFilter) ResourceSupport.streamAllResourcesInClasspathRoot
(URI root, ResourceFilter resourceFilter) ResourceSupport.streamAllResourcesInModule
(String moduleName, ResourceFilter resourceFilter) ResourceSupport.streamAllResourcesInPackage
(String basePackageName, ResourceFilter resourceFilter) ResourceSupport.tryToGetResources
(String classpathResourceName) Try to get the resources for the supplied classpath resource name.ResourceSupport.tryToGetResources
(String classpathResourceName, ClassLoader classLoader) Try to load the resources for the supplied classpath resource name, using the suppliedClassLoader
.Methods in org.junit.platform.commons.support with parameters of type Resource -
Uses of Resource in org.junit.platform.commons.support.scanning
Methods in org.junit.platform.commons.support.scanning that return types with arguments of type ResourceModifier and TypeMethodDescriptionClasspathScanner.scanForResourcesInClasspathRoot
(URI root, ResourceFilter resourceFilter) Find all resources in the supplied classpathroot
that match the specifiedresourceFilter
predicate.ClasspathScanner.scanForResourcesInPackage
(String basePackageName, ResourceFilter resourceFilter) Find all resources in the supplied classpathroot
that match the specifiedresourceFilter
predicate. -
Uses of Resource in org.junit.platform.commons.util
Methods in org.junit.platform.commons.util that return types with arguments of type ResourceModifier and TypeMethodDescriptionReflectionUtils.findAllResourcesInClasspathRoot
(URI root, ResourceFilter resourceFilter) ModuleUtils.findAllResourcesInModule
(String moduleName, ResourceFilter filter) Find all resources for the given module name.ReflectionUtils.findAllResourcesInModule
(String moduleName, ResourceFilter resourceFilter) ReflectionUtils.findAllResourcesInPackage
(String basePackageName, ResourceFilter resourceFilter) ReflectionUtils.streamAllResourcesInClasspathRoot
(URI root, ResourceFilter resourceFilter) ReflectionUtils.streamAllResourcesInModule
(String moduleName, ResourceFilter resourceFilter) ReflectionUtils.streamAllResourcesInPackage
(String basePackageName, ResourceFilter resourceFilter) ReflectionUtils.tryToGetResources
(String classpathResourceName) ReflectionUtils.tryToGetResources
(String classpathResourceName, ClassLoader classLoader) -
Uses of Resource in org.junit.platform.engine.discovery
Methods in org.junit.platform.engine.discovery that return types with arguments of type ResourceModifier and TypeMethodDescriptionClasspathResourceSelector.getResources()
Get the selectedresources
.Method parameters in org.junit.platform.engine.discovery with type arguments of type ResourceModifier and TypeMethodDescriptionstatic ClasspathResourceSelector
DiscoverySelectors.selectClasspathResourceByName
(Set<? extends Resource> classpathResources) Create aClasspathResourceSelector
for the supplied classpath resources.
Resource
instead.