RunnerTest

abstract class RunnerTest : ProjectTest

Constructors

Link copied to clipboard
fun RunnerTest()

Functions

Link copied to clipboard
private fun _afterEach()
Link copied to clipboard
fun McProject.addDependency(    configurationName: ConfigurationName,     project: McProject,     asTestFixture: Boolean)
Link copied to clipboard
open fun allProjects(): List<McProject>
Link copied to clipboard
fun String.alwaysUnixFileSeparators(): String
Link copied to clipboard
open fun androidApplication(    path: String,     androidPackage: String,     config: McProjectBuilder<AndroidApplicationPluginBuilder>.() -> Unit): McProject
Link copied to clipboard
open fun androidDynamicFeature(    path: String,     androidPackage: String,     config: McProjectBuilder<AndroidDynamicFeaturePluginBuilder>.() -> Unit): McProject
Link copied to clipboard
open fun androidLibrary(    path: String,     androidPackage: String,     config: McProjectBuilder<AndroidLibraryPluginBuilder>.() -> Unit): McProject
Link copied to clipboard
open fun androidTest(    path: String,     androidPackage: String,     config: McProjectBuilder<AndroidTestPluginBuilder>.() -> Unit): McProject
Link copied to clipboard
fun String.clean(): String
Link copied to clipboard
open fun McProject.editSimple(config: McProjectBuilder<PlatformPluginBuilder<PlatformPlugin>>.() -> Unit): McProject
Link copied to clipboard
fun findingFactory(    fixable: List<Finding> = emptyList(),     sorts: List<Finding> = emptyList(),     reports: List<Finding> = emptyList()): FindingFactory<*>
Link copied to clipboard
internal fun injectTestInfo(testInfo: TestInfo)
Link copied to clipboard
open operator fun File.invoke(text: () -> String)
Link copied to clipboard
open fun kotlinProject(path: String, config: McProjectBuilder<KotlinJvmPluginBuilder>.() -> Unit): McProject
Link copied to clipboard
fun String.normaliseLineSeparators(): String
Link copied to clipboard
fun ReportingLogger.parsedReport(): List<Pair<String, List<ProjectFindingReport>>>
Link copied to clipboard
open override fun register(delegate: Resets)
Link copied to clipboard
fun File.relativePath(): String
Link copied to clipboard
fun String.removeDuration(): String
Link copied to clipboard
open override fun resetAll()
Link copied to clipboard
inline fun <T : Any> resets(noinline valueFactory: suspend () -> T): LazyResets<T>
Link copied to clipboard
open suspend fun resolveReferences()
Link copied to clipboard
fun run(    autoCorrect: Boolean = true,     strictResolution: Boolean = false,     findingFactory: FindingFactory<out Finding> = this.findingFactory,     settings: ModuleCheckSettings = this.settings,     logger: McLogger = this.logger,     projectProvider: ProjectProvider = this.projectProvider,     findingResultFactory: FindingResultFactory = RealFindingResultFactory(),     reportFactory: ReportFactory = ReportFactory(),     checkstyleReporter: CheckstyleReporter = CheckstyleReporter(),     graphvizFileWriter: GraphvizFileWriter = GraphvizFileWriter( settings = settings, graphvizFactory = GraphvizFactory(projectProvider.toTypeSafeProjectPathResolver()) ),     dispatcherProvider: DispatcherProvider = DispatcherProvider(),     rules: DaggerList<ModuleCheckRule<*>> = this.rules): Result<Unit>
Link copied to clipboard
open infix fun <T, U : T> T.shouldBe(expected: U?)
open infix fun String.shouldBe(expected: String)
Link copied to clipboard
open infix fun File.shouldHaveText(expected: String)
Link copied to clipboard
open fun simpleProject(buildFileText: String?, path: String): McProject
Link copied to clipboard
fun test(action: suspend CoroutineScope.() -> Unit)
Link copied to clipboard
open fun PlatformPlugin.toBuilder(): PlatformPluginBuilder<*>
Link copied to clipboard
open fun <P : PlatformPluginBuilder<*>> McProject.toProjectBuilder(): McProjectBuilder<P>
Link copied to clipboard
fun String.useRelativePaths(): String
Link copied to clipboard
fun File.writeText(content: String)

Properties

Link copied to clipboard
open override val codeGeneratorBindings: List<CodeGeneratorBinding>
Link copied to clipboard
private val delegates: MutableCollection<Resets>
Link copied to clipboard
open val findingFactory: FindingFactory<out Finding>
Link copied to clipboard
open val logger: ReportingLogger
Link copied to clipboard
open override val projectCache: ProjectCache
Link copied to clipboard
val projectDependencyFactory: ProjectDependency.Factory
Link copied to clipboard
open val projectProvider: ProjectProvider
Link copied to clipboard
open override val root: File
Link copied to clipboard
open val ruleFilter: RuleFilter
Link copied to clipboard
open val rules: List<ModuleCheckRule<*>>
Link copied to clipboard
open val settings: ModuleCheckSettings
Link copied to clipboard
protected var testClassName: String
Link copied to clipboard
protected var testDisplayName: String
Link copied to clipboard
protected var testFunctionName: String
Link copied to clipboard
val testProjectDir: File
Link copied to clipboard
val testRelativePath: String

Sources

Link copied to clipboard