Clover Coverage Report - EasyMock 2.4
Coverage timestamp: mer. juil. 2 2008 02:17:38 CEST
3   24   2   1,5
0   17   0,67   1
2     1  
2    
 
 
  MethodSerializationWrapperTest       Line # 10 3 1 100% 1.0
  MethodSerializationWrapperTest.A       Line # 12 0 1 0% 0.0
 
  (1)
 
1    package org.easymock.tests;
2   
3    import static org.junit.Assert.*;
4   
5    import java.lang.reflect.Method;
6   
7    import org.easymock.internal.MethodSerializationWrapper;
8    import org.junit.Test;
9   
 
10    public class MethodSerializationWrapperTest {
11   
 
12    public static class A {
 
13  0 toggle public void foo(String s, int i, String[] sArray, int[] iArray, String...varargs ) {
14    }
15    }
16   
 
17  1 toggle @Test
18    public void testGetMethod() throws Exception {
19  1 Method foo = A.class.getMethod("foo", String.class, Integer.TYPE, String[].class, int[].class, String[].class);
20  1 MethodSerializationWrapper wrapper = new MethodSerializationWrapper(foo);
21  1 assertEquals(foo, wrapper.getMethod());
22    }
23   
24    }