Program: 7072
Project: 7072
Buggy source:
@Test public void testSearchContext() throws Exception {
  verifySearchResultContains("String_Node_Str",ImmutableList.of("String_Node_Str" + DOT_NAMESPACE_ESCAPED,"String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.<String>of());
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.<String>of());
  verifySearchResult("String_Node_Str",ImmutableList.<String>of());
  verifySearchResult("String_Node_Str" + "String_Node_Str",ImmutableList.of("String_Node_Str" + "String_Node_Str"));
  verifySearchResult("String_Node_Str" + "String_Node_Str",ImmutableList.of("String_Node_Str" + "String_Node_Str","String_Node_Str" + "String_Node_Str"));
  verifySearchResult("String_Node_Str" + "String_Node_Str",ImmutableList.of("String_Node_Str" + "String_Node_Str"));
  verifySearchResult("String_Node_Str" + "String_Node_Str",ImmutableList.<String>of());
  verifySearchResultContains("String_Node_Str",ImmutableList.of("String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str","String_Node_Str","String_Node_Str" + DOT_FLOW_ESCAPED,"String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str"));
  String parts[]=new String[]{"String_Node_Str" + DOT_NAMESPACE_ESCAPED,"String_Node_Str" + DOT_APP_ESCAPED,"String_Node_Str" + DOT_FLOW_ESCAPED,"String_Node_Str" + DOT_RUN_ESCAPED,"String_Node_Str" + DOT_FLOWLET_ESCAPED};
  String context=parts[0];
  int i=1;
  do {
    String contextNext=context + "String_Node_Str" + parts[i];
    verifySearchResult("String_Node_Str" + context,ImmutableList.<String>of(contextNext));
    context=contextNext;
    i++;
  }
 while (i < parts.length);
}

Fixed version (ground truth):
@Test public void testSearchContext() throws Exception {
  verifySearchResultContains("String_Node_Str",ImmutableList.of("String_Node_Str" + DOT_NAMESPACE_ESCAPED,"String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.<String>of());
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.<String>of());
  verifySearchResult("String_Node_Str",ImmutableList.<String>of("String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str" + "String_Node_Str",ImmutableList.of("String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str" + "String_Node_Str",ImmutableList.of("String_Node_Str" + "String_Node_Str","String_Node_Str" + "String_Node_Str"));
  verifySearchResult("String_Node_Str" + "String_Node_Str",ImmutableList.of("String_Node_Str" + "String_Node_Str"));
  verifySearchResult("String_Node_Str" + "String_Node_Str",ImmutableList.<String>of());
  verifySearchResultContains("String_Node_Str",ImmutableList.of("String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str","String_Node_Str","String_Node_Str" + DOT_FLOW_ESCAPED,"String_Node_Str","String_Node_Str"));
  verifySearchResult("String_Node_Str",ImmutableList.of("String_Node_Str"));
  String parts[]=new String[]{"String_Node_Str" + DOT_NAMESPACE_ESCAPED,"String_Node_Str" + DOT_APP_ESCAPED,"String_Node_Str" + DOT_FLOW_ESCAPED,"String_Node_Str" + DOT_RUN_ESCAPED,"String_Node_Str" + DOT_FLOWLET_ESCAPED};
  String context=parts[0];
  int i=1;
  do {
    String contextNext=context + "String_Node_Str" + parts[i];
    verifySearchResult("String_Node_Str" + context,ImmutableList.<String>of(contextNext));
    context=contextNext;
    i++;
  }
 while (i < parts.length);
}