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

nameclass, %method, %block, %line, %
UsageScenarioBasedInfeasibilityConstraint.java0%   (0/1)0%   (0/2)0%   (0/12)0%   (0/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class UsageScenarioBasedInfeasibilityConstraint0%   (0/1)0%   (0/2)0%   (0/12)0%   (0/4)
UsageScenarioBasedInfeasibilityConstraint (String, Constraint$Direction, doub... 0%   (0/1)0%   (0/9)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.InfeasibilityConstraint;
7 
8import de.uka.ipd.sdq.pcm.usagemodel.UsageScenario;
9 
10/**
11 * Criterion tied to an UsageScenario.
12 * 
13 * @author noorshams
14 *
15 */
16public class UsageScenarioBasedInfeasibilityConstraint extends InfeasibilityConstraint implements UsageScenarioBasedCriterion{
17        private UsageScenario usageScenario;
18        
19        public UsageScenarioBasedInfeasibilityConstraint(String name, Direction direction, double limit, UsageScenario usageScenario) {
20                super(name, direction, limit);
21                this.usageScenario = usageScenario;
22        }
23        
24        @Override
25        public UsageScenario getUsageScenario(){
26                return this.usageScenario;
27        }
28}

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