From afb9e8f554c7efa9d859083412b9dd98faf02cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Mon, 22 Jun 2026 20:40:11 +0200 Subject: [PATCH] test: Rename the integration tests module to :test-legacy The new :test module will only store the tests themselves, and a different module will execute the tests for the different dependencies we have. --- settings.gradle.kts | 2 +- {test => test-legacy}/README.md | 0 {test => test-legacy}/build.gradle.kts | 2 +- {test => test-legacy}/src/commonMain/kotlin/TestDatabase.kt | 2 +- {test => test-legacy}/src/commonTest/kotlin/AggregationTests.kt | 0 {test => test-legacy}/src/commonTest/kotlin/ArraysTest.kt | 0 .../src/commonTest/kotlin/BasicReadWriteTest.kt | 0 .../src/commonTest/kotlin/FilteredCollectionTest.kt | 2 +- {test => test-legacy}/src/commonTest/kotlin/MapsTest.kt | 2 +- {test => test-legacy}/src/commonTest/kotlin/SortTest.kt | 0 .../commonTest/kotlin/studies/AggregationProjectUnionWith.kt | 2 +- {test => test-legacy}/src/jsMain/kotlin/TestDatabase.js.kt | 2 +- {test => test-legacy}/src/jvmMain/kotlin/TestDatabase.jvm.kt | 0 13 files changed, 7 insertions(+), 7 deletions(-) rename {test => test-legacy}/README.md (100%) rename {test => test-legacy}/build.gradle.kts (95%) rename {test => test-legacy}/src/commonMain/kotlin/TestDatabase.kt (96%) rename {test => test-legacy}/src/commonTest/kotlin/AggregationTests.kt (100%) rename {test => test-legacy}/src/commonTest/kotlin/ArraysTest.kt (100%) rename {test => test-legacy}/src/commonTest/kotlin/BasicReadWriteTest.kt (100%) rename {test => test-legacy}/src/commonTest/kotlin/FilteredCollectionTest.kt (97%) rename {test => test-legacy}/src/commonTest/kotlin/MapsTest.kt (97%) rename {test => test-legacy}/src/commonTest/kotlin/SortTest.kt (100%) rename {test => test-legacy}/src/commonTest/kotlin/studies/AggregationProjectUnionWith.kt (99%) rename {test => test-legacy}/src/jsMain/kotlin/TestDatabase.js.kt (93%) rename {test => test-legacy}/src/jvmMain/kotlin/TestDatabase.jvm.kt (100%) diff --git a/settings.gradle.kts b/settings.gradle.kts index ef48450b..35dc1668 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -96,7 +96,7 @@ include( "driver-multiplatform-wire", "driver-multiplatform", - "test", + "test-legacy", "docs:website", "gradle:templates:template-app", diff --git a/test/README.md b/test-legacy/README.md similarity index 100% rename from test/README.md rename to test-legacy/README.md diff --git a/test/build.gradle.kts b/test-legacy/build.gradle.kts similarity index 95% rename from test/build.gradle.kts rename to test-legacy/build.gradle.kts index 94e559c7..7b075249 100644 --- a/test/build.gradle.kts +++ b/test-legacy/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/src/commonMain/kotlin/TestDatabase.kt b/test-legacy/src/commonMain/kotlin/TestDatabase.kt similarity index 96% rename from test/src/commonMain/kotlin/TestDatabase.kt rename to test-legacy/src/commonMain/kotlin/TestDatabase.kt index 390f450a..2028f6da 100644 --- a/test/src/commonMain/kotlin/TestDatabase.kt +++ b/test-legacy/src/commonMain/kotlin/TestDatabase.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/src/commonTest/kotlin/AggregationTests.kt b/test-legacy/src/commonTest/kotlin/AggregationTests.kt similarity index 100% rename from test/src/commonTest/kotlin/AggregationTests.kt rename to test-legacy/src/commonTest/kotlin/AggregationTests.kt diff --git a/test/src/commonTest/kotlin/ArraysTest.kt b/test-legacy/src/commonTest/kotlin/ArraysTest.kt similarity index 100% rename from test/src/commonTest/kotlin/ArraysTest.kt rename to test-legacy/src/commonTest/kotlin/ArraysTest.kt diff --git a/test/src/commonTest/kotlin/BasicReadWriteTest.kt b/test-legacy/src/commonTest/kotlin/BasicReadWriteTest.kt similarity index 100% rename from test/src/commonTest/kotlin/BasicReadWriteTest.kt rename to test-legacy/src/commonTest/kotlin/BasicReadWriteTest.kt diff --git a/test/src/commonTest/kotlin/FilteredCollectionTest.kt b/test-legacy/src/commonTest/kotlin/FilteredCollectionTest.kt similarity index 97% rename from test/src/commonTest/kotlin/FilteredCollectionTest.kt rename to test-legacy/src/commonTest/kotlin/FilteredCollectionTest.kt index 296131b7..77a15caf 100644 --- a/test/src/commonTest/kotlin/FilteredCollectionTest.kt +++ b/test-legacy/src/commonTest/kotlin/FilteredCollectionTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/src/commonTest/kotlin/MapsTest.kt b/test-legacy/src/commonTest/kotlin/MapsTest.kt similarity index 97% rename from test/src/commonTest/kotlin/MapsTest.kt rename to test-legacy/src/commonTest/kotlin/MapsTest.kt index f60e2378..eec0cc02 100644 --- a/test/src/commonTest/kotlin/MapsTest.kt +++ b/test-legacy/src/commonTest/kotlin/MapsTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/src/commonTest/kotlin/SortTest.kt b/test-legacy/src/commonTest/kotlin/SortTest.kt similarity index 100% rename from test/src/commonTest/kotlin/SortTest.kt rename to test-legacy/src/commonTest/kotlin/SortTest.kt diff --git a/test/src/commonTest/kotlin/studies/AggregationProjectUnionWith.kt b/test-legacy/src/commonTest/kotlin/studies/AggregationProjectUnionWith.kt similarity index 99% rename from test/src/commonTest/kotlin/studies/AggregationProjectUnionWith.kt rename to test-legacy/src/commonTest/kotlin/studies/AggregationProjectUnionWith.kt index f9d88b07..0706820c 100644 --- a/test/src/commonTest/kotlin/studies/AggregationProjectUnionWith.kt +++ b/test-legacy/src/commonTest/kotlin/studies/AggregationProjectUnionWith.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025, OpenSavvy and contributors. + * Copyright (c) 2025-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/src/jsMain/kotlin/TestDatabase.js.kt b/test-legacy/src/jsMain/kotlin/TestDatabase.js.kt similarity index 93% rename from test/src/jsMain/kotlin/TestDatabase.js.kt rename to test-legacy/src/jsMain/kotlin/TestDatabase.js.kt index 51d3e38b..ac221753 100644 --- a/test/src/jsMain/kotlin/TestDatabase.js.kt +++ b/test-legacy/src/jsMain/kotlin/TestDatabase.js.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024, OpenSavvy and contributors. + * Copyright (c) 2024-2026, OpenSavvy and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/src/jvmMain/kotlin/TestDatabase.jvm.kt b/test-legacy/src/jvmMain/kotlin/TestDatabase.jvm.kt similarity index 100% rename from test/src/jvmMain/kotlin/TestDatabase.jvm.kt rename to test-legacy/src/jvmMain/kotlin/TestDatabase.jvm.kt -- 2.51.2