diff options
Diffstat (limited to 'plugin/src/test/kotlin')
| -rw-r--r-- | plugin/src/test/kotlin/moe/nea/archenemy/ArchenemyGreetingPluginTest.kt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/plugin/src/test/kotlin/moe/nea/archenemy/ArchenemyGreetingPluginTest.kt b/plugin/src/test/kotlin/moe/nea/archenemy/ArchenemyGreetingPluginTest.kt new file mode 100644 index 0000000..7d36988 --- /dev/null +++ b/plugin/src/test/kotlin/moe/nea/archenemy/ArchenemyGreetingPluginTest.kt @@ -0,0 +1,22 @@ +/* + * This Kotlin source file was generated by the Gradle 'init' task. + */ +package moe.nea.archenemy + +import org.gradle.testfixtures.ProjectBuilder +import kotlin.test.Test +import kotlin.test.assertNotNull + +/** + * A simple unit test for the 'moe.nea.archenemy.greeting' plugin. + */ +class ArchenemyGreetingPluginTest { + @Test fun `plugin registers task`() { + // Create a test project and apply the plugin + val project = ProjectBuilder.builder().build() + project.plugins.apply("moe.nea.archenemy.greeting") + + // Verify the result + assertNotNull(project.tasks.findByName("greeting")) + } +} |
