EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures.builder]

COVERAGE SUMMARY FOR SOURCE FILE [UsageScenarioBasedInfeasibilityConstraintBuilder.java]

nameclass, %method, %block, %line, %
UsageScenarioBasedInfeasibilityConstraintBuilder.java0%   (0/1)0%   (0/2)0%   (0/26)0%   (0/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class UsageScenarioBasedInfeasibilityConstraintBuilder0%   (0/1)0%   (0/2)0%   (0/26)0%   (0/4)
UsageScenarioBasedInfeasibilityConstraintBuilder (UsageScenario): void 0%   (0/1)0%   (0/6)0%   (0/3)
createInfeasibilityConstraint (String, Constraint$Direction, double): UsageSc... 0%   (0/1)0%   (0/20)0%   (0/1)

1package de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures.builder;
2 
3import org.opt4j.core.Constraint.Direction;
4 
5import de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures.UsageScenarioBasedInfeasibilityConstraint;
6import de.uka.ipd.sdq.pcm.usagemodel.UsageScenario;
7 
8public class UsageScenarioBasedInfeasibilityConstraintBuilder extends InfeasibilityConstraintBuilder{
9 
10        private UsageScenario usageScenario;
11 
12        public UsageScenarioBasedInfeasibilityConstraintBuilder(
13                        UsageScenario usageScenario) {
14                this.usageScenario = usageScenario;
15        }
16 
17        @Override
18        public UsageScenarioBasedInfeasibilityConstraint createInfeasibilityConstraint(String name,
19                        Direction direction, double limit) {
20                return new UsageScenarioBasedInfeasibilityConstraint(name+"_"+this.usageScenario.getId(), direction, limit, this.usageScenario);
21        }
22 
23        
24        
25        
26}

[all classes][de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures.builder]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov