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 [CreateProtoComMetaDataFilesJob.java]

nameclass, %method, %block, %line, %
CreateProtoComMetaDataFilesJob.java0%   (0/1)0%   (0/6)0%   (0/149)0%   (0/46)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CreateProtoComMetaDataFilesJob0%   (0/1)0%   (0/6)0%   (0/149)0%   (0/46)
<static initializer> 0%   (0/1)0%   (0/92)0%   (0/24)
CreateProtoComMetaDataFilesJob (AbstractCodeGenerationWorkflowRunConfiguratio... 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 CreateProtoComMetaDataFilesJob extends AbstractCreateMetaDataFilesJob implements IJob {
11 
12        public CreateProtoComMetaDataFilesJob(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.simucomframework",
43                 "de.uka.ipd.sdq.simucomframework.simucomstatus",
44                 "de.uka.ipd.sdq.sensorframework",
45                 "de.uka.ipd.sdq.simucomframework.variables",
46                 "org.apache.log4j",
47                 "org.eclipse.osgi",
48                 "de.uka.ipd.sdq.scheduler",
49                 "org.jscience",
50                 "de.uka.ipd.sdq.probespec.framework",
51                 "de.uka.ipd.sdq.pipesandfilters",
52                 "de.uka.ipd.sdq.pipesandfilters.framework",
53                 
54                 "de.uka.ipd.sdq.prototype.framework",
55                 "de.uka.ipd.sdq.resourcestrategies",
56                 "org.junit4",
57                 "de.uka.ipd.sdq.stoex",
58                 "de.uka.ipd.sdq.stoex.analyser",
59                 "de.uka.ipd.sdq.pcm.stochasticexpressions",
60                 "de.uka.ipd.sdq.pcm",
61                 "org.antlr",
62                 "de.uka.ipd.sdq.sensorframework.storage",
63                 "de.uka.ipd.sdq.probfunction.math",
64                 "org.apache.commons.math"
65        };
66                
67                
68        @Override
69        protected String[] getRequiredBundles() {
70                return BUNDLES;
71        }        
72        
73    @Override
74    protected String getBundleActivator() {
75        return "main.SimuComControl";
76    }
77        
78}

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