package testkit
- Alphabetic
- Public
- All
Type Members
-
case class
AnyDiff
(a: Any, b: Any) extends Exception with Product with Serializable
Helper class to create textual diff between two objects
-
case class
Corpus
(url: String, filter: (String) ⇒ Boolean) extends Product with Serializable
A collection of Scala source files to run SyntaxAnalysis.
A collection of Scala source files to run SyntaxAnalysis.
- url
A zip file that matches the following structure: repos/ project1/ COMMIT // <- git commit hash of project1 snapshot URL // <- Github project url src/main/... Code.scala project2/ ... projectN/ In particular, each project directory must contain a
COMMIT
andURL
file. These files are used to construct links to the source files on Github.- filter
Files that don't match the filter are excluded from the analysis.
-
case class
CorpusFile
(filename: String, projectUrl: String, commit: String) extends Product with Serializable
A Scala source file taken from some Github repo
A Scala source file taken from some Github repo
- filename
Path to the file relative to the "target/repos" root directory.
- projectUrl
The url of the Github project containing this source file.
- commit
The commit has at where this ScalaFile originates from.
- trait DiffAssertions extends FunSuiteLike
-
case class
Observation
[T](msg: String, line: Int, kind: T) extends Product with Serializable
An observation during a SyntaxAnalysis.
An observation during a SyntaxAnalysis.
- msg
The message corresponding this individual observation. The message will be dislayed next to this entry.
- line
The offending line number in the source file where the observation was made. Starts from line 0, which matches with scala.meta.Position.line.
- kind
The category of this observation. Observations of the same category are grouped together in the markdown table. Good values are enumerations or sealed ADTs.
Value Members
- object Corpus extends Serializable
- object FileOps
- object Observation extends Serializable
- object Phase
- object StructurallyEqual
- object SyntaxAnalysis