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

COVERAGE SUMMARY FOR SOURCE FILE [DelaySpecificationDialog.java]

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class DelaySpecificationDialog0%   (0/1)0%   (0/3)0%   (0/13)0%   (0/5)
DelaySpecificationDialog (): 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.usage;
2 
3import org.eclipse.emf.ecore.EObject;
4 
5import de.uka.ipd.sdq.pcm.usagemodel.Delay;
6import de.uka.ipd.sdq.stoex.RandomVariable;
7import de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum;
8 
9 
10//Manually written open policy to open the StoEx Dialog. It's
11//called via a CustomBehaviour in the genmap
12public class DelaySpecificationDialog extends OpenStoExDialog {
13        
14 
15        
16        @Override
17        protected RandomVariable getRandomVariable(EObject parent) {
18                Delay d = (Delay) parent;
19                RandomVariable rv = d.getTimeSpecification_Delay();
20                return rv;
21        }
22        
23        @Override
24        protected TypeEnum getExpectedType(RandomVariable rv) {
25                return TypeEnum.DOUBLE;
26        }
27 
28}

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