Uses of Class
org.junit.platform.engine.support.descriptor.FilePosition
Package
Description
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
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.ClasspathResourceSource.getPosition()
Get theFilePosition
, if available.ClassSource.getPosition()
FileSource.getPosition()
Get theFilePosition
, if available.Modifier and TypeMethodDescriptionstatic 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 class name and file position.static FileSource
FileSource.from(File file, FilePosition filePosition)