All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.maven.plugin.clover.TestMethod Maven / Gradle / Ivy

package com.atlassian.maven.plugin.clover;

import com.atlassian.maven.plugin.clover.internal.configuration.AbstractJavaEntity;

/**
 * Matches a single test method. Example:
 *
 * 
 * <testMethod>
 *     <name>check.*</name>
 *     <annotation>@Test</annotation>
 *     <tag>@web</tag>
 *     <returnType>void</returnType>
 * </testMethod>
 * 
*/ public class TestMethod extends AbstractJavaEntity { /** * A regex on which to match the return type of the method, e.g.: *
    *
  • .* - will match any return type.
  • *
  • void - will match methods with no return type.
  • *
*/ private String returnType; @SuppressWarnings("unused") // called by Maven when parsing MOJO configuration public TestMethod() { } public String getReturnType() { return returnType; } public void setReturnType(String returnType) { this.returnType = returnType; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy