|
1 | 1 | package seedu.address.storage; |
2 | 2 |
|
3 | | -import org.junit.jupiter.api.Test; |
4 | | -import org.junit.jupiter.api.io.TempDir; |
5 | | -import seedu.address.commons.exceptions.DataConversionException; |
6 | | -import seedu.address.model.meeting.MeetingBook; |
7 | | -import seedu.address.model.meeting.ReadOnlyMeetingBook; |
8 | | -import seedu.address.model.person.AddressBook; |
9 | | -import seedu.address.model.person.ReadOnlyAddressBook; |
| 3 | +import static org.junit.jupiter.api.Assertions.assertEquals; |
| 4 | +import static seedu.address.testutil.Assert.assertThrows; |
| 5 | +import static seedu.address.testutil.TypicalMeetings.MEETING1; |
| 6 | +import static seedu.address.testutil.TypicalMeetings.MEETING6; |
| 7 | +import static seedu.address.testutil.TypicalMeetings.getTypicalMeetingBook; |
10 | 8 |
|
11 | 9 | import java.io.IOException; |
12 | 10 | import java.nio.file.Path; |
13 | 11 | import java.nio.file.Paths; |
14 | 12 | import java.util.Optional; |
15 | 13 |
|
16 | | -import static org.junit.jupiter.api.Assertions.assertEquals; |
17 | | -import static seedu.address.testutil.Assert.assertThrows; |
| 14 | +import org.junit.jupiter.api.Test; |
| 15 | +import org.junit.jupiter.api.io.TempDir; |
| 16 | + |
| 17 | +import seedu.address.commons.exceptions.DataConversionException; |
| 18 | +import seedu.address.model.meeting.MeetingBook; |
| 19 | +import seedu.address.model.meeting.ReadOnlyMeetingBook; |
18 | 20 |
|
19 | | -import static seedu.address.testutil.TypicalMeetings.*; |
20 | | -import static seedu.address.testutil.TypicalPersons.IDA; |
21 | 21 |
|
22 | 22 | public class JsonMeetingBookStorageTest { |
23 | 23 | private static final Path TEST_DATA_FOLDER = Paths.get("src", "test", "data", "JsonMeetingBookStorageTest"); |
@@ -47,7 +47,7 @@ public void readMeetingBook_missingFile_returnsEmptyOptional() throws Exception |
47 | 47 |
|
48 | 48 | @Test |
49 | 49 | public void readMeetingBook_invalidMeetingFile_throwsDataConversionException() throws Exception { |
50 | | - assertThrows(DataConversionException.class, () -> readMeetingBook("invalidMeetingMeetingBook.json") ); |
| 50 | + assertThrows(DataConversionException.class, () -> readMeetingBook("invalidMeetingMeetingBook.json")); |
51 | 51 | } |
52 | 52 |
|
53 | 53 | @Test |
|
0 commit comments