From 94e49520d7435ec08118c5a7e5f2b8afe6e531d8 Mon Sep 17 00:00:00 2001 From: Him188 Date: Mon, 16 May 2022 21:27:45 +0100 Subject: [PATCH] Move StructureToStringTransformerNew and its relevant files from jvmTest to commonTest --- .../kotlin/utils/StructureToStringTransformerLegacy.kt | 2 +- .../kotlin/utils/StructureToStringTransformerNew.kt | 2 +- .../kotlin/utils/test/StructureToStringTransformerNewTest.kt | 2 +- .../net.mamoe.mirai.internal.utils.StructureToStringTransformer | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename mirai-core/src/{jvmTest => commonTest}/kotlin/utils/StructureToStringTransformerLegacy.kt (99%) rename mirai-core/src/{jvmTest => commonTest}/kotlin/utils/StructureToStringTransformerNew.kt (95%) rename mirai-core/src/{jvmTest => commonTest}/kotlin/utils/test/StructureToStringTransformerNewTest.kt (93%) rename mirai-core/src/{jvmTest => commonTest}/resources/META-INF/services/net.mamoe.mirai.internal.utils.StructureToStringTransformer (86%) diff --git a/mirai-core/src/jvmTest/kotlin/utils/StructureToStringTransformerLegacy.kt b/mirai-core/src/commonTest/kotlin/utils/StructureToStringTransformerLegacy.kt similarity index 99% rename from mirai-core/src/jvmTest/kotlin/utils/StructureToStringTransformerLegacy.kt rename to mirai-core/src/commonTest/kotlin/utils/StructureToStringTransformerLegacy.kt index e5c289e6a..23666fc10 100644 --- a/mirai-core/src/jvmTest/kotlin/utils/StructureToStringTransformerLegacy.kt +++ b/mirai-core/src/commonTest/kotlin/utils/StructureToStringTransformerLegacy.kt @@ -1,5 +1,5 @@ /* - * Copyright 2019-2021 Mamoe Technologies and contributors. + * Copyright 2019-2022 Mamoe Technologies and contributors. * * 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证. * Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link. diff --git a/mirai-core/src/jvmTest/kotlin/utils/StructureToStringTransformerNew.kt b/mirai-core/src/commonTest/kotlin/utils/StructureToStringTransformerNew.kt similarity index 95% rename from mirai-core/src/jvmTest/kotlin/utils/StructureToStringTransformerNew.kt rename to mirai-core/src/commonTest/kotlin/utils/StructureToStringTransformerNew.kt index 717133243..198baea4c 100644 --- a/mirai-core/src/jvmTest/kotlin/utils/StructureToStringTransformerNew.kt +++ b/mirai-core/src/commonTest/kotlin/utils/StructureToStringTransformerNew.kt @@ -1,5 +1,5 @@ /* - * Copyright 2019-2021 Mamoe Technologies and contributors. + * Copyright 2019-2022 Mamoe Technologies and contributors. * * 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证. * Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link. diff --git a/mirai-core/src/jvmTest/kotlin/utils/test/StructureToStringTransformerNewTest.kt b/mirai-core/src/commonTest/kotlin/utils/test/StructureToStringTransformerNewTest.kt similarity index 93% rename from mirai-core/src/jvmTest/kotlin/utils/test/StructureToStringTransformerNewTest.kt rename to mirai-core/src/commonTest/kotlin/utils/test/StructureToStringTransformerNewTest.kt index 1b0f37dcf..9cc035748 100644 --- a/mirai-core/src/jvmTest/kotlin/utils/test/StructureToStringTransformerNewTest.kt +++ b/mirai-core/src/commonTest/kotlin/utils/test/StructureToStringTransformerNewTest.kt @@ -1,5 +1,5 @@ /* - * Copyright 2019-2021 Mamoe Technologies and contributors. + * Copyright 2019-2022 Mamoe Technologies and contributors. * * 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证. * Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link. diff --git a/mirai-core/src/jvmTest/resources/META-INF/services/net.mamoe.mirai.internal.utils.StructureToStringTransformer b/mirai-core/src/commonTest/resources/META-INF/services/net.mamoe.mirai.internal.utils.StructureToStringTransformer similarity index 86% rename from mirai-core/src/jvmTest/resources/META-INF/services/net.mamoe.mirai.internal.utils.StructureToStringTransformer rename to mirai-core/src/commonTest/resources/META-INF/services/net.mamoe.mirai.internal.utils.StructureToStringTransformer index 1b0ca2479..036675654 100644 --- a/mirai-core/src/jvmTest/resources/META-INF/services/net.mamoe.mirai.internal.utils.StructureToStringTransformer +++ b/mirai-core/src/commonTest/resources/META-INF/services/net.mamoe.mirai.internal.utils.StructureToStringTransformer @@ -1,5 +1,5 @@ # -# Copyright 2019-2021 Mamoe Technologies and contributors. +# Copyright 2019-2022 Mamoe Technologies and contributors. # # 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证. # Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.