Skip to content

Commit

Permalink
Drop an obsolete test
Browse files Browse the repository at this point in the history
  • Loading branch information
squarejesse committed Aug 26, 2024
1 parent 43e82ba commit 3a8e791
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ package app.cash.redwood.tooling.codegen
import app.cash.redwood.schema.Property
import app.cash.redwood.schema.Schema
import app.cash.redwood.schema.Widget
import app.cash.redwood.tooling.schema.ProtocolSchemaSet
import app.cash.redwood.tooling.schema.parseTestSchema
import assertk.all
import assertk.assertThat
import assertk.assertions.contains
import com.example.redwood.testapp.TestSchema
import org.junit.Test

class ProtocolGuestGenerationTest {
Expand Down Expand Up @@ -51,14 +48,4 @@ class ProtocolGuestGenerationTest {
""".trimMargin(),
)
}

@Test fun `dependency layout modifier are included in serialization`() {
val schemaSet = ProtocolSchemaSet.load(TestSchema::class)

val fileSpec = generateComposeProtocolModifierSerialization(schemaSet)
assertThat(fileSpec.toString()).all {
contains("is TestRowVerticalAlignment -> TestRowVerticalAlignmentSerializer.encode(json, this)")
contains("is Grow -> GrowSerializer.encode(json, this)")
}
}
}

0 comments on commit 3a8e791

Please sign in to comment.