FileDocCategorySizeDatePackage
DotnetTest.javaAPI DocApache Ant 1.703134Wed Dec 13 06:16:22 GMT 2006org.apache.tools.ant.taskdefs.optional

DotnetTest

public class DotnetTest extends org.apache.tools.ant.BuildFileTest
Tests the Dotnet tasks, based off WsdlToDotnetTest
since
Ant 1.6

Fields Summary
private static final String
TASKDEFS_DIR
Description of the Field
Constructors Summary
public DotnetTest(String name)
Constructor

param
name testname



             
       
        super(name);
    
Methods Summary
public voidsetUp()
The JUnit setup method

        configureProject(TASKDEFS_DIR + "dotnet.xml");
    
public voidtearDown()
The teardown method for JUnit

        executeTarget("teardown");
    
public voidtestCSC()
A unit test for JUnit

        executeTarget("testCSC");
    
public voidtestCSCdll()
A unit test for JUnit

        executeTarget("testCSCdll");
    
public voidtestCSCintrinsicFileset()
A unit test for JUnit

        executeTarget("testCSCintrinsicFileset");
    
public voidtestCscReferences()
A unit test for JUnit

        executeTarget("testCscReferences");
    
public voidtestCscResources()
A unit test for JUnit

        executeTarget("testCSCResources");
    
public voidtestILASM()
test we can assemble

        executeTarget("testILASM");
    
public voidtestILDASM()
test we can disassemble

        executeTarget("testILDASM");
    
public voidtestILDASM_empty()
test we can disassemble

        expectBuildExceptionContaining("testILDASM_empty",
                "parameter validation",
                "invalid");
    
public voidtestJsharp()
test we can handle jsharp (if found)

        executeTarget("jsharp");
    
public voidtestResponseFile()
test we can handle jsharp (if found)

        executeTarget("testCSCresponseFile");