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

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

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

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