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.types;
020:
021: import org.apache.tools.ant.BuildFileTest;
022:
023: public class ResourceComparatorsTest extends BuildFileTest {
024:
025: public ResourceComparatorsTest(String name) {
026: super (name);
027: }
028:
029: public void setUp() {
030: configureProject("src/etc/testcases/types/resources/comparators/build.xml");
031: }
032:
033: public void tearDown() {
034: executeTarget("tearDown");
035: }
036:
037: public void testcompoundsort1() {
038: executeTarget("testcompoundsort1");
039: }
040:
041: public void testcompoundsort2() {
042: executeTarget("testcompoundsort2");
043: }
044:
045: public void testcontent() {
046: executeTarget("testcontent");
047: }
048:
049: public void testexists() {
050: executeTarget("testexists");
051: }
052:
053: public void testdate() {
054: executeTarget("testdate");
055: }
056:
057: public void testname() {
058: executeTarget("testname");
059: }
060:
061: public void testrvcontent() {
062: executeTarget("testrvcontent");
063: }
064:
065: public void testrvdefault() {
066: executeTarget("testrvdefault");
067: }
068:
069: public void testrvexists() {
070: executeTarget("testrvexists");
071: }
072:
073: public void testrvdate() {
074: executeTarget("testrvdate");
075: }
076:
077: public void testrvname() {
078: executeTarget("testrvname");
079: }
080:
081: public void testrvsize() {
082: executeTarget("testrvsize");
083: }
084:
085: public void testrvtype() {
086: executeTarget("testrvtype");
087: }
088:
089: public void testsize() {
090: executeTarget("testsize");
091: }
092:
093: public void testsortdefault() {
094: executeTarget("testsortdefault");
095: }
096:
097: public void testtype() {
098: executeTarget("testtype");
099: }
100:
101: }
|