From 16276cc4521feac5d34c54d14371a0af9ecb57f7 Mon Sep 17 00:00:00 2001 From: Christian Schmitz Date: Tue, 12 Jul 2022 21:01:06 +0200 Subject: [PATCH] test: rename test package --- .../test/java/xyz/tynn/astring/core/AStringToastTest.java | 2 +- .../xyz/tynn/astring/core/test}/MockkCore.kt | 2 +- .../java/xyz/tynn/astring/material/AStringSnackbarTest.java | 6 +++--- .../xyz/tynn/astring/material/test}/MockkMaterial.kt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename ktx/core/src/test/{java/xyz/tynn/astring/testing/mockk => kotlin/xyz/tynn/astring/core/test}/MockkCore.kt (88%) rename ktx/material/src/test/{java/xyz/tynn/astring/testing/mockk => kotlin/xyz/tynn/astring/material/test}/MockkMaterial.kt (94%) diff --git a/ktx/core/src/test/java/xyz/tynn/astring/core/AStringToastTest.java b/ktx/core/src/test/java/xyz/tynn/astring/core/AStringToastTest.java index 2683f2b..711e57a 100644 --- a/ktx/core/src/test/java/xyz/tynn/astring/core/AStringToastTest.java +++ b/ktx/core/src/test/java/xyz/tynn/astring/core/AStringToastTest.java @@ -9,7 +9,7 @@ import static xyz.tynn.astring.testing.mockk.MockKt.init; import static xyz.tynn.astring.testing.mockk.MockKt.prepare; import static xyz.tynn.astring.testing.mockk.MockKt.verify; -import static xyz.tynn.astring.testing.mockk.MockkCoreKt.mockkToastMakeText; +import static xyz.tynn.astring.core.test.MockkCoreKt.mockkToastMakeText; import android.content.Context; import android.widget.Toast; diff --git a/ktx/core/src/test/java/xyz/tynn/astring/testing/mockk/MockkCore.kt b/ktx/core/src/test/kotlin/xyz/tynn/astring/core/test/MockkCore.kt similarity index 88% rename from ktx/core/src/test/java/xyz/tynn/astring/testing/mockk/MockkCore.kt rename to ktx/core/src/test/kotlin/xyz/tynn/astring/core/test/MockkCore.kt index f32aba0..9327a88 100644 --- a/ktx/core/src/test/java/xyz/tynn/astring/testing/mockk/MockkCore.kt +++ b/ktx/core/src/test/kotlin/xyz/tynn/astring/core/test/MockkCore.kt @@ -1,7 +1,7 @@ // Copyright 2021 Christian Schmitz // SPDX-License-Identifier: Apache-2.0 -package xyz.tynn.astring.testing.mockk +package xyz.tynn.astring.core.test import android.widget.Toast import android.widget.Toast.makeText diff --git a/ktx/material/src/test/java/xyz/tynn/astring/material/AStringSnackbarTest.java b/ktx/material/src/test/java/xyz/tynn/astring/material/AStringSnackbarTest.java index abdf336..5db30d4 100644 --- a/ktx/material/src/test/java/xyz/tynn/astring/material/AStringSnackbarTest.java +++ b/ktx/material/src/test/java/xyz/tynn/astring/material/AStringSnackbarTest.java @@ -9,9 +9,9 @@ import static xyz.tynn.astring.testing.mockk.MockKt.init; import static xyz.tynn.astring.testing.mockk.MockKt.prepare; import static xyz.tynn.astring.testing.mockk.MockKt.verify; -import static xyz.tynn.astring.testing.mockk.MockkMaterialKt.mockkAStringInvoke; -import static xyz.tynn.astring.testing.mockk.MockkMaterialKt.mockkGetMainLooper; -import static xyz.tynn.astring.testing.mockk.MockkMaterialKt.mockkSnackbarMake; +import static xyz.tynn.astring.material.test.MockkMaterialKt.mockkAStringInvoke; +import static xyz.tynn.astring.material.test.MockkMaterialKt.mockkGetMainLooper; +import static xyz.tynn.astring.material.test.MockkMaterialKt.mockkSnackbarMake; import android.os.Looper; import android.view.View; diff --git a/ktx/material/src/test/java/xyz/tynn/astring/testing/mockk/MockkMaterial.kt b/ktx/material/src/test/kotlin/xyz/tynn/astring/material/test/MockkMaterial.kt similarity index 94% rename from ktx/material/src/test/java/xyz/tynn/astring/testing/mockk/MockkMaterial.kt rename to ktx/material/src/test/kotlin/xyz/tynn/astring/material/test/MockkMaterial.kt index 9e1c388..49a2833 100644 --- a/ktx/material/src/test/java/xyz/tynn/astring/testing/mockk/MockkMaterial.kt +++ b/ktx/material/src/test/kotlin/xyz/tynn/astring/material/test/MockkMaterial.kt @@ -1,7 +1,7 @@ // Copyright 2021 Christian Schmitz // SPDX-License-Identifier: Apache-2.0 -package xyz.tynn.astring.testing.mockk +package xyz.tynn.astring.material.test import android.os.Looper.getMainLooper import com.google.android.material.snackbar.Snackbar