EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012) |
---|
[all classes][de.uka.ipd.sdq.pipesandfilters.framework.recorder] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
ConsoleWriteStrategy.java | 0% (0/1) | 0% (0/4) | 0% (0/33) | 0% (0/8) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class ConsoleWriteStrategy | 0% (0/1) | 0% (0/4) | 0% (0/33) | 0% (0/8) |
ConsoleWriteStrategy (): void | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
flush (): void | 0% (0/1) | 0% (0/1) | 0% (0/1) | |
initialize (MetaDataInit): void | 0% (0/1) | 0% (0/1) | 0% (0/1) | |
writeData (PipeData): void | 0% (0/1) | 0% (0/28) | 0% (0/5) |
1 | package de.uka.ipd.sdq.pipesandfilters.framework.recorder; |
2 | |
3 | import de.uka.ipd.sdq.pipesandfilters.framework.MetaDataInit; |
4 | import de.uka.ipd.sdq.pipesandfilters.framework.PipeData; |
5 | |
6 | public class ConsoleWriteStrategy implements IRawWriteStrategy { |
7 | |
8 | @Override |
9 | public void flush() { |
10 | // do nothing |
11 | } |
12 | |
13 | @Override |
14 | public void initialize(MetaDataInit metaData) { |
15 | // System.out.println("Initialize WriteStrategy: " + metaData.) |
16 | } |
17 | |
18 | @Override |
19 | public void writeData(PipeData data) { |
20 | String out = ""; |
21 | for (int i = 0; i<data.getTupleSize(); i++) { |
22 | out += data.getTupleElement(i).toString() + "\t"; |
23 | } |
24 | System.out.println(out); |
25 | } |
26 | |
27 | } |
[all classes][de.uka.ipd.sdq.pipesandfilters.framework.recorder] |
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov |