| EMMA Coverage Report (generated Thu Jan 20 11:39:44 EST 2011) |
|---|
| [all classes][com.hammurapi.eventbus.tests] |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| InfiniteHandler.java | 100% (1/1) | 67% (2/3) | 86% (18/21) | 75% (3/4) |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| class InfiniteHandler | 100% (1/1) | 67% (2/3) | 86% (18/21) | 75% (3/4) |
| getCounter (): int | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
| InfiniteHandler (): void | 100% (1/1) | 100% (3/3) | 100% (1/1) | |
| handle (String): String | 100% (1/1) | 100% (15/15) | 100% (2/2) |
| 1 | package com.hammurapi.eventbus.tests; |
| 2 | |
| 3 | import com.hammurapi.eventbus.Handler; |
| 4 | |
| 5 | public class InfiniteHandler { |
| 6 | |
| 7 | private volatile int counter; |
| 8 | |
| 9 | public int getCounter() { |
| 10 | return counter; |
| 11 | } |
| 12 | |
| 13 | @Handler |
| 14 | public String handle(String str) { |
| 15 | ++counter; |
| 16 | return str+"A"; |
| 17 | } |
| 18 | |
| 19 | } |
| [all classes][com.hammurapi.eventbus.tests] |
| EMMA 2.0.5312 EclEmma Fix 2 (C) Vladimir Roubtsov |