We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 738e020 commit e4f8baaCopy full SHA for e4f8baa
app/src/androidTest/java/com/nextcloud/utils/FileSortOrderTests.kt
@@ -23,6 +23,7 @@ import java.util.concurrent.CountDownLatch
23
import java.util.concurrent.TimeUnit
24
import kotlin.concurrent.thread
25
26
+@Suppress("MagicNumber", "TooManyFunctions")
27
class FileSortOrderTests {
28
29
private fun tmpFile(prefix: String, lastModified: Long? = null, size: Int? = null): File =
@@ -57,6 +58,7 @@ class FileSortOrderTests {
57
58
assertEquals(name, expected, actual)
59
}
60
61
+ @Suppress("TooGenericExceptionCaught")
62
private fun testConcurrency(files: MutableList<File>, sorter: FileSortOrder, iterations: Int = 50) {
63
val latch = CountDownLatch(iterations * 2)
64
val errors = mutableListOf<Throwable>()
0 commit comments