FileDocCategorySizeDatePackage
NiceTest.javaAPI DocApache Ant 1.701711Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.taskdefs

NiceTest

public class NiceTest extends org.apache.tools.ant.BuildFileTest
test nice

Fields Summary
Constructors Summary
public NiceTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

        configureProject("src/etc/testcases/taskdefs/nice.xml");
    
public voidtestCurrent()

        executeTarget("current");
    
public voidtestFaster()

        executeTarget("faster");
    
public voidtestNoop()

        executeTarget("noop");
    
public voidtestSlower()

        executeTarget("slower");
    
public voidtestTooFast()

        expectBuildExceptionContaining(
                "too_fast", "out of range", "out of the range 1-10");
    
public voidtestTooSlow()

        expectBuildExceptionContaining(
                "too_slow","out of range","out of the range 1-10");