1 17 18 package org.apache.tools.ant.taskdefs; 19 import org.apache.tools.ant.BuildFileTest; 20 21 23 public class RenameTest extends BuildFileTest { 24 25 public RenameTest(String name) { 26 super(name); 27 } 28 29 public void setUp() { 30 configureProject("src/etc/testcases/taskdefs/rename.xml"); 31 } 32 33 public void test1() { 34 expectBuildException("test1", "required argument missing"); 35 } 36 public void test2() { 37 expectBuildException("test2", "required argument missing"); 38 } 39 public void test3() { 40 expectBuildException("test3", "required argument missing"); 41 } 42 50 public void test6() { 51 executeTarget("test6"); 52 } 53 54 } 55 | Popular Tags |