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

COVERAGE SUMMARY FOR SOURCE FILE [OpenLoopIterationsDialog.java]

nameclass, %method, %block, %line, %
OpenLoopIterationsDialog.java0%   (0/1)0%   (0/3)0%   (0/13)0%   (0/5)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class OpenLoopIterationsDialog0%   (0/1)0%   (0/3)0%   (0/13)0%   (0/5)
OpenLoopIterationsDialog (): void 0%   (0/1)0%   (0/3)0%   (0/1)
getExpectedType (RandomVariable): TypeEnum 0%   (0/1)0%   (0/2)0%   (0/1)
getRandomVariable (EObject): RandomVariable 0%   (0/1)0%   (0/8)0%   (0/3)

1package de.uka.ipd.sdq.pcm.dialogs.seff;
2 
3import org.eclipse.emf.ecore.EObject;
4 
5import de.uka.ipd.sdq.pcm.dialogs.OpenStoExDialog;
6import de.uka.ipd.sdq.pcm.seff.LoopAction;
7import de.uka.ipd.sdq.pcm.seff.seff_performance.InfrastructureCall;
8import de.uka.ipd.sdq.stoex.RandomVariable;
9import de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum;
10 
11// Manually written open policy to open the StoEx Dialog. It's
12// called via a CustomBehaviour in the genmap
13public class OpenLoopIterationsDialog extends OpenStoExDialog {
14 
15        
16        @Override
17        protected RandomVariable getRandomVariable(EObject parent) {
18                LoopAction loop = (LoopAction) parent;
19                RandomVariable rv = loop.getIterationCount_LoopAction();
20                return rv;
21        }
22 
23        @Override
24        protected TypeEnum getExpectedType(RandomVariable rv) {
25                return TypeEnum.INT;
26        }
27        
28}

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