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

COVERAGE SUMMARY FOR SOURCE FILE [UsageScenarioBasedSatisfactionConstraint.java]

nameclass, %method, %block, %line, %
UsageScenarioBasedSatisfactionConstraint.java0%   (0/1)0%   (0/2)0%   (0/13)0%   (0/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class UsageScenarioBasedSatisfactionConstraint0%   (0/1)0%   (0/2)0%   (0/13)0%   (0/4)
UsageScenarioBasedSatisfactionConstraint (String, Constraint$Direction, doubl... 0%   (0/1)0%   (0/10)0%   (0/3)
getUsageScenario (): UsageScenario 0%   (0/1)0%   (0/3)0%   (0/1)

1/**
2 * 
3 */
4package de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures;
5 
6import org.opt4j.core.Objective;
7import org.opt4j.core.SatisfactionConstraint;
8 
9import de.uka.ipd.sdq.pcm.usagemodel.UsageScenario;
10 
11/**
12 * Criterion tied to an UsageScenario.
13 * 
14 * @author noorshams
15 *
16 */
17public class UsageScenarioBasedSatisfactionConstraint extends SatisfactionConstraint
18                implements UsageScenarioBasedCriterion {
19 
20        private UsageScenario usageScenario;
21        
22        public UsageScenarioBasedSatisfactionConstraint(String name, Direction direction, double limit, Objective objective, UsageScenario usageScenario) {
23                super(name, direction, limit, objective);
24                this.usageScenario = usageScenario;
25        }
26        
27        /* (non-Javadoc)
28         * @see de.uka.ipd.sdq.dsexplore.analysis.UsageScenarioBasedCriterion#getUsageScenario()
29         */
30        @Override
31        public UsageScenario getUsageScenario() {
32                return this.usageScenario;
33        }
34}

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