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

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

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

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