diff --git a/src/test/java/hudson/plugins/tfs/commands/DetailedHistoryCommandTest.java b/src/test/java/hudson/plugins/tfs/commands/DetailedHistoryCommandTest.java index 991bd176b..d3e8c6c74 100644 --- a/src/test/java/hudson/plugins/tfs/commands/DetailedHistoryCommandTest.java +++ b/src/test/java/hudson/plugins/tfs/commands/DetailedHistoryCommandTest.java @@ -21,6 +21,7 @@ import java.util.TimeZone; import org.junit.After; +import org.junit.Ignore; import org.junit.Test; import org.jvnet.hudson.test.Bug; @@ -172,6 +173,17 @@ public void assertParseExceptionWhenParsingBadFilePath() throws Exception { command.parse(reader); } + @Test + @Ignore("Fix the regular expression") + public void assertCanParseGermanChangesetWithCheckinNotes() throws Exception { + InputStreamReader reader = new InputStreamReader(DetailedHistoryCommandTest.class.getResourceAsStream("tf-changeset-german-1.txt")); + DetailedHistoryCommand command = new DetailedHistoryCommand(mock(ServerConfigurationProvider.class), "$/tfsandbox", Util.getCalendar(2011, 07, 10), Calendar.getInstance()); + List list = command.parse(reader); + + assertNotNull("The list of change sets was null", list); + assertEquals("The number of change sets in the list was incorrect", 1, list.size()); + } + @Test public void assertNoCrashForIssue3683() throws Exception { InputStreamReader reader = new InputStreamReader(DetailedHistoryCommandTest.class.getResourceAsStream("issue-3683.txt"));