Move viewfolder/impl tests to the features.viewfolder.impl package

The tests and fakes were in `features.viewfolder.test.*`, which looks like a package of a test module, while they are in the `impl` module and test code from `features.viewfolder.impl.*`.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benoit Marty
2026-10-05 13:56:41 +02:00
parent bbaa83c8b8
commit 845a193500
6 changed files with 6 additions and 21 deletions
@@ -6,9 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.features.viewfolder.test.file
import io.element.android.features.viewfolder.impl.file.FileContentReader
package io.element.android.features.viewfolder.impl.file
class FakeFileContentReader : FileContentReader {
private var result: Result<List<String>> = Result.success(emptyList())
@@ -6,9 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.features.viewfolder.test.file
import io.element.android.features.viewfolder.impl.file.FileSave
package io.element.android.features.viewfolder.impl.file
class FakeFileSave : FileSave {
var hasBeenCalled = false
@@ -6,9 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.features.viewfolder.test.file
import io.element.android.features.viewfolder.impl.file.FileShare
package io.element.android.features.viewfolder.impl.file
class FakeFileShare : FileShare {
var hasBeenCalled = false
@@ -6,18 +6,12 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.features.viewfolder.test.file
package io.element.android.features.viewfolder.impl.file
import app.cash.molecule.RecompositionMode
import app.cash.molecule.moleculeFlow
import app.cash.turbine.test
import com.google.common.truth.Truth.assertThat
import io.element.android.features.viewfolder.impl.file.ColorationMode
import io.element.android.features.viewfolder.impl.file.FileContentReader
import io.element.android.features.viewfolder.impl.file.FileSave
import io.element.android.features.viewfolder.impl.file.FileShare
import io.element.android.features.viewfolder.impl.file.ViewFileEvent
import io.element.android.features.viewfolder.impl.file.ViewFilePresenter
import io.element.android.libraries.androidutils.clipboard.ClipboardHelper
import io.element.android.libraries.androidutils.clipboard.FakeClipboardHelper
import io.element.android.libraries.androidutils.toast.FakeToastHelper
@@ -6,9 +6,8 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.features.viewfolder.test.folder
package io.element.android.features.viewfolder.impl.folder
import io.element.android.features.viewfolder.impl.folder.FolderExplorer
import io.element.android.features.viewfolder.impl.model.Item
class FakeFolderExplorer : FolderExplorer {
@@ -6,14 +6,12 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.features.viewfolder.test.folder
package io.element.android.features.viewfolder.impl.folder
import app.cash.molecule.RecompositionMode
import app.cash.molecule.moleculeFlow
import app.cash.turbine.test
import com.google.common.truth.Truth.assertThat
import io.element.android.features.viewfolder.impl.folder.FolderExplorer
import io.element.android.features.viewfolder.impl.folder.ViewFolderPresenter
import io.element.android.features.viewfolder.impl.model.Item
import io.element.android.libraries.core.meta.BuildMeta
import io.element.android.libraries.matrix.test.core.aBuildMeta