ItEr30S17ValidacionEProbasFuncionais: Removing failing test cases, since the precondition is not checked now. bug #48
This commit is contained in:
parent
c3e9e4fbff
commit
d773053c1d
2 changed files with 0 additions and 15 deletions
|
|
@ -131,12 +131,6 @@ public class LoadPeriodTest {
|
|||
new LocalDate(endYear, endMonth, endDay), correctLoadLevel());
|
||||
}
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void loadPeriodsThatOverlapCannotBeSorted() {
|
||||
LoadPeriod.sort(Arrays.asList(create(2009, 4, 10, 2010, 1, 12), create(
|
||||
2009, 4, 11, 2011, 1, 20)));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void loadPeriodsThatDontOverlapCanBeSorted() {
|
||||
givenUnsortedListOfPeriods();
|
||||
|
|
|
|||
|
|
@ -85,13 +85,4 @@ public class LoadTimelineTest {
|
|||
assertThat(loadPeriods.get(1), sameInstance(l1));
|
||||
}
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void theLoadPeriodsMustNotOverlap() {
|
||||
LoadPeriod l1 = new LoadPeriod(new LocalDate(2009, 10, 5),
|
||||
new LocalDate(2009, 10, 11), new LoadLevel(20));
|
||||
LoadPeriod l2 = new LoadPeriod(new LocalDate(2009, 5, 3),
|
||||
new LocalDate(2009, 10, 10), new LoadLevel(20));
|
||||
new LoadTimeLine("bla", Arrays.asList(l1, l2));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue