ProjectTest

abstract class ProjectTest : BaseTest, ProjectCollector

Constructors

Link copied to clipboard
fun ProjectTest()

Functions

Link copied to clipboard
private fun _afterEach()
Link copied to clipboard
fun McProject.addDependency(    configurationName: ConfigurationName,     project: McProject,     asTestFixture: Boolean = false)
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
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
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
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? = null, path: String = ":lib"): 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 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
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