- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 31 for PluginTest (0.2 sec)
-
platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/ServicePluginTest.kt
package com.myorg import org.gradle.testkit.runner.TaskOutcome import org.junit.Assert.assertEquals import org.junit.Assert.assertTrue import org.junit.Before import org.junit.Test class ServicePluginTest : PluginTest() { @Before fun init() { buildFile.appendText(""" plugins { id("com.myorg.service-conventions") } """) } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/test/kotlin/com/example/LibraryPluginTest.kt
import org.gradle.testkit.runner.TaskOutcome import org.junit.Assert.assertEquals import org.junit.Assert.assertTrue import org.junit.Before import org.junit.Test import java.io.File class LibraryPluginTest : PluginTest() { @Before fun init() { buildFile.appendText(""" plugins { id("myproject.library-conventions") } """) } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/LibraryPluginTest.kt
import org.gradle.testkit.runner.TaskOutcome import org.junit.Assert.assertEquals import org.junit.Assert.assertTrue import org.junit.Before import org.junit.Test import java.io.File class LibraryPluginTest : PluginTest() { @Before fun init() { buildFile.appendText(""" plugins { id("com.myorg.library-conventions") } """) } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/LibraryPluginTest.kt
import org.gradle.testkit.runner.TaskOutcome import org.junit.Assert.assertEquals import org.junit.Assert.assertTrue import org.junit.Before import org.junit.Test import java.io.File class LibraryPluginTest : PluginTest() { @Before fun init() { buildFile.appendText(""" plugins { id("com.myorg.library-conventions") } """) } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/test/groovy/com/myorg/LibraryPluginTest.groovy
package com.myorg import org.gradle.testkit.runner.TaskOutcome class LibraryPluginTest extends PluginTest { def setup() { buildFile << """ plugins { id 'com.myorg.library-conventions' } """ } def "can declare api dependencies"() { given: readmeContainingMandatorySectionsExists() buildFile << """ dependencies {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/JavaGradlePluginProjectInitDescriptor.java
@Override protected TemplateOperation testTemplate(InitSettings settings, TemplateFactory templateFactory, String pluginId, String testClassName) { return templateFactory.fromSourceTemplate("plugin/java/junit/PluginTest.java.template", t -> { t.subproject(settings.getSubprojects().get(0)); t.sourceSet("test"); t.className(testClassName); t.binding("pluginId", pluginId); }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 19:14:24 UTC 2024 - 4K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/KotlinGradlePluginProjectInitDescriptor.java
@Override protected TemplateOperation testTemplate(InitSettings settings, TemplateFactory templateFactory, String pluginId, String testClassName) { return templateFactory.fromSourceTemplate("plugin/kotlin/kotlintest/PluginTest.kt.template", t -> { t.subproject(settings.getSubprojects().get(0)); t.sourceSet("test"); t.className(testClassName); t.binding("pluginId", pluginId); }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 19:14:24 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/test/groovy/com/myorg/JavaConventionPluginTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/groovy/buildSrc/src/test/groovy/com/example/JavaConventionPluginTest.groovy
package com.example import org.gradle.testkit.runner.TaskOutcome class JavaConventionPluginTest extends PluginTest { def setup() { buildFile << """ plugins { id 'myproject.java-conventions' } """ } def "fails on checkstyle error"() { given: new File(testProjectDir, 'src/main/java/com/example').mkdirs()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/JavaConventionPluginTest.kt
package com.myorg import org.gradle.testkit.runner.TaskOutcome import org.junit.Assert.assertEquals import org.junit.Assert.assertTrue import org.junit.Before import org.junit.Test class JavaConventionPluginTest : PluginTest() { @Before fun init() { buildFile.appendText(""" plugins { id("com.myorg.java-conventions") } """) } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.1K bytes - Viewed (0)