EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012) |
---|
[all classes][de.uka.ipd.sdq.pcm.gmf.composite.part] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
PalladioComponentModelUriEditorInputTester.java | 0% (0/1) | 0% (0/2) | 0% (0/17) | 0% (0/5) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class PalladioComponentModelUriEditorInputTester | 0% (0/1) | 0% (0/2) | 0% (0/17) | 0% (0/5) |
PalladioComponentModelUriEditorInputTester (): void | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
test (Object, String, Object [], Object): boolean | 0% (0/1) | 0% (0/14) | 0% (0/4) |
1 | /* |
2 | * Copyright 2007, SDQ, IPD, Uni Karlsruhe (TH) |
3 | */ |
4 | package de.uka.ipd.sdq.pcm.gmf.composite.part; |
5 | |
6 | import org.eclipse.core.expressions.PropertyTester; |
7 | import org.eclipse.emf.common.ui.URIEditorInput; |
8 | |
9 | /** |
10 | * @generated |
11 | */ |
12 | public class PalladioComponentModelUriEditorInputTester extends PropertyTester { |
13 | |
14 | /** |
15 | * @generated |
16 | */ |
17 | public boolean test(Object receiver, String method, Object[] args, |
18 | Object expectedValue) { |
19 | if (false == receiver instanceof URIEditorInput) { |
20 | return false; |
21 | } |
22 | URIEditorInput editorInput = (URIEditorInput) receiver; |
23 | return "composite_diagram".equals(editorInput.getURI().fileExtension()); //$NON-NLS-1$ |
24 | } |
25 | |
26 | } |
[all classes][de.uka.ipd.sdq.pcm.gmf.composite.part] |
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov |