Program: 61543
Project: 61543
Buggy source:
@SuppressWarnings("String_Node_Str") @Test public void testMath70WithEvosuiteTestsPostValid() throws Exception {
  AstorMain main1=new AstorMain();
  String dep=new File("String_Node_Str").getAbsolutePath();
  File out=new File(ConfigurationProperties.getProperty("String_Node_Str"));
  String[] args=new String[]{"String_Node_Str",dep,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",new File("String_Node_Str").getAbsolutePath(),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",out.getAbsolutePath(),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",ProcessVal4Test.class.getName()};
  System.out.println(Arrays.toString(args));
  main1.execute(args);
  assertEquals(1,main1.getEngine().getSolutions().size());
  ProgramVariant variantSolution=main1.getEngine().getSolutions().get(0);
  ProgramVariantValidationResult validationResult=variantSolution.getValidationResult();
  assertNotNull("String_Node_Str",validationResult);
  assertTrue(validationResult instanceof EvoSuiteValidationResult);
  EvoSuiteValidationResult esvalidationresult=(EvoSuiteValidationResult)validationResult;
  assertTrue(esvalidationresult.wasSuccessful());
  assertTrue(esvalidationresult.getEvoValidation().wasSuccessful());
  assertTrue(esvalidationresult.getEvoValidation().getCasesExecuted() > 0);
  assertEquals(0,esvalidationresult.getEvoValidation().getFailureCount());
}

Fixed version (ground truth):
/** 
 * This test assert Astor when it runs ES over the patched version.
 * @throws Exception
 */
@SuppressWarnings("String_Node_Str") @Test public void testMath70WithEvosuiteTestsPostValid() throws Exception {
  AstorMain main1=new AstorMain();
  String dep=new File("String_Node_Str").getAbsolutePath();
  File out=new File(ConfigurationProperties.getProperty("String_Node_Str"));
  String[] args=new String[]{"String_Node_Str",dep,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",new File("String_Node_Str").getAbsolutePath(),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",out.getAbsolutePath(),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  System.out.println(Arrays.toString(args));
  main1.execute(args);
  assertEquals(1,main1.getEngine().getSolutions().size());
  ProgramVariant variantSolution=main1.getEngine().getSolutions().get(0);
  ProgramVariantValidationResult validationResult=variantSolution.getValidationResult();
  assertNotNull("String_Node_Str",validationResult);
  assertTrue(validationResult instanceof EvoSuiteValidationResult);
  EvoSuiteValidationResult esvalidationresult=(EvoSuiteValidationResult)validationResult;
  assertTrue(esvalidationresult.wasSuccessful());
  assertTrue(esvalidationresult.getEvoValidation().wasSuccessful());
  assertTrue(esvalidationresult.getEvoValidation().getCasesExecuted() > 0);
  assertEquals(0,esvalidationresult.getEvoValidation().getFailureCount());
}