|
@@ -72,14 +72,14 @@ class TimeLineDataSetterAndGetterTest {
|
|
assertEquals(timeLine, timeLineData.getTimeLine());
|
|
assertEquals(timeLine, timeLineData.getTimeLine());
|
|
}
|
|
}
|
|
|
|
|
|
- @SuppressWarnings("MismatchedQueryAndUpdateOfCollection")
|
|
|
|
@Test
|
|
@Test
|
|
void ClearTest() {
|
|
void ClearTest() {
|
|
SortedSet<String> refs = new TreeSet<>();
|
|
SortedSet<String> refs = new TreeSet<>();
|
|
refs.add(GetRandomString());
|
|
refs.add(GetRandomString());
|
|
- TreeMap<DMY, List<String>> timeLine = new TreeMap<>();
|
|
|
|
List<String> list = new ArrayList<>();
|
|
List<String> list = new ArrayList<>();
|
|
list.add(GetRandomString());
|
|
list.add(GetRandomString());
|
|
|
|
+ TreeMap<DMY, List<String>> timeLine = new TreeMap<>();
|
|
|
|
+ timeLine.put(dmyMock, list);
|
|
|
|
|
|
timeLineData.setRefs(refs);
|
|
timeLineData.setRefs(refs);
|
|
timeLineData.setTimeline(timeLine);
|
|
timeLineData.setTimeline(timeLine);
|
|
@@ -87,7 +87,6 @@ class TimeLineDataSetterAndGetterTest {
|
|
|
|
|
|
assertEquals(0, timeLineData.getRefs().size());
|
|
assertEquals(0, timeLineData.getRefs().size());
|
|
assertEquals(0, timeLineData.getTimeLine().size());
|
|
assertEquals(0, timeLineData.getTimeLine().size());
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|