EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012) |
---|
[all classes][de.uka.ipd.sdq.scheduler.loaddistribution.constraints] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
SingleResourceInstanceConstraint.java | 0% (0/1) | 0% (0/3) | 0% (0/14) | 0% (0/5) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class SingleResourceInstanceConstraint | 0% (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) |
1 | package de.uka.ipd.sdq.scheduler.loaddistribution.constraints; |
2 | |
3 | import de.uka.ipd.sdq.scheduler.loaddistribution.IResourceInstanceConstraint; |
4 | import de.uka.ipd.sdq.scheduler.resources.IResourceInstance; |
5 | |
6 | public 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 |