forked from phoedos/pmd
Merge branch '7.0.x' into remove-old-stuff
This commit is contained in:
@@ -44,7 +44,11 @@
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.stefanbirkner</groupId>
|
||||
<artifactId>system-rules</artifactId>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
|
@@ -33,6 +33,7 @@ import javax.xml.parsers.SAXParserFactory;
|
||||
import org.apache.commons.io.FilenameUtils;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
import org.junit.contrib.java.lang.system.SystemErrRule;
|
||||
import org.xml.sax.InputSource;
|
||||
import org.xml.sax.SAXException;
|
||||
import org.xml.sax.SAXParseException;
|
||||
@@ -50,6 +51,9 @@ import net.sourceforge.pmd.util.ResourceLoader;
|
||||
* subclassed for each language.
|
||||
*/
|
||||
public abstract class AbstractRuleSetFactoryTest {
|
||||
@org.junit.Rule
|
||||
public final SystemErrRule systemErrRule = new SystemErrRule().enableLog().muteForSuccessfulTests();
|
||||
|
||||
private static SAXParserFactory saxParserFactory;
|
||||
private static ValidateDefaultHandler validateDefaultHandler;
|
||||
private static SAXParser saxParser;
|
||||
|
Reference in New Issue
Block a user