Search in sources :

Example 26 with UserInput

use of eu.stamp_project.dspot.common.configuration.UserInput 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);
}
Also used : TestCompiler(eu.stamp_project.dspot.common.compilation.TestCompiler) UserInput(eu.stamp_project.dspot.common.configuration.UserInput) Before(org.junit.Before)

Aggregations

UserInput (eu.stamp_project.dspot.common.configuration.UserInput)26 Before (org.junit.Before)11 Test (org.junit.Test)10 InitializeDSpot (eu.stamp_project.dspot.common.configuration.InitializeDSpot)8 Launcher (spoon.Launcher)8 File (java.io.File)7 AutomaticBuilder (eu.stamp_project.dspot.common.automaticbuilder.AutomaticBuilder)5 TestCompiler (eu.stamp_project.dspot.common.compilation.TestCompiler)4 PitXMLResultParser (eu.stamp_project.dspot.selector.pitmutantscoreselector.PitXMLResultParser)3 BufferedReader (java.io.BufferedReader)3 FileReader (java.io.FileReader)3 TestRunner (eu.stamp_project.dspot.common.execution.TestRunner)2 ArrayList (java.util.ArrayList)2 CtMethod (spoon.reflect.declaration.CtMethod)2 DSpot (eu.stamp_project.dspot.DSpot)1 DSpotState (eu.stamp_project.dspot.common.configuration.DSpotState)1 InputErrorException (eu.stamp_project.dspot.common.configuration.check.InputErrorException)1 DSpotUtils (eu.stamp_project.dspot.common.miscellaneous.DSpotUtils)1 JacocoCoverageSelector (eu.stamp_project.dspot.selector.JacocoCoverageSelector)1 IOException (java.io.IOException)1