From bc20a9996d9e3de0045585e48525c99df5e14aa0 Mon Sep 17 00:00:00 2001 From: Julio Zynger Date: Thu, 4 Jun 2020 19:58:30 +0200 Subject: [PATCH] Add placeholder test for single line property --- .../FloorPlanGradlePluginIntegrationTest.kt | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/floorplan-gradle-plugin/src/test/kotlin/com/zynger/floorplan/FloorPlanGradlePluginIntegrationTest.kt b/floorplan-gradle-plugin/src/test/kotlin/com/zynger/floorplan/FloorPlanGradlePluginIntegrationTest.kt index 09b544d..a71c226 100644 --- a/floorplan-gradle-plugin/src/test/kotlin/com/zynger/floorplan/FloorPlanGradlePluginIntegrationTest.kt +++ b/floorplan-gradle-plugin/src/test/kotlin/com/zynger/floorplan/FloorPlanGradlePluginIntegrationTest.kt @@ -3,6 +3,7 @@ package com.zynger.floorplan import com.google.common.truth.Truth.assertThat import org.gradle.testkit.runner.BuildResult import org.gradle.testkit.runner.GradleRunner +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.rules.TemporaryFolder @@ -213,6 +214,28 @@ class FloorPlanGradlePluginIntegrationTest { .withSuccessfulMessage() } + @Ignore("Unsupported feature. To be worked on.") + @Test + fun testSingleOutputFormatEnabledWithCollapsibleStatement() { + createSchemasDirectory() + writeBuildGradle( + """plugins { + | id "com.zynger.floorplan" + |} + | + |floorPlan { + | schemaLocation = "schemas" + | outputLocation = "schemas" + | outputFormat { + | svg.enabled = true + | } + |}""".trimMargin() + ) + floorPlanRunner() + .build() + .withSuccessfulMessage() + } + private fun floorPlanRunner(): GradleRunner { return GradleRunner.create() .withProjectDir(testProjectRoot.root)