Top Description Methods
org.junit.platform.suite.api

public @Interface SelectFile

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
@Inherited
@Documented
@API
status:STABLE
since:1.10
@Repeatable:SelectFiles
Static Imports
org.apiguardian.api.API.Status.STABLE

@SelectFile is a repeatable annotation that specifies a file to select when running a test suite on the JUnit Platform.
Since
1.8
See Also
Suite, org.junit.platform.engine.discovery.DiscoverySelectors#selectFile(String, org.junit.platform.engine.discovery.FilePosition)

Method Summary

Modifier and TypeMethod and Description
public int
column()

The column number within the file; ignored if the line number is ignored or if not greater than zero.

public int
line()

The line number within the file; ignored if not greater than zero.

public String
value()

The file to select.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

columnback to summary
public int column()

The column number within the file; ignored if the line number is ignored or if not greater than zero.

lineback to summary
public int line()

The line number within the file; ignored if not greater than zero.

valueback to summary
public String value()

The file to select.