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

COVERAGE SUMMARY FOR SOURCE FILE [MoreRestrictiveHandler.java]

nameclass, %method, %block, %line, %
MoreRestrictiveHandler.java100% (1/1)80%  (4/5)76%  (13/17)71%  (5/7)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class MoreRestrictiveHandler100% (1/1)80%  (4/5)76%  (13/17)71%  (5/7)
handleList (List): void 0%   (0/1)0%   (0/4)0%   (0/2)
MoreRestrictiveHandler (): void 100% (1/1)100% (3/3)100% (1/1)
handleCollection (Collection): void 100% (1/1)100% (4/4)100% (2/2)
isCollectionInvoked (): boolean 100% (1/1)100% (3/3)100% (1/1)
isListInvoked (): boolean 100% (1/1)100% (3/3)100% (1/1)

1package com.hammurapi.eventbus.tests;
2 
3import java.util.Collection;
4import java.util.List;
5 
6import com.hammurapi.eventbus.Handler;
7 
8public class MoreRestrictiveHandler {
9        
10        private boolean listInvoked;
11        private boolean handleInvoked;
12                
13        @Handler
14        public void handleList(List<?> list) {
15                listInvoked = true;
16        }
17        
18        @Handler
19        public void handleCollection(Collection<?> collection) {
20                handleInvoked = true;
21        }
22 
23        public boolean isListInvoked() {
24                return listInvoked;
25        }
26        
27        public boolean isCollectionInvoked() {
28                return handleInvoked;
29        }
30        
31}

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