Class EmbeddedSutController
- java.lang.Object
-
- org.evomaster.client.java.controller.internal.SutController
-
- org.evomaster.client.java.controller.EmbeddedSutController
-
- All Implemented Interfaces:
SutHandler
public abstract class EmbeddedSutController extends SutController
-
-
Constructor Summary
Constructors Constructor Description EmbeddedSutController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AdditionalInfo>getAdditionalInfoList()List<TargetInfo>getTargetInfos(Collection<Integer> ids)UnitsInfoDtogetUnitsInfoDto()booleanisInstrumentationActivated()Check if bytecode instrumentation is on.voidnewActionSpecificHandler(ActionDto dto)voidnewSearch()Re-initialize all internal data to enable a completely new search phase which should be independent from previous onesvoidnewTestSpecificHandler()voidsetupForGeneratedTest()There might be different settings based on when the SUT is run during the search of EvoMaster, and when it is later started in the generated tests.-
Methods inherited from class org.evomaster.client.java.controller.internal.SutController
computeExtraHeuristics, enableComputeSqlHeuristicsOrExtractExecution, execInsertionsIntoDatabase, getConnection, getControllerHost, getControllerPort, getControllerServerPort, getDatabaseDriverName, getExtraHeuristics, getInfoForAuthentication, getPackagePrefixesToCover, getPreferredOutputFormat, getProblemInfo, getSqlDatabaseSchema, getUnitsInfoDto, handleSql, initSqlHandler, isSutRunning, newAction, newTest, resetExtraHeuristics, setControllerHost, setControllerPort, startTheControllerServer, stopTheControllerServer, verifySqlConnection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.evomaster.client.java.controller.SutHandler
resetStateOfSUT, startSut, stopSut
-
-
-
-
Method Detail
-
setupForGeneratedTest
public final void setupForGeneratedTest()
Description copied from interface:SutHandlerThere might be different settings based on when the SUT is run during the search of EvoMaster, and when it is later started in the generated tests.
-
isInstrumentationActivated
public final boolean isInstrumentationActivated()
Description copied from class:SutControllerCheck if bytecode instrumentation is on.- Specified by:
isInstrumentationActivatedin classSutController- Returns:
- true if the instrumentation is on
-
newSearch
public final void newSearch()
Description copied from class:SutControllerRe-initialize all internal data to enable a completely new search phase which should be independent from previous ones- Specified by:
newSearchin classSutController
-
newTestSpecificHandler
public final void newTestSpecificHandler()
- Specified by:
newTestSpecificHandlerin classSutController
-
getTargetInfos
public final List<TargetInfo> getTargetInfos(Collection<Integer> ids)
- Specified by:
getTargetInfosin classSutController
-
getAdditionalInfoList
public final List<AdditionalInfo> getAdditionalInfoList()
- Specified by:
getAdditionalInfoListin classSutController- Returns:
- additional info for each action in the test. The list is ordered based on the action index.
-
newActionSpecificHandler
public final void newActionSpecificHandler(ActionDto dto)
- Specified by:
newActionSpecificHandlerin classSutController
-
getUnitsInfoDto
public final UnitsInfoDto getUnitsInfoDto()
- Specified by:
getUnitsInfoDtoin classSutController
-
-