From 778d54d3813b74333d2e659289a18dbb3091c236 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Fri, 8 Apr 2011 16:39:50 +0000 Subject: [PATCH] move propertyset test to antunit git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090340 13f79535-47bb-0310-9956-ffa450edef68 --- .../antunit/types/propertyset-test.xml} | 12 +++-- .../tools/ant/types/PropertySetTest.java | 44 ------------------- 2 files changed, 8 insertions(+), 48 deletions(-) rename src/{etc/testcases/types/propertyset.xml => tests/antunit/types/propertyset-test.xml} (91%) delete mode 100644 src/tests/junit/org/apache/tools/ant/types/PropertySetTest.java diff --git a/src/etc/testcases/types/propertyset.xml b/src/tests/antunit/types/propertyset-test.xml similarity index 91% rename from src/etc/testcases/types/propertyset.xml rename to src/tests/antunit/types/propertyset-test.xml index b45ba9c17..83b3c3e64 100644 --- a/src/etc/testcases/types/propertyset.xml +++ b/src/tests/antunit/types/propertyset-test.xml @@ -17,7 +17,11 @@ * --> - + + + + @@ -48,14 +52,14 @@ - + - + @@ -72,7 +76,7 @@ got="${toString:nested-mapped}"/> - + diff --git a/src/tests/junit/org/apache/tools/ant/types/PropertySetTest.java b/src/tests/junit/org/apache/tools/ant/types/PropertySetTest.java deleted file mode 100644 index aea7f9215..000000000 --- a/src/tests/junit/org/apache/tools/ant/types/PropertySetTest.java +++ /dev/null @@ -1,44 +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 PropertySetTest extends BuildFileTest { - - public PropertySetTest(String name) { - super(name); - } - - public void setUp() { - configureProject("src/etc/testcases/types/propertyset.xml"); - } - - public void testReferenceToTwoReferences() { - executeTarget("reference-to-two-references"); - } - - public void testNestedMapped() { - executeTarget("nested-mapped"); - } - - public void testNestedMappedMapped() { - executeTarget("nested-mapped-mapped"); - } -}