Program: 35866
Project: 35866
Buggy source:
@Test public void testWithSingleDateExpression() throws IOException {
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,3,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,15,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,13,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,13,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,7,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,13,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,13,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,20,13,0),results.get(0).start);
  assertEquals("String_Node_Str",results.get(1).text);
  assertDateEquals(createDate(2014,4,18,12,0),results.get(1).start);
}

Fixed version (ground truth):
@Test public void testWithSingleDateExpression() throws IOException {
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,3,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,15,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,18,56),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,18,56),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,13,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,13,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,7,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,13,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,18,13,0),results.get(0).start);
  refDate=createDate(2014,4,20,12,0);
  results=Chrono.Parse("String_Node_Str",refDate);
  assertEquals("String_Node_Str",results.get(0).text);
  assertDateEquals(createDate(2014,4,20,13,0),results.get(0).start);
  assertEquals("String_Node_Str",results.get(1).text);
  assertDateEquals(createDate(2014,4,18,12,0),results.get(1).start);
}