net.sourceforge.pmd.ant
Class PMDTaskTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.tools.ant.BuildFileTest
              extended by net.sourceforge.pmd.ant.PMDTaskTest
All Implemented Interfaces:
junit.framework.Test

public class PMDTaskTest
extends org.apache.tools.ant.BuildFileTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.tools.ant.BuildFileTest
org.apache.tools.ant.BuildFileTest.AntOutputStream
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.BuildFileTest
project
 
Constructor Summary
PMDTaskTest()
           
 
Method Summary
protected  void setUp()
           
 void testBasic()
           
 void testFormatterWithNoToFileAttribute()
           
 void testInvalidLanguageVersion()
           
 void testNoRuleSets()
           
 
Methods inherited from class org.apache.tools.ant.BuildFileTest
assertDebuglogContaining, assertLogContaining, assertLogNotContaining, assertOutputContaining, assertOutputContaining, assertOutputNotContaining, assertPropertyEquals, assertPropertySet, assertPropertyUnset, configureProject, configureProject, executeTarget, expectBuildException, expectBuildExceptionContaining, expectDebuglog, expectLog, expectLogContaining, expectLogNotContaining, expectOutput, expectOutputAndError, expectPropertySet, expectPropertySet, expectPropertyUnset, expectSpecificBuildException, getBuildException, getError, getFullLog, getLog, getOutput, getOutputDir, getProject, getProjectDir, getResource, tearDown
 
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PMDTaskTest

public PMDTaskTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testFormatterWithNoToFileAttribute

public void testFormatterWithNoToFileAttribute()

testNoRuleSets

public void testNoRuleSets()

testBasic

public void testBasic()

testInvalidLanguageVersion

public void testInvalidLanguageVersion()


Copyright © 2002–2015 InfoEther. All rights reserved.