diff --git a/snark-storage-driver/src/test/kotlin/space/kscience/snark/storage/JustCreates.kt b/snark-storage-driver/src/test/kotlin/space/kscience/snark/storage/JustCreates.kt new file mode 100644 index 0000000..ef9478a --- /dev/null +++ b/snark-storage-driver/src/test/kotlin/space/kscience/snark/storage/JustCreates.kt @@ -0,0 +1,25 @@ +package space.kscience.snark.storage + +import org.junit.jupiter.api.Test +import kotlin.io.path.createTempDirectory + +class JustCreates { + + @Test + fun s3Created() { + val dir = Directory.fromConfig(S3ServiceConfig) + dir.close() + } + + @Test + fun s3BucketCreated() { + val dir = Directory.fromConfig(S3BucketConfig("snark-test")) + dir.close() + } + + @Test + fun localCreated() { + val dir = Directory.fromConfig(LocalConfig(createTempDirectory("snark-test"))) + dir.close() + } +} \ No newline at end of file