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 [UsageScenarioBasedSatisfactionConstraintBuilder.java]

nameclass, %method, %block, %line, %
UsageScenarioBasedSatisfactionConstraintBuilder.java0%   (0/1)0%   (0/2)0%   (0/27)0%   (0/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class UsageScenarioBasedSatisfactionConstraintBuilder0%   (0/1)0%   (0/2)0%   (0/27)0%   (0/4)
UsageScenarioBasedSatisfactionConstraintBuilder (UsageScenario): void 0%   (0/1)0%   (0/6)0%   (0/3)
createSatisfactionConstraint (String, Constraint$Direction, double, Objective... 0%   (0/1)0%   (0/21)0%   (0/1)

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

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