Class EUnitHistory
java.lang.Object
org.eclipse.epsilon.internal.eunit.dt.history.EUnitHistory
Class which tracks the results of all the EUnit tests run in this session.
- Version:
- 1.0
- Author:
- Antonio García-Domínguez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLaunch
(org.eclipse.debug.core.ILaunch launch, EUnitModule module) Map<org.eclipse.debug.core.ILaunch,
List<EUnitModule>> org.eclipse.debug.core.ILaunch
getModules
(org.eclipse.debug.core.ILaunch launch) getResult
(org.eclipse.debug.core.ILaunch launch) Returns the aggregated result over all EUnit modules executed in a launch.void
setCurrentLaunch
(org.eclipse.debug.core.ILaunch launch)
-
Constructor Details
-
EUnitHistory
public EUnitHistory()
-
-
Method Details
-
addLaunch
-
getAllLaunches
-
getCurrentLaunch
public org.eclipse.debug.core.ILaunch getCurrentLaunch() -
setCurrentLaunch
public void setCurrentLaunch(org.eclipse.debug.core.ILaunch launch) -
getModules
-
getResult
Returns the aggregated result over all EUnit modules executed in a launch. The basic order is as follows: error if one module had an error, otherwise failure if one module had a failure, otherwise skipped if all modules were skipped, otherwise success. If the launch is not in the history of this instance, it will report that the launch has not been launched yet.
-