Package-level declarations

Types

Link copied to clipboard
sealed class ErrorUnit : ReportUnit

Sealed class encapsulating all types of error units that can be reported in ReportT

Link copied to clipboard
interface ReportKind
Link copied to clipboard
data class ReportT(var configError: ReportT.ConfigError? = null, val contextError: ReportT.ContextError? = null, var pipelineError: ReportT.PipelineError? = null, var stageReports: ReportT.StageReports? = null, var scoreReports: ReportT.ScoreReports? = null)
Link copied to clipboard
interface ReportUnit
Link copied to clipboard
data class ScoreReportUnit(val stageMangledName: String, val testCaseMangledName: String, val stageReportPath: String, val testCaseReportPath: String, val displayName: String, val score: Double?, val total: Double) : ReportUnit

A ReportUnit which stores scoring information for each test case.

Link copied to clipboard
abstract class StageReportUnit(clazzInstance: Any?) : ReportUnit

Functions

Link copied to clipboard

Generates report for a runner.

Link copied to clipboard
private inline fun <K : ReportKind, U : ReportUnit> List<U>.makeStaticKind(): K?

Utility method for creating a concrete ReportKind out of a list of ReportUnit by reflection.

Link copied to clipboard
private inline fun <K : ReportKind, U : ReportUnit> List<ReportUnit>.toErrors(): K?

Collects error report units of concrete type U in this to produce top-level key for error kind K.

Link copied to clipboard
Link copied to clipboard

Collects StageReportUnit report units in this to produce top-level ReportT.StageReports.