Implement multipart tests #4
|
@ -54,7 +54,7 @@ class BackupClientTest {
|
|||
val bytes = ByteArray(1024 * 1024 * 32)
|
||||
Random.nextBytes(bytes)
|
||||
listOf(
|
||||
Path("_test.txt").apply { writeBytes(bytes) }
|
||||
Path("_test.txt").apply { writeBytes(bytes) },
|
||||
)
|
||||
},
|
||||
"large directory structure" to {
|
||||
|
@ -69,7 +69,7 @@ class BackupClientTest {
|
|||
Path("_test/another-folder/c.txt").createFile(),
|
||||
Path("_test/README.md").apply { writeBytes(bytes2) },
|
||||
)
|
||||
}
|
||||
},
|
||||
).map { (name, pathsGen) ->
|
||||
DynamicTest.dynamicTest(name) {
|
||||
val paths = pathsGen()
|
||||
|
|
Reference in New Issue