001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: *
017: */
018:
019: package org.apache.tools.ant.taskdefs;
020:
021: import org.apache.tools.ant.BuildFileTest;
022:
023: /**
024: */
025: public class DeleteTest extends BuildFileTest {
026:
027: public DeleteTest(String name) {
028: super (name);
029: }
030:
031: public void setUp() {
032: configureProject("src/etc/testcases/taskdefs/delete.xml");
033: }
034:
035: public void tearDown() {
036: executeTarget("cleanup");
037: }
038:
039: public void test1() {
040: expectBuildException("test1", "required argument not specified");
041: }
042:
043: public void test2() {
044: executeTarget("test2");
045: }
046:
047: //where oh where has my test case 3 gone?
048: public void test4() {
049: executeTarget("test4");
050: }
051:
052: public void test5() {
053: executeTarget("test5");
054: }
055:
056: public void test6() {
057: executeTarget("test6");
058: }
059:
060: public void test7() {
061: executeTarget("test7");
062: }
063:
064: public void test8() {
065: executeTarget("test8");
066: }
067:
068: public void test9() {
069: executeTarget("test9");
070: }
071:
072: public void test10() {
073: executeTarget("test10");
074: }
075:
076: public void test11() {
077: executeTarget("test11");
078: }
079:
080: public void test12() {
081: executeTarget("test12");
082: }
083:
084: public void test13() {
085: executeTarget("test13");
086: }
087:
088: public void test14() {
089: executeTarget("test14");
090: }
091:
092: public void test15() {
093: executeTarget("test15");
094: }
095:
096: public void test16() {
097: executeTarget("test16");
098: }
099:
100: public void test17() {
101: executeTarget("test17");
102: }
103: }
|