net.sourceforge.pmd
Class RuleSetWriterTest

java.lang.Object
  extended by net.sourceforge.pmd.RuleSetWriterTest

public class RuleSetWriterTest
extends Object

Unit test for RuleSetWriter.


Constructor Summary
RuleSetWriterTest()
           
 
Method Summary
 void cleanupStream()
          Closes the output stream at the end.
 void setupOutputStream()
          Prepare the output stream.
 void testRuleReferenceOverriddenName()
          Unit test for #1312 see https://sourceforge.net/p/pmd/bugs/1312/
 void testWrite()
          Tests the exclude rule behavior.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleSetWriterTest

public RuleSetWriterTest()
Method Detail

setupOutputStream

public void setupOutputStream()
Prepare the output stream.


cleanupStream

public void cleanupStream()
Closes the output stream at the end.


testWrite

public void testWrite()
               throws Exception
Tests the exclude rule behavior. See bug #945.

Throws:
Exception - any error

testRuleReferenceOverriddenName

public void testRuleReferenceOverriddenName()
                                     throws Exception
Unit test for #1312 see https://sourceforge.net/p/pmd/bugs/1312/

Throws:
Exception - any error


Copyright © 2002–2015 InfoEther. All rights reserved.