Skip to content

Commit

Permalink
Add placeholder test for single line property
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Zynger committed Jun 4, 2020
1 parent a41ef12 commit bc20a99
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit bc20a99

Please sign in to comment.