Skip to content

Commit

Permalink
@monperrus at work
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus committed Nov 6, 2020
1 parent 56d55cf commit 5ae822b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ public void setUp(String path, String filter, boolean isDescartesMode, String ad
this.launcher.getEnvironment().setNoClasspath(true);
this.launcher.buildModel();
DSpotState.verbose = true;
try {
FileUtils.deleteDirectory(new File(path + "/target/"));
} catch (IOException ignored) {
// ignored
}
builder.compileAndBuildClasspath();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ protected CtMethod<?> getAmplifiedTest() {
protected String getContentReportFile() {
return "1 amplified test fails on the new versions." + AmplificationHelper.LINE_SEPARATOR +
"test2(example.TestSuiteExample): String index out of range: -1java.lang.StringIndexOutOfBoundsException: String index out of range: -1" + AmplificationHelper.LINE_SEPARATOR +
"\tat java.lang.String.charAt(String.java:658)" + AmplificationHelper.LINE_SEPARATOR +
"\tat java.lang.String.charAt(String.java:646)" + AmplificationHelper.LINE_SEPARATOR +
"\tat example.Example.charAt(Example.java:16)" + AmplificationHelper.LINE_SEPARATOR +
"\tat example.TestSuiteExample.test2(TestSuiteExample.java:8)" + AmplificationHelper.LINE_SEPARATOR +
"\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)" + AmplificationHelper.LINE_SEPARATOR +
"\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)" + AmplificationHelper.LINE_SEPARATOR +
"\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)" + AmplificationHelper.LINE_SEPARATOR +
"\tat java.lang.reflect.Method.invoke(Method.java:498)" + AmplificationHelper.LINE_SEPARATOR +
"\tat java.lang.reflect.Method.invoke(Method.java:497)" + AmplificationHelper.LINE_SEPARATOR +
"\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)" + AmplificationHelper.LINE_SEPARATOR +
"\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)" + AmplificationHelper.LINE_SEPARATOR +
"\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)" + AmplificationHelper.LINE_SEPARATOR +
Expand Down

0 comments on commit 5ae822b

Please sign in to comment.