TestkitPath

scalafix.testkit.TestkitPath
See theTestkitPath companion object
final class TestkitPath(val input: AbsolutePath, val testPath: RelativePath, val semanticdbPath: RelativePath)

An input file for a testkit test.

Value parameters

input

the absolute path to the input file.

semanticdbPath

the input file relativized by the SemanticDB sourceroot. Used to compute the path to the SemanticDB payload.

testPath

the input file relativized by input source directory (but including its last subpath). Used to compute the test name and the expected output file.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def resolveOutput(props: TestkitProperties): Either[String, AbsolutePath]
def toInput: Input

Concrete fields

val input: AbsolutePath
val semanticdbPath: RelativePath
val testPath: RelativePath