Coverage Report - pt.digitalis.dif.sanitycheck.exceptions.WrongTestMethodSignature
 
Classes in this File Line Coverage Branch Coverage Complexity
WrongTestMethodSignature
0%
0/4
N/A
1
 
 1  0
 /**
 2  
  * 2009, Digitalis Informatica. All rights reserved. Distribuicao e Gestao de Informatica, Lda. Estrada de Paco de Arcos
 3  
  * num.9 - Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21 4408999 http://www.digitalis.pt
 4  
  */
 5  
 
 6  
 package pt.digitalis.dif.sanitycheck.exceptions;
 7  
 
 8  
 import java.lang.reflect.Method;
 9  
 
 10  
 /**
 11  
  * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a><br/>
 12  
  * @created 15 de Jul de 2011
 13  
  */
 14  
 public class WrongTestMethodSignature extends SanityCheckException {
 15  
 
 16  
     /**  */
 17  
     private static final long serialVersionUID = -7189355421375629096L;
 18  
 
 19  
     /**
 20  
      * @param theMethod
 21  
      */
 22  
     public WrongTestMethodSignature(Method theMethod)
 23  
     {
 24  0
         super("The method \"" + theMethod.getDeclaringClass().getSimpleName() + "." + theMethod.getName()
 25  0
                 + "\" must return a TestResult object and can only have a IDIFContext parameter, or no parameters!");
 26  0
     }
 27  
 
 28  
 }