From e29ca54fbbe7d14ca7fe14286500b8e8074d6e99 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Tue, 11 Apr 2006 19:35:53 +0000 Subject: [PATCH] add a copy dirset test git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@393299 13f79535-47bb-0310-9956-ffa450edef68 --- src/etc/testcases/taskdefs/copy.xml | 49 +++++++++++++++++++ .../apache/tools/ant/taskdefs/CopyTest.java | 6 ++- 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/src/etc/testcases/taskdefs/copy.xml b/src/etc/testcases/taskdefs/copy.xml index b3b6d9053..3de6f608d 100644 --- a/src/etc/testcases/taskdefs/copy.xml +++ b/src/etc/testcases/taskdefs/copy.xml @@ -201,6 +201,55 @@ a=b= + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/testcases/org/apache/tools/ant/taskdefs/CopyTest.java b/src/testcases/org/apache/tools/ant/taskdefs/CopyTest.java index 687fe6a38..7981ab795 100644 --- a/src/testcases/org/apache/tools/ant/taskdefs/CopyTest.java +++ b/src/testcases/org/apache/tools/ant/taskdefs/CopyTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2005 The Apache Software Foundation + * Copyright 2000-2006 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -206,6 +206,10 @@ public class CopyTest extends BuildFileTest { assertTrue(file2.exists()); assertTrue(file3.exists()); } + + public void testDirset() { + executeTarget("testDirset"); + } public void _testResourcePlain() { executeTarget("testResourcePlain");