|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
- [JIRA] (JENKINS-16208) TFS SCM Polling: FATAL: Pa... [email protected] (JIRA)
- [JIRA] (JENKINS-16208) TFS SCM Polling: FATA... [email protected] (JIRA)
- [JIRA] (JENKINS-16208) TFS SCM Polling: FATA... [email protected] (JIRA)
- [JIRA] (JENKINS-16208) TFS SCM Polling: FATA... [email protected] (JIRA)
- [JIRA] (JENKINS-16208) TFS SCM Polling: FATA... [email protected] (JIRA)
- [JIRA] (JENKINS-16208) TFS SCM Polling: FATA... [email protected] (JIRA)

Here is a test that demonstrates the problem. Add this to DetailedHistoryCommandTest:
@Bug(16208)
@Test
public void assertChangesetSeparatorAllowedWithinComment() throws Exception { StringBuilder builder = new StringBuilder("-------------------------------------------------------------------------------\n" + "Changeset: 123456\n" + "User: domain\\somebody\n" + "Date: Dec 26, 2012 3:00:15 PM\n" + "\n" + "Comment:\n" + " Some comment goes here\n" + "------------------------------------------------------------------\n" + " more of my comment\n" + "\n" + "\n" + "Items:\n" + " edit $/somepath/to/file\n" + "\n" + "Check-in Notes:\n" + " Dependencies: none\n" + " Developer Notes: none \n" ); StringReader stringReader = new StringReader(builder.toString()); DetailedHistoryCommand command = new DetailedHistoryCommand(mock(ServerConfigurationProvider.class), "$/tfsandbox", Util.getCalendar(2008, 01, 15), Calendar.getInstance()); List<ChangeSet> list = command.parse(stringReader); assertEquals("Number of change sets was incorrect", 1, list.size()); }