EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.sdq.pcm.transformations]

COVERAGE SUMMARY FOR SOURCE FILE [SameResourceSetXmiReader.java]

nameclass, %method, %block, %line, %
SameResourceSetXmiReader.java0%   (0/1)0%   (0/2)0%   (0/8)0%   (0/2)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SameResourceSetXmiReader0%   (0/1)0%   (0/2)0%   (0/8)0%   (0/2)
<static initializer> 0%   (0/1)0%   (0/5)0%   (0/2)
SameResourceSetXmiReader (): void 0%   (0/1)0%   (0/3)0%   (0/1)

1package de.uka.sdq.pcm.transformations;
2 
3import java.io.File;
4import java.io.IOException;
5 
6import org.eclipse.emf.common.util.URI;
7import org.eclipse.emf.ecore.resource.Resource;
8import org.eclipse.emf.ecore.resource.ResourceSet;
9import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
10import org.eclipse.emf.mwe.core.ConfigurationException;
11import org.eclipse.emf.mwe.core.WorkflowContext;
12import org.eclipse.emf.mwe.core.issues.Issues;
13import org.eclipse.emf.mwe.core.monitor.ProgressMonitor;
14import org.eclipse.xtend.typesystem.emf.XmiReader;
15 
16public class SameResourceSetXmiReader extends XmiReader {
17 
18        protected static ResourceSet rs = new ResourceSetImpl();
19        
20        /*@Override
21        public void invoke(WorkflowContext model, ProgressMonitor monitor,
22                        Issues issues) {
23        final File f = loadFile(issues);
24        final URI fileURI = URI.createFileURI(f.getAbsolutePath());
25 
26        final Resource r = rs.createResource(fileURI);
27        try {
28            r.load(null);
29        } catch (final IOException e) {
30            throw new ConfigurationException(e);
31        }
32 
33        if (firstElementOnly) {
34            model.set(outputSlot, r.getContents().get(0));
35        } else {
36            model.set(outputSlot, r.getContents());
37        }
38        }*/
39 
40}

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