1 /*
2  * Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3  */
4 
5 package kotlinx.atomicfu.gradle.plugin.test.cases
6 
7 import kotlinx.atomicfu.gradle.plugin.test.framework.checker.*
8 import kotlinx.atomicfu.gradle.plugin.test.framework.runner.*
9 import kotlin.test.Test
10 
11 class JvmProjectTest {
12 
13     private val jvmSample: GradleBuild = createGradleBuildFromSources("jvm-sample")
14 
15     @Test
testJvmWithEnabledIrTransformationnull16     fun testJvmWithEnabledIrTransformation() {
17         jvmSample.enableJvmIrTransformation = true
18         jvmSample.checkJvmCompileOnlyDependencies()
19         jvmSample.checkConsumableDependencies()
20         jvmSample.buildAndCheckBytecode()
21     }
22 
23     @Test
testJvmWithDisabledIrTransformationnull24     fun testJvmWithDisabledIrTransformation() {
25         jvmSample.enableJvmIrTransformation = false
26         jvmSample.checkJvmCompileOnlyDependencies()
27         jvmSample.checkConsumableDependencies()
28         jvmSample.buildAndCheckBytecode()
29     }
30 }
31