Label Issues
opensource21 opened this issue · comments
Niels commented
I make a test with german translation
3.10. must be "Tag der Deutschen Einheit" not "German Unity Day"
Niels commented
Weird: if I run the test
@Test
public void testManagerDETagDerDeutschenEinheit() {
try {
HolidayManager instance = HolidayManager.getInstance(HolidayCalendar.GERMANY);
Set<Holiday> holidays = instance.getHolidays(LocalDate.of(2010, 10, 1),
LocalDate.of(2010, 10, 4));
Assert.assertEquals("Wrong number of holidays", 1, holidays.size());
for (Holiday d : holidays) {
Assert.assertEquals("Tag der Deutschen Einheit", d.getDescription(Locale.GERMANY));
}
} catch (Exception e) {
Assert.fail("Unexpected error occurred: " + e.getClass().getName() + " - " + e.getMessage());
}
}
In my project it fails. If I check out the source code everything is fine :-/
Perhaps something with spring? Any suggestions are welcome.
Niels commented
A wrong properties-file was in my classpath, because I had made a quickfix in an older version. Sorry for the trouble.
Sven Diedrichsen commented
No problem.