Uses of Class
org.junit.platform.engine.support.descriptor.FilePosition
-
Packages that use FilePosition Package Description org.junit.platform.engine.support.descriptor TestDescriptor
-related support classes intended to be used by test engine implementations and clients of the launcher. -
-
Uses of FilePosition in org.junit.platform.engine.support.descriptor
Methods in org.junit.platform.engine.support.descriptor that return FilePosition Modifier and Type Method Description static 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.Methods in org.junit.platform.engine.support.descriptor that return types with arguments of type FilePosition Modifier and Type Method Description static Optional<FilePosition>
FilePosition. fromQuery(String query)
Create an optionalFilePosition
by parsing the suppliedquery
string.Optional<FilePosition>
ClasspathResourceSource. getPosition()
Get theFilePosition
, if available.Optional<FilePosition>
ClassSource. getPosition()
Get the position in the Java source file for the associated Java class, if available.Optional<FilePosition>
FileSource. getPosition()
Get theFilePosition
, if available.Methods in org.junit.platform.engine.support.descriptor with parameters of type FilePosition Modifier and Type Method Description static ClasspathResourceSource
ClasspathResourceSource. from(String classpathResourceName, FilePosition filePosition)
Create a newClasspathResourceSource
using the supplied classpath resource name andFilePosition
.static ClassSource
ClassSource. from(Class<?> javaClass, FilePosition filePosition)
static ClassSource
ClassSource. from(String className, FilePosition filePosition)
Create a newClassSource
using the supplied className andfilePosition
.static FileSource
FileSource. from(File file, FilePosition filePosition)
-