Program: 100836
Project: 100836
Buggy source:
@Test public void testExecute() throws Exception {
  final File libDir=new File(tempDir,"String_Node_Str");
  if (!libDir.exists() && !libDir.mkdirs()) {
    throw new IOException("String_Node_Str" + libDir);
  }
  final Integrator i=new Integrator();
  i.setBasedir(tempDir);
  i.setDitaDir(tempDir);
  i.setProperties(new File(tempDir,"String_Node_Str"));
  i.execute();
  assertEquals(getProperties(new File(expDir,"String_Node_Str" + File.separator + Constants.CONF_PROPERTIES)),getProperties(new File(tempDir,"String_Node_Str" + File.separator + Constants.CONF_PROPERTIES)));
  XMLUnit.setNormalizeWhitespace(true);
  XMLUnit.setIgnoreWhitespace(true);
  XMLUnit.setIgnoreDiffBetweenTextAndCDATA(true);
  assertXMLEqual(new InputSource(new File(expDir,"String_Node_Str").toURI().toString()),new InputSource(new File(tempDir,"String_Node_Str").toURI().toString()));
  assertXMLEqual(new InputSource(new File(expDir,"String_Node_Str").toURI().toString()),new InputSource(new File(tempDir,"String_Node_Str").toURI().toString()));
  assertXMLEqual(new InputSource(new File(expDir,"String_Node_Str" + File.separator + "String_Node_Str").toURI().toString()),new InputSource(new File(tempDir,"String_Node_Str" + File.separator + "String_Node_Str").toURI().toString()));
  assertXMLEqual(new InputSource(new File(expDir,"String_Node_Str" + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str").toURI().toString()),new InputSource(new File(tempDir,"String_Node_Str" + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str").toURI().toString()));
  assertXMLEqual(new InputSource(new File(expDir,"String_Node_Str" + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str"+ File.separator+ "String_Node_Str").toURI().toString()),new InputSource(new File(tempDir,"String_Node_Str" + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str"+ File.separator+ "String_Node_Str").toURI().toString()));
}

Fixed version (ground truth):
@Test public void testExecute() throws Exception {
  final File libDir=new File(tempDir,"String_Node_Str");
  if (!libDir.exists() && !libDir.mkdirs()) {
    throw new IOException("String_Node_Str" + libDir);
  }
  final Integrator i=new Integrator();
  i.setBasedir(tempDir);
  i.setDitaDir(tempDir);
  i.setProperties(new File(tempDir,"String_Node_Str"));
  i.execute();
  assertEquals(getProperties(new File(expDir,"String_Node_Str" + File.separator + Constants.CONF_PROPERTIES)),getProperties(new File(tempDir,"String_Node_Str" + File.separator + Constants.CONF_PROPERTIES)));
  XMLUnit.setNormalizeWhitespace(true);
  XMLUnit.setIgnoreWhitespace(true);
  XMLUnit.setIgnoreDiffBetweenTextAndCDATA(true);
  XMLUnit.setControlDocumentBuilderFactory(DocumentBuilderFactory.newInstance());
  XMLUnit.setTestDocumentBuilderFactory(DocumentBuilderFactory.newInstance());
  assertXMLEqual(new InputSource(new File(expDir,"String_Node_Str").toURI().toString()),new InputSource(new File(tempDir,"String_Node_Str").toURI().toString()));
  assertXMLEqual(new InputSource(new File(expDir,"String_Node_Str").toURI().toString()),new InputSource(new File(tempDir,"String_Node_Str").toURI().toString()));
  assertXMLEqual(new InputSource(new File(expDir,"String_Node_Str" + File.separator + "String_Node_Str").toURI().toString()),new InputSource(new File(tempDir,"String_Node_Str" + File.separator + "String_Node_Str").toURI().toString()));
  assertXMLEqual(new InputSource(new File(expDir,"String_Node_Str" + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str").toURI().toString()),new InputSource(new File(tempDir,"String_Node_Str" + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str").toURI().toString()));
  assertXMLEqual(new InputSource(new File(expDir,"String_Node_Str" + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str"+ File.separator+ "String_Node_Str").toURI().toString()),new InputSource(new File(tempDir,"String_Node_Str" + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str"+ File.separator+ "String_Node_Str").toURI().toString()));
}