Clover Coverage Report - Atlassian XWork(Aggregated)
Coverage timestamp: Wed Jul 27 2011 23:39:31 CDT
2   22   2   1
0   15   1   2
2     1  
1    
 
 
  VersionSupportForTests       Line # 11 2 2 100% 1.0
 
  (8)
 
1    package com.atlassian.xwork;
2   
3    import com.opensymphony.xwork.Action;
4    import com.opensymphony.xwork.ActionInvocation;
5   
6    import java.lang.reflect.Method;
7   
8    /**
9    *
10    */
 
11    public class VersionSupportForTests implements XWorkVersionSupport
12    {
 
13  15 toggle public Action extractAction(ActionInvocation invocation)
14    {
15  15 return invocation.getAction();
16    }
17   
 
18  49 toggle public Method extractMethod(ActionInvocation invocation) throws NoSuchMethodException
19    {
20  49 return invocation.getProxy().getConfig().getMethod();
21    }
22    }