ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r419846 - /ant/core/trunk/src/testcases/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java
Date Fri, 07 Jul 2006 09:05:13 GMT
Author: stevel
Date: Fri Jul  7 02:05:13 2006
New Revision: 419846

URL: http://svn.apache.org/viewvc?rev=419846&view=rev
Log:
roll back deletion of public teardown operator, with a comment as to why it is needed

Modified:
    ant/core/trunk/src/testcases/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java

Modified: ant/core/trunk/src/testcases/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/testcases/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java?rev=419846&r1=419845&r2=419846&view=diff
==============================================================================
--- ant/core/trunk/src/testcases/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java
(original)
+++ ant/core/trunk/src/testcases/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java
Fri Jul  7 02:05:13 2006
@@ -914,6 +914,14 @@
             isConfigured = true;
         }
 
+
+        /**
+         * This stub teardown is here because the outer class needs to call the
+         * tearDown method, and in the superclass it is protected.
+         */
+        public void tearDown() {
+        }
+
         public void doTarget(String target) {
             if (!isConfigured) setUp();
             executeTarget(target);
@@ -949,7 +957,7 @@
             File cacheFile = new File(basedir, "cache.properties");
             cacheFile.delete();
         }
-      
+
         public String getBuildfile() {
             return buildfile;
         }
@@ -979,7 +987,7 @@
             target.addTask(task);
             task.setOwningTarget(target);
         }
-     
+
         public void fireBuildFinished() {
             super.fireBuildFinished(null);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message