@Test
public void changedFile() throws Exception {

  createTempXmlFile();
  String output =
    ":MyApp:compileReleaseRenderscript UP-TO-DATE\n" +
    ":MyApp:mergeReleaseResources FAILED\n" +
    "\n" +
    "FAILURE: Build failed with an exception.\n" +
    "\n" +
    "* What went wrong:\n" +
    "Execution failed for task ':MyApp:mergeReleaseResources'.\n" +
    "> In DataSet 'main', no data file for changedFile '" + sourceFilePath + "'\n" +
    "\n" +
    "* Try:\n" +
    "Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\n" +
    "\n" +
    "BUILD FAILED\n" +
    "\n" +
    "Total time: 15.612 secs";
  assertEquals("0: Simple::MyApp:compileReleaseRenderscript UP-TO-DATE\n" +
               "1: Simple::MyApp:mergeReleaseResources FAILED\n" +
               "2: Error:Execution failed for task ':MyApp:mergeReleaseResources'.\n" +
               "> In DataSet 'main', no data file for changedFile '" + sourceFilePath + "'\n" +
               "\t" + sourceFilePath + ":-1:-1\n" +
               "3: Info:BUILD FAILED\n" +
               "4: Info:Total time: 15.612 secs\n", toString(parser.parseGradleOutput(output)));
  sourceFile.delete();
}