Class DefaultTestBinaryConfig
- java.lang.Object
-
- org.graalvm.buildtools.gradle.internal.DefaultTestBinaryConfig
-
- All Implemented Interfaces:
GraalVMExtension.TestBinaryConfig
,org.gradle.api.Named
public class DefaultTestBinaryConfig extends java.lang.Object implements GraalVMExtension.TestBinaryConfig, org.gradle.api.Named
-
-
Constructor Summary
Constructors Constructor Description DefaultTestBinaryConfig(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forTestTask(org.gradle.api.tasks.TaskProvider<org.gradle.api.tasks.testing.Test> jvmTestTask)
Sets the JVM test task which corresponds to the native test that we're configuring.java.lang.String
getName()
org.gradle.api.tasks.SourceSet
getSourceSet()
org.gradle.api.tasks.TaskProvider<org.gradle.api.tasks.testing.Test>
getTestTask()
void
usingSourceSet(org.gradle.api.tasks.SourceSet testSourceSet)
DefaultTestBinaryConfig
validate()
-
-
-
Method Detail
-
forTestTask
public void forTestTask(org.gradle.api.tasks.TaskProvider<org.gradle.api.tasks.testing.Test> jvmTestTask)
Description copied from interface:GraalVMExtension.TestBinaryConfig
Sets the JVM test task which corresponds to the native test that we're configuring.- Specified by:
forTestTask
in interfaceGraalVMExtension.TestBinaryConfig
- Parameters:
jvmTestTask
- an existing JVM test task
-
usingSourceSet
public void usingSourceSet(org.gradle.api.tasks.SourceSet testSourceSet)
- Specified by:
usingSourceSet
in interfaceGraalVMExtension.TestBinaryConfig
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceorg.gradle.api.Named
-
getTestTask
public org.gradle.api.tasks.TaskProvider<org.gradle.api.tasks.testing.Test> getTestTask()
-
getSourceSet
public org.gradle.api.tasks.SourceSet getSourceSet()
-
validate
public DefaultTestBinaryConfig validate()
-
-