From 8031d7c31bd993dc3735bba04dc863ba11922f8a Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Thu, 15 Jan 2009 19:34:18 +0000 Subject: [PATCH] move resource comparators tests to antunit git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@734784 13f79535-47bb-0310-9956-ffa450edef68 --- .../types/resources/comparators/test.xml} | 40 +++---- .../ant/types/ResourceComparatorsTest.java | 101 ------------------ 2 files changed, 20 insertions(+), 121 deletions(-) rename src/{etc/testcases/types/resources/comparators/build.xml => tests/antunit/types/resources/comparators/test.xml} (89%) delete mode 100755 src/tests/junit/org/apache/tools/ant/types/ResourceComparatorsTest.java diff --git a/src/etc/testcases/types/resources/comparators/build.xml b/src/tests/antunit/types/resources/comparators/test.xml similarity index 89% rename from src/etc/testcases/types/resources/comparators/build.xml rename to src/tests/antunit/types/resources/comparators/test.xml index a3b20bc05..055c2499e 100755 --- a/src/etc/testcases/types/resources/comparators/build.xml +++ b/src/tests/antunit/types/resources/comparators/test.xml @@ -15,9 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - + + @@ -29,7 +31,7 @@ - + @@ -60,11 +62,9 @@ @{property}=${@{property}} - - - + @@ -75,7 +75,7 @@ - + @@ -88,7 +88,7 @@ - + @@ -101,7 +101,7 @@ - + @@ -116,7 +116,7 @@ - + @@ -129,7 +129,7 @@ - + @@ -144,7 +144,7 @@ - + @@ -157,7 +157,7 @@ - + @@ -172,7 +172,7 @@ - + @@ -185,7 +185,7 @@ - + @@ -200,7 +200,7 @@ - + @@ -220,7 +220,7 @@ - + @@ -242,7 +242,7 @@ - + @@ -262,7 +262,7 @@ - + @@ -290,7 +290,7 @@ - + @@ -317,7 +317,7 @@ - + diff --git a/src/tests/junit/org/apache/tools/ant/types/ResourceComparatorsTest.java b/src/tests/junit/org/apache/tools/ant/types/ResourceComparatorsTest.java deleted file mode 100755 index 0b39a60e5..000000000 --- a/src/tests/junit/org/apache/tools/ant/types/ResourceComparatorsTest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -package org.apache.tools.ant.types; - -import org.apache.tools.ant.BuildFileTest; - -public class ResourceComparatorsTest extends BuildFileTest { - - public ResourceComparatorsTest(String name) { - super(name); - } - - public void setUp() { - configureProject("src/etc/testcases/types/resources/comparators/build.xml"); - } - - public void tearDown() { - executeTarget("tearDown"); - } - - public void testcompoundsort1() { - executeTarget("testcompoundsort1"); - } - - public void testcompoundsort2() { - executeTarget("testcompoundsort2"); - } - - public void testcontent() { - executeTarget("testcontent"); - } - - public void testexists() { - executeTarget("testexists"); - } - - public void testdate() { - executeTarget("testdate"); - } - - public void testname() { - executeTarget("testname"); - } - - public void testrvcontent() { - executeTarget("testrvcontent"); - } - - public void testrvdefault() { - executeTarget("testrvdefault"); - } - - public void testrvexists() { - executeTarget("testrvexists"); - } - - public void testrvdate() { - executeTarget("testrvdate"); - } - - public void testrvname() { - executeTarget("testrvname"); - } - - public void testrvsize() { - executeTarget("testrvsize"); - } - - public void testrvtype() { - executeTarget("testrvtype"); - } - - public void testsize() { - executeTarget("testsize"); - } - - public void testsortdefault() { - executeTarget("testsortdefault"); - } - - public void testtype() { - executeTarget("testtype"); - } - -}