Interface ClasspathResourceSource

All Superinterfaces:
TestSource

@Incubating public interface ClasspathResourceSource extends TestSource
Classpath resource-based test source.
Since:
9.4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the source classpath resource.
    @Nullable FilePosition
    Returns the position within the file, or null if not available.
  • Method Details

    • getClasspathResourceName

      String getClasspathResourceName()
      Returns the name of the source classpath resource.
      Since:
      9.4.0
    • getPosition

      @Nullable FilePosition getPosition()
      Returns the position within the file, or null if not available.
      Since:
      9.4.0