1 17 package org.apache.tools.ant.taskdefs.optional; 18 19 import java.io.*; 20 import java.util.Properties ; 21 22 import org.apache.tools.ant.BuildFileTest; 23 24 29 public class DotnetTest extends BuildFileTest { 30 31 34 private final static String TASKDEFS_DIR = "src/etc/testcases/taskdefs/optional/"; 35 36 37 42 public DotnetTest(String name) { 43 super(name); 44 } 45 46 47 50 public void setUp() { 51 configureProject(TASKDEFS_DIR + "dotnet.xml"); 52 } 53 54 55 58 public void tearDown() { 59 executeTarget("teardown"); 60 } 61 62 63 66 public void testCSC() throws Exception { 67 executeTarget("testCSC"); 68 } 69 70 71 74 public void testCSCintrinsicFileset() throws Exception { 75 executeTarget("testCSCintrinsicFileset"); 76 } 77 78 79 82 public void testCSCdll() throws Exception { 83 executeTarget("testCSCdll"); 84 } 85 86 89 public void testCscReferences() throws Exception { 90 executeTarget("testCscReferences"); 91 } 92 93 96 public void testILASM() throws Exception { 97 executeTarget("testILASM"); 98 } 99 100 103 public void testILDASM() throws Exception { 104 executeTarget("testILDASM"); 105 } 106 107 110 public void testILDASM_empty() throws Exception { 111 expectBuildExceptionContaining("testILDASM_empty", 112 "parameter validation", 113 "invalid"); 114 } 115 116 119 public void testJsharp() throws Exception { 120 executeTarget("jsharp"); 121 } 122 123 126 public void testResponseFile() throws Exception { 127 executeTarget("testCSCresponseFile"); 128 } 129 130 } 131 132 | Popular Tags |