EMMA Coverage Report (generated Tue Dec 18 20:38:46 CET 2007)
[all classes][default package]

## COVERAGE SUMMARY FOR SOURCE FILE [TestVector.java]

name | class, % | method, % | block, % | line, %
--- | --- | --- | --- | ---
TestVector.java | 0% (0/1) | 0% (0/2) | 0% (0/82) | 0% (0/13)

### COVERAGE BREAKDOWN BY CLASS AND METHOD

name | class, % | method, % | block, % | line, %
--- | --- | --- | --- | ---
class TestVector | 0% (0/1) | 0% (0/2) | 0% (0/82) | 0% (0/13)
TestVector (): void |  | 0% (0/1) | 0% (0/3) | 0% (0/1)
main (String []): void |  | 0% (0/1) | 0% (0/79) | 0% (0/12)

1 | import java.util.Iterator;
2 | import java.util.Vector;
3 |
4 | import cz.vutbr.feec.packets.ttp.GeneralTTPHeader;
5 |
6 |
7 | public class TestVector {
8 | public static void main(String[] args) {
9 | Vector<GeneralTTPHeader> v = new Vector<GeneralTTPHeader>();
10 | v.add(new GeneralTTPHeader(1));
11 | v.add(new GeneralTTPHeader(2));
12 | v.add(new GeneralTTPHeader(3));
13 | v.add(new GeneralTTPHeader(4));
14 |
15 | System.out.println("SIZE " + v.size());
16 |
17 | for (GeneralTTPHeader generalTTPHeader : v) {
18 | System.out.println(generalTTPHeader.getPacketType());
19 | }
20 |
21 | for (Iterator<GeneralTTPHeader> iterator = v.iterator(); iterator.hasNext();) {
22 | GeneralTTPHeader name = iterator.next();
23 | System.out.println("xxx "+name.getPacketType());
24 | }
25 | }
26 | }

[all classes][default package]
EMMA 2.0.5312 EclEmma Fix 1 (C) Vladimir Roubtsov