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

COVERAGE SUMMARY FOR SOURCE FILE [SetVariableActionHandler.java]

nameclass, %method, %block, %line, %
SetVariableActionHandler.java0%   (0/1)0%   (0/2)0%   (0/26)0%   (0/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SetVariableActionHandler0%   (0/1)0%   (0/2)0%   (0/26)0%   (0/9)
SetVariableActionHandler (SeffVisitor): void 0%   (0/1)0%   (0/6)0%   (0/3)
handle (SetVariableAction): void 0%   (0/1)0%   (0/20)0%   (0/6)

1package de.uka.ipd.sdq.pcmsolver.handler;
2 
3import org.eclipse.emf.common.util.EList;
4 
5import de.uka.ipd.sdq.pcm.parameter.VariableUsage;
6import de.uka.ipd.sdq.pcm.seff.SetVariableAction;
7import de.uka.ipd.sdq.pcmsolver.visitors.SeffVisitor;
8import de.uka.ipd.sdq.pcmsolver.visitors.VariableUsageHelper;
9 
10public class SetVariableActionHandler {
11 
12        private SeffVisitor visitor;
13 
14        public SetVariableActionHandler(SeffVisitor seffVisitor) {
15                visitor = seffVisitor;
16        }
17 
18        public void handle(SetVariableAction sva) {
19                EList<VariableUsage> vuList = sva
20                                .getLocalVariableUsages_SetVariableAction();
21                for (VariableUsage vu : vuList) {
22                        VariableUsageHelper.copySolvedVariableUsageToOutput(visitor
23                                        .getContextWrapper(), vu);
24                }
25        }
26 
27}

[all classes][de.uka.ipd.sdq.pcmsolver.handler]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov