FileDocCategorySizeDatePackage
StripJavaCommentsTest.javaAPI DocApache Ant 1.701782Wed Dec 13 06:16:24 GMT 2006org.apache.tools.ant.filters

StripJavaCommentsTest

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

Fields Summary
private static final org.apache.tools.ant.util.FileUtils
FILE_UTILS
Constructors Summary
public StripJavaCommentsTest(String name)


       
        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/filters/build.xml");
    
public voidtearDown()

        executeTarget("cleanup");
    
public voidtestStripJavaComments()

        executeTarget("testStripJavaComments");
        File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(),"expected/stripjavacomments.test");
        File result = FILE_UTILS.resolveFile(getProject().getBaseDir(),"result/stripjavacomments.test");
        assertTrue(FILE_UTILS.contentEquals(expected, result));