From 2eae6cf9842d79f7159356a928d1b17f4f009058 Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Thu, 30 Nov 2023 12:08:18 +0100 Subject: [PATCH] [orx-color] Move DescribeSpec based tests to jvmTest --- orx-color/build.gradle.kts | 8 ++++++++ .../kotlin/spaces => jvmTest/kotlin}/TestMix.kt | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) rename orx-color/src/{commonTest/kotlin/spaces => jvmTest/kotlin}/TestMix.kt (98%) diff --git a/orx-color/build.gradle.kts b/orx-color/build.gradle.kts index abcb2eb9..b0719cf0 100644 --- a/orx-color/build.gradle.kts +++ b/orx-color/build.gradle.kts @@ -30,6 +30,14 @@ kotlin { } } + val jvmTest by getting { + dependencies { + implementation(libs.kotlin.serialization.json) + implementation(libs.kotest.assertions) + implementation(libs.kotest.framework.engine) + } + } + val jvmDemo by getting { dependencies { implementation(project(":orx-camera")) diff --git a/orx-color/src/commonTest/kotlin/spaces/TestMix.kt b/orx-color/src/jvmTest/kotlin/TestMix.kt similarity index 98% rename from orx-color/src/commonTest/kotlin/spaces/TestMix.kt rename to orx-color/src/jvmTest/kotlin/TestMix.kt index dafb287a..97daf257 100644 --- a/orx-color/src/commonTest/kotlin/spaces/TestMix.kt +++ b/orx-color/src/jvmTest/kotlin/TestMix.kt @@ -1,5 +1,3 @@ -package spaces - import io.kotest.core.spec.style.DescribeSpec import org.openrndr.color.ColorRGBa import org.openrndr.color.Linearity