diff --git a/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/Basic.fir.txt b/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/Basic.fir.txt deleted file mode 100644 index 185bd955..00000000 --- a/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/Basic.fir.txt +++ /dev/null @@ -1,22 +0,0 @@ -FILE: Basic.kt - @R|io/github/reactivecircus/chameleon/runtime/Chameleon|() public final class ComponentTest : R|kotlin/Any| { - public constructor(): R|ComponentTest| { - super() - } - - public final val snapshotTester: R|SnapshotTester| = R|/SnapshotTester.SnapshotTester|() - public get(): R|SnapshotTester| - - @R|Test|() public final fun snapshot_Component(): R|kotlin/Unit| { - this@R|/ComponentTest|.R|/ComponentTest.snapshotTester|.R|/SnapshotTester.snapshot|( = snapshot@fun (): R|kotlin/Unit| { - R|/Component|() - } - ) - } - - } - @R|Composable|() public final fun Component(): R|kotlin/Unit| { - } - public final fun box(): R|kotlin/String| { - ^box String(OK) - } diff --git a/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/ExistingThemeVariantProperty.fir.txt b/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/ExistingThemeVariantProperty.fir.txt deleted file mode 100644 index 15423a96..00000000 --- a/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/ExistingThemeVariantProperty.fir.txt +++ /dev/null @@ -1,25 +0,0 @@ -FILE: ExistingThemeVariantProperty.kt - @R|io/github/reactivecircus/chameleon/runtime/Chameleon|() public final class ComponentTest : R|kotlin/Any| { - public constructor(themeVariant: R|ThemeVariant|): R|ComponentTest| { - super() - } - - public final val themeVariant: R|ThemeVariant| = R|/themeVariant| - public get(): R|ThemeVariant| - - public final val snapshotTester: R|SnapshotTester| = R|/SnapshotTester.SnapshotTester|() - public get(): R|SnapshotTester| - - @R|Test|() public final fun snapshot_Component(): R|kotlin/Unit| { - this@R|/ComponentTest|.R|/ComponentTest.snapshotTester|.R|/SnapshotTester.snapshot|(this@R|/ComponentTest|.R|/ComponentTest.themeVariant|, = snapshot@fun (): R|kotlin/Unit| { - R|/Component|() - } - ) - } - - } - @R|Composable|() public final fun Component(): R|kotlin/Unit| { - } - public final fun box(): R|kotlin/String| { - ^box String(OK) - } diff --git a/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/NoSnapshotFunctionCalls.fir.txt b/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/NoSnapshotFunctionCalls.fir.txt deleted file mode 100644 index 2114b6a9..00000000 --- a/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/NoSnapshotFunctionCalls.fir.txt +++ /dev/null @@ -1,16 +0,0 @@ -FILE: NoSnapshotFunctionCalls.kt - @R|io/github/reactivecircus/chameleon/runtime/Chameleon|() public final class ComponentTest : R|kotlin/Any| { - public constructor(): R|ComponentTest| { - super() - } - - @R|Test|() public final fun foo(): R|kotlin/Unit| { - R|/Foo|() - } - - } - public final fun Foo(): R|kotlin/Unit| { - } - public final fun box(): R|kotlin/String| { - ^box String(OK) - } diff --git a/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/ThemeVariantArgumentProvided.fir.txt b/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/ThemeVariantArgumentProvided.fir.txt deleted file mode 100644 index 9941f6e9..00000000 --- a/build-logic/chameleon/chameleon-compiler-plugin/src/test/data/box/ThemeVariantArgumentProvided.fir.txt +++ /dev/null @@ -1,22 +0,0 @@ -FILE: ThemeVariantArgumentProvided.kt - @R|io/github/reactivecircus/chameleon/runtime/Chameleon|() public final class ComponentTest : R|kotlin/Any| { - public constructor(): R|ComponentTest| { - super() - } - - public final val snapshotTester: R|SnapshotTester| = R|/SnapshotTester.SnapshotTester|() - public get(): R|SnapshotTester| - - @R|Test|() public final fun snapshot_Component_Dark(): R|kotlin/Unit| { - this@R|/ComponentTest|.R|/ComponentTest.snapshotTester|.R|/SnapshotTester.snapshot|(Boolean(false), Q|ThemeVariant|.R|/ThemeVariant.Dark|, = snapshot@fun (): R|kotlin/Unit| { - R|/Component|() - } - ) - } - - } - @R|Composable|() public final fun Component(): R|kotlin/Unit| { - } - public final fun box(): R|kotlin/String| { - ^box String(OK) - } diff --git a/build-logic/chameleon/chameleon-compiler-plugin/src/test/kotlin/io/github/reactivecircus/chameleon/compiler/AbstractBoxTest.kt b/build-logic/chameleon/chameleon-compiler-plugin/src/test/kotlin/io/github/reactivecircus/chameleon/compiler/AbstractBoxTest.kt index 09cd6fc2..86f917f3 100644 --- a/build-logic/chameleon/chameleon-compiler-plugin/src/test/kotlin/io/github/reactivecircus/chameleon/compiler/AbstractBoxTest.kt +++ b/build-logic/chameleon/chameleon-compiler-plugin/src/test/kotlin/io/github/reactivecircus/chameleon/compiler/AbstractBoxTest.kt @@ -6,7 +6,6 @@ import org.jetbrains.kotlin.test.directives.CodegenTestDirectives.DUMP_IR import org.jetbrains.kotlin.test.directives.CodegenTestDirectives.IGNORE_DEXING import org.jetbrains.kotlin.test.directives.ConfigurationDirectives.WITH_STDLIB import org.jetbrains.kotlin.test.directives.FirDiagnosticsDirectives.DISABLE_GENERATED_FIR_TAGS -import org.jetbrains.kotlin.test.directives.FirDiagnosticsDirectives.FIR_DUMP import org.jetbrains.kotlin.test.directives.JvmEnvironmentConfigurationDirectives.FULL_JDK import org.jetbrains.kotlin.test.directives.JvmEnvironmentConfigurationDirectives.JVM_TARGET import org.jetbrains.kotlin.test.runners.codegen.AbstractFirLightTreeBlackBoxCodegenTest @@ -31,7 +30,6 @@ open class AbstractBoxTest : AbstractFirLightTreeBlackBoxCodegenTest() { +IGNORE_DEXING // Avoids loading R8 from the classpath. +DISABLE_GENERATED_FIR_TAGS - +FIR_DUMP +DUMP_IR } }