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