use of eu.stamp_project.dspot.common.compilation.TestCompiler in project dspot by STAMP-project.
the class AssertionGeneratorTest method setUp.
@Before
@Override
public void setUp() {
TestCompiler.setTimeoutInMs(10000);
this.classpathClassesProject = configuration.getClasspathClassesProject();
this.compiler = DSpotCompiler.createDSpotCompiler(configuration, dependencies);
RandomHelper.setSeedRandom(72L);
ValueCreator.count = 0;
testCompiler = new TestCompiler(0, false, configuration.getAbsolutePathToProjectRoot(), configuration.getClasspathClassesProject(), 10000, "", false);
this.assertionGenerator = new AssertionGenerator(0.1D, compiler, testCompiler, false);
DSpotUtils.init(CommentEnum.None, "target/dspot/", configuration.getFullClassPathWithExtraDependencies(), "src/test/resources/sample/");
super.setUp();
}
use of eu.stamp_project.dspot.common.compilation.TestCompiler in project dspot by STAMP-project.
the class RecoveryDSpotTest method setUp.
@Override
@Before
public void setUp() {
super.setUp();
DSpotState.GLOBAL_REPORT.reset();
configuration = new UserInput();
configuration.setAbsolutePathToProjectRoot(this.getPathToProjectRoot());
this.builder = AutomaticBuilderEnum.Maven.getAutomaticBuilder(configuration);
this.testCompiler = new TestCompiler(0, false, configuration.getAbsolutePathToProjectRoot(), configuration.getClasspathClassesProject(), 10000, "", false);
}
Aggregations