TestIdeParameters

abstract class TestIdeParameters @Inject constructor(name: String, project: Project, dependenciesHelper: IntelliJPlatformDependenciesHelper) : IntelliJPlatformTestingExtension.CommonParameters<TestIdeTask>

Constructors

Link copied to clipboard
@Inject
constructor(name: String, project: Project, dependenciesHelper: IntelliJPlatformDependenciesHelper)

Properties

Link copied to clipboard
open override val buildDependencies: DefaultTaskDependency?
Link copied to clipboard
@get:Internal
abstract val extensions: ExtensionContainer?
Link copied to clipboard
abstract val localPath: DirectoryProperty
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard
val productMode: Property<ProductMode?>?

Describes a mode in which a product may be started.

Link copied to clipboard
abstract val sandboxDirectory: DirectoryProperty
Link copied to clipboard
abstract val splitMode: Property<Boolean>
Link copied to clipboard
Link copied to clipboard
val task: TaskProvider<TestIdeTask?>?
Link copied to clipboard
val type: Property<IntelliJPlatformType>

The type of the IntelliJ Platform dependency.

Link copied to clipboard
val useCache: Property<Boolean?>?

Switches between the Gradle cache and the custom cache directory.

Link copied to clipboard
val useInstaller: Property<Boolean>

Switches between the IDE installer and archive from the IntelliJ Maven repository.

Link copied to clipboard
val version: Property<String>

The version of the IntelliJ Platform dependency.

Functions

Link copied to clipboard
open override fun getBuildDependencies(): DefaultTaskDependency?
Link copied to clipboard
open override fun getName(): String
Link copied to clipboard
fun plugins(configuration: Action<IntelliJPlatformPluginsExtension>)
Link copied to clipboard
fun prepareSandboxTask(action: Action<in PrepareSandboxTask>)
Link copied to clipboard
fun task(action: Action<in TestIdeTask>)
Link copied to clipboard
fun testFramework(type: TestFrameworkType, version: String = Constraints.CLOSEST_VERSION)

Adds a dependency on the test-framework library or its variant, required for testing plugins.

fun testFramework(type: TestFrameworkType, version: Provider<String>)

Adds a dependency on the test-framework library required for testing plugins.