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