summaryrefslogtreecommitdiff
path: root/src/testcases
diff options
context:
space:
mode:
authorStefan Bodewig <bodewig@apache.org>2003-10-10 10:33:42 +0000
committerStefan Bodewig <bodewig@apache.org>2003-10-10 10:33:42 +0000
commit7e0d189209782f4a4af5e50fde82d8d4fc47c15e (patch)
tree47aac4c3b4e9c3ae1cd6705b7822d2d6c022f04a /src/testcases
parente20c3b0cd24a66d92f844efe4b99b7cf8178b4c9 (diff)
downloadant-7e0d189209782f4a4af5e50fde82d8d4fc47c15e.tar.gz
Testcase for PR 23639
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275435 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases')
-rw-r--r--src/testcases/org/apache/tools/ant/taskdefs/WarTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testcases/org/apache/tools/ant/taskdefs/WarTest.java b/src/testcases/org/apache/tools/ant/taskdefs/WarTest.java
index d6f426bc4..f022d5adb 100644
--- a/src/testcases/org/apache/tools/ant/taskdefs/WarTest.java
+++ b/src/testcases/org/apache/tools/ant/taskdefs/WarTest.java
@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2002 The Apache Software Foundation. All rights
+ * Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -54,6 +54,8 @@
package org.apache.tools.ant.taskdefs;
+import java.io.File;
+
import org.apache.tools.ant.BuildFileTest;
/**
@@ -82,5 +84,7 @@ public class WarTest extends BuildFileTest {
*/
public void testLibRefs() {
executeTarget("testlibrefs");
+ File f = getProject().resolveFile("working/WEB-INF/lib/war.xml");
+ assertTrue("File has been put into lib", f.exists());
}
}