summaryrefslogtreecommitdiff
path: root/src/test/groovy/frege/gradle/FregePluginTest.groovy
diff options
context:
space:
mode:
authorRene Groeschke <rene@gradle.com>2015-11-22 00:50:45 +0000
committerRene Groeschke <rene@gradle.com>2015-11-22 00:50:45 +0000
commitfdc7b27d69b22e0ffa151d56c8f3812dcd229555 (patch)
treef67fb55cdf48e05596f6d71e2b7f11e6853f5f28 /src/test/groovy/frege/gradle/FregePluginTest.groovy
parenta676a61ddf3478356b43b4b7f947e6f769cde50e (diff)
downloadfrege-gradle-plugin-fdc7b27d69b22e0ffa151d56c8f3812dcd229555.tar.gz
frege-gradle-plugin-fdc7b27d69b22e0ffa151d56c8f3812dcd229555.tar.bz2
frege-gradle-plugin-fdc7b27d69b22e0ffa151d56c8f3812dcd229555.zip
some more work on coverage and some cleanup
- get packages for integ tests right - introduce common AbstractFregeIntegrationSpec - first stab of unit test coverage for FregeCompile - minor cleanup on FregeCompile - configure fregePath as part as part of base plugin convention
Diffstat (limited to 'src/test/groovy/frege/gradle/FregePluginTest.groovy')
-rw-r--r--src/test/groovy/frege/gradle/FregePluginTest.groovy32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/test/groovy/frege/gradle/FregePluginTest.groovy b/src/test/groovy/frege/gradle/FregePluginTest.groovy
deleted file mode 100644
index 2fc6d86..0000000
--- a/src/test/groovy/frege/gradle/FregePluginTest.groovy
+++ /dev/null
@@ -1,32 +0,0 @@
-package frege.gradle
-
-import frege.gradle.plugins.FregeBasePlugin
-import frege.gradle.plugins.FregePlugin
-import org.gradle.api.Project
-import org.gradle.testfixtures.ProjectBuilder
-import spock.lang.Specification
-
-class FregePluginTest extends Specification {
-
- Project project = ProjectBuilder.builder().build()
-
- def setup(){
- when:
- project.plugins.apply(FregePlugin)
- }
-
- def "adds frege extension"(){
- expect:
- project.getExtensions().getByName(FregeBasePlugin.EXTENSION_NAME) != null
- }
-
- def "applies frege base plugin"() {
- expect:
- project.pluginManager.findPlugin("org.frege-lang.base") != null
- }
-
- def "can be identified by id"(){
- expect:
- project.pluginManager.hasPlugin("org.frege-lang")
- }
-}