EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.codegen.simucontroller.workflow.jobs]

COVERAGE SUMMARY FOR SOURCE FILE [CreateSimuComMetaDataFilesJob.java]

nameclass, %method, %block, %line, %
CreateSimuComMetaDataFilesJob.java0%   (0/1)0%   (0/6)0%   (0/125)0%   (0/40)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CreateSimuComMetaDataFilesJob0%   (0/1)0%   (0/6)0%   (0/125)0%   (0/40)
<static initializer> 0%   (0/1)0%   (0/68)0%   (0/18)
CreateSimuComMetaDataFilesJob (AbstractCodeGenerationWorkflowRunConfiguration... 0%   (0/1)0%   (0/6)0%   (0/3)
getBundleActivator (): String 0%   (0/1)0%   (0/2)0%   (0/1)
getRequiredBundles (): String [] 0%   (0/1)0%   (0/2)0%   (0/1)
writeBuildPropertiesContent (PrintStream): void 0%   (0/1)0%   (0/16)0%   (0/6)
writePluginXmlContent (PrintStream): void 0%   (0/1)0%   (0/31)0%   (0/11)

1package de.uka.ipd.sdq.codegen.simucontroller.workflow.jobs;
2 
3 
4 
5import java.io.PrintStream;
6 
7import de.uka.ipd.sdq.workflow.IJob;
8import de.uka.ipd.sdq.workflow.pcm.configurations.AbstractCodeGenerationWorkflowRunConfiguration;
9 
10public class CreateSimuComMetaDataFilesJob extends AbstractCreateMetaDataFilesJob implements IJob {
11 
12        public CreateSimuComMetaDataFilesJob(AbstractCodeGenerationWorkflowRunConfiguration configuration) {
13                super();
14 
15                this.configuration = configuration;
16        }
17 
18        @Override
19        protected void writePluginXmlContent(PrintStream out) {
20                out.println("<?xml version='1.0'?>");                         //$NON-NLS-1$
21                out.println("<plugin>");                                                 //$NON-NLS-1$
22                out.println("   <extension");                                         //$NON-NLS-1$
23                out.println("         point=\"de.uka.ipd.sdq.simucomframework.controller\">"); //$NON-NLS-1$
24                out.println("      <actionDelegate");                         //$NON-NLS-1$
25                out.println("            class=\"main.SimuComControl\""); //$NON-NLS-1$
26                out.println("            id=\"de.uka.ipd.sdq.codegen.simucominstance.actionDelegate\">"); //$NON-NLS-1$
27                out.println("      </actionDelegate>");                 //$NON-NLS-1$
28                out.println("   </extension>");                                 //$NON-NLS-1$
29                out.println("</plugin>"); //$NON-NLS-1$
30        }
31 
32        @Override
33        protected void writeBuildPropertiesContent(PrintStream out) {
34                out.println("output.. = bin/"); //$NON-NLS-1$
35                out.println("source.. = src/"); //$NON-NLS-1$
36                out.println("bin.includes = plugin.xml,\\"); //$NON-NLS-1$
37                out.println("                                META-INF/,\\"); //$NON-NLS-1$
38                out.println("                                ."); //$NON-NLS-1$
39        }
40 
41        private final static String[] BUNDLES = new String[] {
42             "de.uka.ipd.sdq.simulation", 
43             "de.uka.ipd.sdq.simulation.abstractsimengine",
44                 "de.uka.ipd.sdq.simucomframework",
45                 "de.uka.ipd.sdq.simucomframework.simucomstatus",
46                 "de.uka.ipd.sdq.sensorframework",
47                 "de.uka.ipd.sdq.simucomframework.variables",
48                 "org.apache.log4j",
49                 "org.eclipse.osgi",
50                 "de.uka.ipd.sdq.scheduler",
51                 "org.jscience",
52                 "de.uka.ipd.sdq.probespec.framework",
53                 "de.uka.ipd.sdq.pipesandfilters",
54                 "de.uka.ipd.sdq.pipesandfilters.framework",
55                 "de.uka.ipd.sdq.reliability.core",
56                 "de.fzi.se.accuracy",
57                 "de.uka.ipd.sdq.probfunction.math"
58        };
59 
60 
61        @Override
62        protected String[] getRequiredBundles() {
63                return BUNDLES;
64        }
65        
66    @Override
67    protected String getBundleActivator() {
68        return "main.SimuComControl";
69    }
70    
71}

[all classes][de.uka.ipd.sdq.codegen.simucontroller.workflow.jobs]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov