EMMA Coverage Report (generated Thu Jan 20 11:39:44 EST 2011)
[all classes][com.hammurapi.eventbus.tests]

COVERAGE SUMMARY FOR SOURCE FILE [StringHandlerWithMethodCondition.java]

nameclass, %method, %block, %line, %
StringHandlerWithMethodCondition.java100% (1/1)100% (4/4)100% (21/21)100% (6/6)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class StringHandlerWithMethodCondition100% (1/1)100% (4/4)100% (21/21)100% (6/6)
StringHandlerWithMethodCondition (): 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)

1package com.hammurapi.eventbus.tests;
2 
3import com.hammurapi.eventbus.Handler;
4 
5public class StringHandlerWithMethodCondition {
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(\"Hello\")")
19        public void handle(String str) {
20                ++counter;
21                ok = "Hello".equals(str);
22        }
23        
24}

[all classes][com.hammurapi.eventbus.tests]
EMMA 2.0.5312 EclEmma Fix 2 (C) Vladimir Roubtsov