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

COVERAGE SUMMARY FOR SOURCE FILE [SingleResourceInstanceConstraint.java]

nameclass, %method, %block, %line, %
SingleResourceInstanceConstraint.java0%   (0/1)0%   (0/3)0%   (0/14)0%   (0/5)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SingleResourceInstanceConstraint0%   (0/1)0%   (0/3)0%   (0/14)0%   (0/5)
SingleResourceInstanceConstraint (IResourceInstance): void 0%   (0/1)0%   (0/6)0%   (0/3)
check (IResourceInstance): boolean 0%   (0/1)0%   (0/5)0%   (0/1)
getResourceInstance (): IResourceInstance 0%   (0/1)0%   (0/3)0%   (0/1)

1package de.uka.ipd.sdq.scheduler.loaddistribution.constraints;
2 
3import de.uka.ipd.sdq.scheduler.loaddistribution.IResourceInstanceConstraint;
4import de.uka.ipd.sdq.scheduler.resources.IResourceInstance;
5 
6public class SingleResourceInstanceConstraint implements
7                IResourceInstanceConstraint {
8 
9        private IResourceInstance instance;
10 
11        public SingleResourceInstanceConstraint(IResourceInstance instance) {
12                super();
13                this.instance = instance;
14        }
15 
16        public boolean check(IResourceInstance instance) {
17                return this.instance.equals(instance);
18        }
19 
20        public IResourceInstance getResourceInstance() {
21                return instance;
22        }
23}

[all classes][de.uka.ipd.sdq.scheduler.loaddistribution.constraints]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov