You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
525 B
32 lines
525 B
import org.junit.jupiter.api.BeforeAll;
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
import static org.junit.jupiter.api.Assertions.*;
|
|
|
|
class StorageTest {
|
|
|
|
static Storage storage;
|
|
|
|
@BeforeAll
|
|
static void init() {
|
|
storage = new Storage();
|
|
}
|
|
|
|
@Test
|
|
void constructor() {
|
|
assertInstanceOf(Storage.class, storage);
|
|
}
|
|
|
|
@Test
|
|
void export() {
|
|
}
|
|
|
|
@Test
|
|
void load() {
|
|
}
|
|
|
|
@Test
|
|
void writeFile() {
|
|
assertTrue(storage.writeFile("/tmp/test.txt", "test"));
|
|
}
|
|
}
|