diff --git a/build-logic/convention/src/main/kotlin/AndroidFeatureConventionPlugin.kt b/build-logic/convention/src/main/kotlin/AndroidFeatureConventionPlugin.kt index 873bc36dd0..d05cb6370b 100644 --- a/build-logic/convention/src/main/kotlin/AndroidFeatureConventionPlugin.kt +++ b/build-logic/convention/src/main/kotlin/AndroidFeatureConventionPlugin.kt @@ -18,7 +18,7 @@ class AndroidFeatureConventionPlugin : Plugin { extensions.configure { defaultConfig { // set custom test runner - testInstrumentationRunner = "com.mifos.core.testing.MifosTestRunner" +// testInstrumentationRunner = "com.mifos.core.testing.MifosTestRunner" } testOptions.animationsDisabled = true configureGradleManagedDevices(this) @@ -44,13 +44,11 @@ class AndroidFeatureConventionPlugin : Plugin { add("androidTestImplementation", libs.findLibrary("androidx.lifecycle.runtimeTesting").get()) add("testImplementation", kotlin("test")) - add("testImplementation", project(":core:testing")) add("testImplementation", libs.findLibrary("hilt.android.testing").get()) add("testImplementation", libs.findLibrary("squareup.okhttp").get()) add("debugImplementation", libs.findLibrary("androidx.compose.ui.test.manifest").get()) - add("androidTestImplementation", project(":core:testing")) add("androidTestImplementation", libs.findLibrary("androidx.navigation.testing").get()) add("androidTestImplementation", libs.findLibrary("androidx.compose.ui.test").get()) add("androidTestImplementation", libs.findLibrary("hilt.android.testing").get()) diff --git a/build-logic/convention/src/main/kotlin/AndroidTestConventionPlugin.kt b/build-logic/convention/src/main/kotlin/AndroidTestConventionPlugin.kt deleted file mode 100644 index 9cdd92a80d..0000000000 --- a/build-logic/convention/src/main/kotlin/AndroidTestConventionPlugin.kt +++ /dev/null @@ -1,23 +0,0 @@ -import com.android.build.gradle.TestExtension -import org.gradle.api.Plugin -import org.gradle.api.Project -import org.gradle.kotlin.dsl.configure -import org.mifos.configureGradleManagedDevices -import org.mifos.configureKotlinAndroid - -class AndroidTestConventionPlugin : Plugin { - override fun apply(target: Project) { - with(target) { - with(pluginManager) { - apply("com.android.test") - apply("org.jetbrains.kotlin.android") - } - - extensions.configure { - configureKotlinAndroid(this) - configureGradleManagedDevices(this) - defaultConfig.targetSdk = 34 - } - } - } -} diff --git a/cmp-navigation/build.gradle.kts b/cmp-navigation/build.gradle.kts index 907d185a61..f46d2ebfb9 100644 --- a/cmp-navigation/build.gradle.kts +++ b/cmp-navigation/build.gradle.kts @@ -26,7 +26,6 @@ kotlin { implementation(projects.core.datastore) implementation(projects.core.database) implementation(projects.core.network) - implementation(projects.core.testing) implementation(projects.feature.about) implementation(projects.feature.activate) diff --git a/cmp-navigation/src/main/kotlin/com/mifos/cmp/navigation/KoinModules.kt b/cmp-navigation/src/main/kotlin/com/mifos/cmp/navigation/KoinModules.kt index 2f05d93ac5..276d483b90 100644 --- a/cmp-navigation/src/main/kotlin/com/mifos/cmp/navigation/KoinModules.kt +++ b/cmp-navigation/src/main/kotlin/com/mifos/cmp/navigation/KoinModules.kt @@ -15,8 +15,6 @@ import com.mifos.core.datastore.di.PreferencesModule import com.mifos.core.domain.di.UseCaseModule import com.mifos.core.network.di.DataManagerModule import com.mifos.core.network.di.NetworkModule -import com.mifos.core.testing.di.TestDispatcherModule -import com.mifos.core.testing.di.TestDispatchersModule import com.mifos.feature.about.di.AboutModule import com.mifos.feature.activate.di.ActivateModule import com.mifos.feature.auth.di.AuthModule @@ -62,13 +60,6 @@ object KoinModules { ) } - private val testingModules = module { - includes( - TestDispatcherModule, - TestDispatchersModule, - ) - } - private val featureModules = module { includes( AboutModule, @@ -94,7 +85,6 @@ object KoinModules { } val allModules = listOf( - testingModules, commonModules, domainModule, dataModules, diff --git a/core/testing/.gitignore b/core/testing/.gitignore deleted file mode 100644 index 42afabfd2a..0000000000 --- a/core/testing/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build \ No newline at end of file diff --git a/core/testing/README.md b/core/testing/README.md deleted file mode 100644 index 5a35d379be..0000000000 --- a/core/testing/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# :core:testing module -## Dependency graph -![Dependency graph](../../docs/images/graphs/dep_graph_core_testing.svg) diff --git a/core/testing/build.gradle.kts b/core/testing/build.gradle.kts deleted file mode 100644 index 44f50eb090..0000000000 --- a/core/testing/build.gradle.kts +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2024 Mifos Initiative - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - * - * See https://github.com/openMF/android-client/blob/master/LICENSE.md - */ -plugins { - alias(libs.plugins.mifos.android.library) - alias(libs.plugins.mifos.android.library.compose) -// alias(libs.plugins.mifos.android.hilt) - alias(libs.plugins.mifos.android.koin) - -} - -android { - namespace = "com.mifos.core.testing" -} - -dependencies { - - api(kotlin("test")) - api(libs.androidx.compose.ui.test) - api(projects.core.data) - api(projects.core.model) - - debugApi(libs.androidx.compose.ui.test.manifest) - - implementation(libs.androidx.test.rules) - implementation(libs.hilt.android.testing) - implementation(libs.kotlinx.coroutines.test) - implementation(libs.kotlinx.datetime) - implementation(projects.core.common) - implementation(projects.core.designsystem) -} \ No newline at end of file diff --git a/core/testing/consumer-rules.pro b/core/testing/consumer-rules.pro deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/core/testing/proguard-rules.pro b/core/testing/proguard-rules.pro deleted file mode 100644 index 481bb43481..0000000000 --- a/core/testing/proguard-rules.pro +++ /dev/null @@ -1,21 +0,0 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/core/testing/src/main/AndroidManifest.xml b/core/testing/src/main/AndroidManifest.xml deleted file mode 100644 index b1f5dbb779..0000000000 --- a/core/testing/src/main/AndroidManifest.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - \ No newline at end of file diff --git a/core/testing/src/main/java/com/mifos/core/testing/MifosTestRunner.kt b/core/testing/src/main/java/com/mifos/core/testing/MifosTestRunner.kt deleted file mode 100644 index f1ec69fa87..0000000000 --- a/core/testing/src/main/java/com/mifos/core/testing/MifosTestRunner.kt +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 2024 Mifos Initiative - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - * - * See https://github.com/openMF/android-client/blob/master/LICENSE.md - */ -package com.mifos.core.testing - -import android.app.Application -import android.content.Context -import androidx.test.runner.AndroidJUnitRunner -import dagger.hilt.android.testing.HiltTestApplication - -/** - * A custom runner to set up the instrumented application class for tests. - */ -class MifosTestRunner : AndroidJUnitRunner() { - override fun newApplication(cl: ClassLoader, name: String, context: Context): Application = - super.newApplication(cl, HiltTestApplication::class.java.name, context) -} diff --git a/core/testing/src/main/java/com/mifos/core/testing/di/TestDispatcherModule.kt b/core/testing/src/main/java/com/mifos/core/testing/di/TestDispatcherModule.kt deleted file mode 100644 index 44b03c488a..0000000000 --- a/core/testing/src/main/java/com/mifos/core/testing/di/TestDispatcherModule.kt +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright 2024 Mifos Initiative - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - * - * See https://github.com/openMF/android-client/blob/master/LICENSE.md - */ -package com.mifos.core.testing.di - -import kotlinx.coroutines.test.TestDispatcher -import kotlinx.coroutines.test.UnconfinedTestDispatcher -import org.koin.dsl.module - -val TestDispatcherModule = module { - single { UnconfinedTestDispatcher() } -} diff --git a/core/testing/src/main/java/com/mifos/core/testing/di/TestDispatchersModule.kt b/core/testing/src/main/java/com/mifos/core/testing/di/TestDispatchersModule.kt deleted file mode 100644 index 2d40c671ef..0000000000 --- a/core/testing/src/main/java/com/mifos/core/testing/di/TestDispatchersModule.kt +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2024 Mifos Initiative - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - * - * See https://github.com/openMF/android-client/blob/master/LICENSE.md - */ -package com.mifos.core.testing.di - -import com.mifos.core.common.network.MifosDispatchers -import kotlinx.coroutines.CoroutineDispatcher -import kotlinx.coroutines.test.TestDispatcher -import org.koin.core.qualifier.named -import org.koin.dsl.module - -val TestDispatchersModule = module { - single(named(MifosDispatchers.IO)) { get() } - single(named(MifosDispatchers.Default)) { get() } -} diff --git a/core/testing/src/main/java/com/mifos/core/testing/repository/TestGroupsListRepository.kt b/core/testing/src/main/java/com/mifos/core/testing/repository/TestGroupsListRepository.kt deleted file mode 100644 index edaf84fa8f..0000000000 --- a/core/testing/src/main/java/com/mifos/core/testing/repository/TestGroupsListRepository.kt +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Copyright 2024 Mifos Initiative - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - * - * See https://github.com/openMF/android-client/blob/master/LICENSE.md - */ -package com.mifos.core.testing.repository - -import com.mifos.core.common.utils.Page -import com.mifos.core.data.repository.GroupsListRepository -import com.mifos.room.entities.group.GroupEntity -import kotlinx.coroutines.flow.Flow -import kotlinx.coroutines.flow.MutableStateFlow -import kotlinx.coroutines.flow.emptyFlow - -const val ERROR_MESSAGE = "Unable to load data from server" - -class TestGroupsListRepository : GroupsListRepository { - private val data = MutableStateFlow?>(sampleGroups) - - override suspend fun getAllGroups(paged: Boolean, offset: Int, limit: Int): List { - return if (data.value == null) { - throw RuntimeException(ERROR_MESSAGE) - } else { - data.value!!.getPagedData(offset, limit) - } - } - - override fun getAllLocalGroups(): Flow> { - return emptyFlow() - } - - fun setGroupsData(list: List?) { - data.value = list - } -} - -val sampleGroups = listOf( - GroupEntity( - id = 1, - accountNo = "ACC-001", - name = "Group 1", - ), - GroupEntity( - id = 2, - accountNo = "ACC-002", - name = "Group 2", - ), - GroupEntity( - id = 3, - accountNo = "ACC-003", - name = "Group 3", - ), - GroupEntity( - id = 4, - accountNo = "ACC-004", - name = "Group 4", - ), - GroupEntity( - id = 5, - accountNo = "ACC-005", - name = "Group 5", - ), - GroupEntity( - id = 6, - accountNo = "ACC-006", - name = "Group 6", - ), - GroupEntity( - id = 7, - accountNo = "ACC-007", - name = "Group 7", - ), - GroupEntity( - id = 8, - accountNo = "ACC-008", - name = "Group 8", - ), - GroupEntity( - id = 9, - accountNo = "ACC-009", - name = "Group 9", - ), - GroupEntity( - id = 10, - accountNo = "ACC-010", - name = "Group 10", - ), - GroupEntity( - id = 11, - accountNo = "ACC-011", - name = "Group 11", - ), - GroupEntity( - id = 12, - accountNo = "ACC-012", - name = "Group 12", - ), - GroupEntity( - id = 13, - accountNo = "ACC-013", - name = "Group 13", - ), - GroupEntity( - id = 14, - accountNo = "ACC-014", - name = "Group 14", - ), - GroupEntity( - id = 15, - accountNo = "ACC-015", - name = "Group 15", - ), - GroupEntity( - id = 16, - accountNo = "ACC-016", - name = "Group 16", - ), - GroupEntity( - id = 17, - accountNo = "ACC-017", - name = "Group 17", - ), - GroupEntity( - id = 18, - accountNo = "ACC-018", - name = "Group 18", - ), - GroupEntity( - id = 19, - accountNo = "ACC-019", - name = "Group 19", - ), - GroupEntity( - id = 20, - accountNo = "ACC-020", - name = "Group 20", - ), - GroupEntity( - id = 21, - accountNo = "ACC-021", - name = "Group 21", - ), - GroupEntity( - id = 22, - accountNo = "ACC-022", - name = "Group 22", - ), - GroupEntity( - id = 23, - accountNo = "ACC-023", - name = "Group 23", - ), - GroupEntity( - id = 24, - accountNo = "ACC-024", - name = "Group 24", - ), - GroupEntity( - id = 25, - accountNo = "ACC-025", - name = "Group 25", - ), - GroupEntity( - id = 26, - accountNo = "ACC-026", - name = "Group 26", - ), - GroupEntity( - id = 27, - accountNo = "ACC-027", - name = "Group 27", - ), - GroupEntity( - id = 28, - accountNo = "ACC-028", - name = "Group 28", - ), - GroupEntity( - id = 29, - accountNo = "ACC-029", - name = "Group 29", - ), - GroupEntity( - id = 30, - accountNo = "ACC-030", - name = "Group 30", - ), -) - -fun List.getPagedData(offset: Int, limit: Int): List { - println("getPagedData - offset - $offset && limit - $limit") - // Adjust offset to include first item if needed - val adjustedOffset = (offset - 1).coerceAtLeast(0) - - if (adjustedOffset >= size) { - return emptyList() - } - val endIndex = (adjustedOffset + limit).coerceAtMost(size) - return subList(adjustedOffset, endIndex) -} diff --git a/core/testing/src/main/java/com/mifos/core/testing/repository/TestSearchRepository.kt b/core/testing/src/main/java/com/mifos/core/testing/repository/TestSearchRepository.kt deleted file mode 100644 index 8189827533..0000000000 --- a/core/testing/src/main/java/com/mifos/core/testing/repository/TestSearchRepository.kt +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2024 Mifos Initiative - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - * - * See https://github.com/openMF/android-client/blob/master/LICENSE.md - */ -package com.mifos.core.testing.repository - -import com.mifos.core.data.repository.SearchRepository -import com.mifos.core.model.objects.SearchedEntity -import kotlinx.coroutines.flow.Flow -import kotlinx.coroutines.flow.MutableStateFlow -import kotlinx.coroutines.flow.map -import kotlinx.coroutines.flow.update -import org.jetbrains.annotations.TestOnly - -class TestSearchRepository : SearchRepository { - - private val sampleResults = MutableStateFlow(emptyList()) - - override suspend fun searchResources( - query: String, - resources: String?, - exactMatch: Boolean?, - ): Flow> { - return sampleResults.map { list -> - when { - query.isBlank() && resources.isNullOrBlank() -> emptyList() - else -> { - list.asSequence().filter { entity -> - ( - resources.isNullOrBlank() || entity.entityType.equals( - resources, - ignoreCase = true, - ) - ) && ( - query.isBlank() || when { - exactMatch == true -> entity.entityName.equals(query, ignoreCase = true) || - entity.entityAccountNo.equals(query, ignoreCase = true) || - entity.parentName.equals(query, true) - - else -> entity.entityName?.contains(query, ignoreCase = true) == true || - entity.entityAccountNo?.contains(query, ignoreCase = true) == true || - entity.parentName?.contains(query, true) == true - } - ) - }.toList() - } - } - } - } - - @TestOnly - fun addSampleResults(results: List) { - sampleResults.update { results } - } -} diff --git a/core/testing/src/main/java/com/mifos/core/testing/util/MainDispatcherRule.kt b/core/testing/src/main/java/com/mifos/core/testing/util/MainDispatcherRule.kt deleted file mode 100644 index 7d4a51577f..0000000000 --- a/core/testing/src/main/java/com/mifos/core/testing/util/MainDispatcherRule.kt +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2024 Mifos Initiative - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - * - * See https://github.com/openMF/android-client/blob/master/LICENSE.md - */ -package com.mifos.core.testing.util - -import kotlinx.coroutines.Dispatchers -import kotlinx.coroutines.test.TestDispatcher -import kotlinx.coroutines.test.UnconfinedTestDispatcher -import kotlinx.coroutines.test.resetMain -import kotlinx.coroutines.test.setMain -import org.junit.rules.TestRule -import org.junit.rules.TestWatcher -import org.junit.runner.Description - -/** - * A JUnit [TestRule] that sets the Main dispatcher to [testDispatcher] - * for the duration of the test. - */ -class MainDispatcherRule( - private val testDispatcher: TestDispatcher = UnconfinedTestDispatcher(), -) : TestWatcher() { - override fun starting(description: Description) = Dispatchers.setMain(testDispatcher) - - override fun finished(description: Description) = Dispatchers.resetMain() -} diff --git a/feature/about/build.gradle.kts b/feature/about/build.gradle.kts index adfe1cab92..93f6acb9f6 100644 --- a/feature/about/build.gradle.kts +++ b/feature/about/build.gradle.kts @@ -18,7 +18,7 @@ android { } dependencies { - testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - androidTestImplementation(projects.core.testing) +// testImplementation(libs.hilt.android.testing) +// testImplementation(projects.core.testing) +// androidTestImplementation(projects.core.testing) } \ No newline at end of file diff --git a/feature/activate/build.gradle.kts b/feature/activate/build.gradle.kts index 0d6e501924..fb59864ef9 100644 --- a/feature/activate/build.gradle.kts +++ b/feature/activate/build.gradle.kts @@ -22,7 +22,5 @@ dependencies { implementation(projects.core.domain) testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - androidTestImplementation(projects.core.testing) } \ No newline at end of file diff --git a/feature/auth/build.gradle.kts b/feature/auth/build.gradle.kts index f57c163bd2..f56aec2f6a 100644 --- a/feature/auth/build.gradle.kts +++ b/feature/auth/build.gradle.kts @@ -22,7 +22,4 @@ dependencies { implementation(projects.core.domain) testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) } diff --git a/feature/center/build.gradle.kts b/feature/center/build.gradle.kts index 228f05206c..3e0dad033d 100644 --- a/feature/center/build.gradle.kts +++ b/feature/center/build.gradle.kts @@ -27,10 +27,6 @@ dependencies { //DBFlow dependencies testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) - //paging compose implementation(libs.androidx.paging.compose) diff --git a/feature/checker-inbox-task/build.gradle.kts b/feature/checker-inbox-task/build.gradle.kts index f04a509476..60db3428e3 100644 --- a/feature/checker-inbox-task/build.gradle.kts +++ b/feature/checker-inbox-task/build.gradle.kts @@ -26,7 +26,4 @@ dependencies { implementation(libs.coil.kt.compose) testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) } \ No newline at end of file diff --git a/feature/client/build.gradle.kts b/feature/client/build.gradle.kts index 349a0dcd07..ef941fd4e2 100644 --- a/feature/client/build.gradle.kts +++ b/feature/client/build.gradle.kts @@ -32,9 +32,6 @@ dependencies { implementation(project(":feature:data-table")) testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) implementation(libs.androidx.material) diff --git a/feature/collectionSheet/build.gradle.kts b/feature/collectionSheet/build.gradle.kts index 4dc23d3456..852824768c 100644 --- a/feature/collectionSheet/build.gradle.kts +++ b/feature/collectionSheet/build.gradle.kts @@ -26,9 +26,6 @@ dependencies { //DBFlow dependencies testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) implementation(libs.kotlinx.serialization.json) } \ No newline at end of file diff --git a/feature/data-table/build.gradle.kts b/feature/data-table/build.gradle.kts index 483375d0be..6b42dbc025 100644 --- a/feature/data-table/build.gradle.kts +++ b/feature/data-table/build.gradle.kts @@ -32,9 +32,6 @@ dependencies { implementation(libs.androidx.paging.compose) testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) implementation(libs.androidx.material) diff --git a/feature/document/build.gradle.kts b/feature/document/build.gradle.kts index 956c24e2a7..a5c6256ff6 100644 --- a/feature/document/build.gradle.kts +++ b/feature/document/build.gradle.kts @@ -23,9 +23,6 @@ dependencies { //DBFlow dependencies testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) implementation(libs.androidx.material) diff --git a/feature/groups/build.gradle.kts b/feature/groups/build.gradle.kts index 8488698a39..5dede6b88b 100644 --- a/feature/groups/build.gradle.kts +++ b/feature/groups/build.gradle.kts @@ -35,7 +35,4 @@ dependencies { debugApi(libs.androidx.compose.ui.test.manifest) testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) } \ No newline at end of file diff --git a/feature/loan/build.gradle.kts b/feature/loan/build.gradle.kts index bc6b4ab55b..5fd7970d50 100644 --- a/feature/loan/build.gradle.kts +++ b/feature/loan/build.gradle.kts @@ -23,9 +23,6 @@ dependencies { //DBFlow dependencies testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) implementation(libs.androidx.material) diff --git a/feature/note/build.gradle.kts b/feature/note/build.gradle.kts index 56dec9a0ed..116a1d54ae 100644 --- a/feature/note/build.gradle.kts +++ b/feature/note/build.gradle.kts @@ -21,7 +21,4 @@ dependencies { //DBFlow dependencies testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) } \ No newline at end of file diff --git a/feature/path-tracking/build.gradle.kts b/feature/path-tracking/build.gradle.kts index 3b22429326..880a04afb1 100644 --- a/feature/path-tracking/build.gradle.kts +++ b/feature/path-tracking/build.gradle.kts @@ -25,8 +25,6 @@ dependencies { implementation(libs.coil.kt.compose) testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - androidTestImplementation(projects.core.testing) implementation(libs.kotlinx.serialization.json) diff --git a/feature/report/build.gradle.kts b/feature/report/build.gradle.kts index b3b81db17b..84692c67ac 100644 --- a/feature/report/build.gradle.kts +++ b/feature/report/build.gradle.kts @@ -23,9 +23,6 @@ dependencies { //DBFlow dependencies testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) implementation(libs.kotlinx.serialization.json) - - androidTestImplementation(projects.core.testing) } \ No newline at end of file diff --git a/feature/savings/build.gradle.kts b/feature/savings/build.gradle.kts index b31de147eb..bec0c19cdc 100644 --- a/feature/savings/build.gradle.kts +++ b/feature/savings/build.gradle.kts @@ -20,9 +20,6 @@ android { dependencies { implementation(projects.core.domain) testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) implementation(libs.kotlinx.serialization.json) diff --git a/feature/search/build.gradle.kts b/feature/search/build.gradle.kts index a646538072..0b492daa39 100644 --- a/feature/search/build.gradle.kts +++ b/feature/search/build.gradle.kts @@ -30,7 +30,4 @@ dependencies { debugApi(libs.androidx.compose.ui.test.manifest) testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) } \ No newline at end of file diff --git a/feature/settings/build.gradle.kts b/feature/settings/build.gradle.kts index c974b8839a..5c08cb0542 100644 --- a/feature/settings/build.gradle.kts +++ b/feature/settings/build.gradle.kts @@ -30,8 +30,5 @@ dependencies { debugApi(libs.androidx.compose.ui.test.manifest) testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) } \ No newline at end of file diff --git a/feature/splash/build.gradle.kts b/feature/splash/build.gradle.kts index 687f3faaa5..b37c13c87f 100644 --- a/feature/splash/build.gradle.kts +++ b/feature/splash/build.gradle.kts @@ -22,7 +22,4 @@ dependencies { //DBFlow dependencies testImplementation(libs.hilt.android.testing) - testImplementation(projects.core.testing) - - androidTestImplementation(projects.core.testing) } \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index fb0dae3df7..ca6fe7c58d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -30,7 +30,6 @@ include(":core:domain") include(":core:datastore") include(":core:model") include(":core:network") -include(":core:testing") include(":core:ui") // Lint Modules