Uses of Class
org.junit.platform.engine.discovery.FilePosition
Package
Description
-
Uses of FilePosition in org.junit.platform.engine.discovery
Modifier and TypeMethodDescriptionstatic FilePosition
FilePosition.from
(int line) Create a newFilePosition
using the suppliedline
number and an undefined column number.static FilePosition
FilePosition.from
(int line, int column) Create a newFilePosition
using the suppliedline
andcolumn
numbers.Modifier and TypeMethodDescriptionstatic Optional<FilePosition>
Create an optionalFilePosition
by parsing the suppliedquery
string.ClasspathResourceSelector.getPosition()
Get the selectedFilePosition
within the classpath resource.FileSelector.getPosition()
Get the selected position within the file as aFilePosition
.Modifier and TypeMethodDescriptionstatic ClasspathResourceSelector
DiscoverySelectors.selectClasspathResource
(String classpathResourceName, FilePosition position) Create aClasspathResourceSelector
for the supplied classpath resource name.static FileSelector
DiscoverySelectors.selectFile
(File file, FilePosition position) Create aFileSelector
for the supplied file.static FileSelector
DiscoverySelectors.selectFile
(String path, FilePosition position) Create aFileSelector
for the supplied file path.