Skip to content

Commit

Permalink
chore: Remove unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
tevincent committed Nov 7, 2024
1 parent 2784205 commit 1e8b8f7
Showing 1 changed file with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ import kotlin.test.Test
import kotlin.test.assertTrue
import kotlin.test.fail
import kotlin.uuid.ExperimentalUuidApi
import kotlin.uuid.Uuid

@OptIn(ExperimentalUuidApi::class)
class FileUtilsTest {

private val tree = mutableListOf<FileUi>()
Expand All @@ -37,32 +35,6 @@ class FileUtilsTest {
tree.clear()
}

@Test
fun basicTest() {
val textFile1 = FileUi(
uid = Uuid.random().toString(),
fileName = "file1.txt",
isFolder = false,
children = mutableListOf(),
parent = null,
localPath = "/file1.txt",
fileSize = 10L,
mimeType = null,
)
val folder1 = FileUi(
uid = Uuid.random().toString(),
fileName = "folder1",
isFolder = true,
children = mutableListOf(),
parent = null,
localPath = "/folder1",
fileSize = 10L,
mimeType = null,
)
val folder = FileUtils.findFolder(listOf("folder1", "folder2"), listOf(textFile1, folder1))
println(folder)
}

@Test
fun filesInRoot() {
val filesList = listOf(
Expand Down

0 comments on commit 1e8b8f7

Please sign in to comment.