ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs ExecTaskTest.java
Date Wed, 30 Jul 2003 09:10:09 GMT
antoine     2003/07/30 02:10:09

  Modified:    src/testcases/org/apache/tools/ant/taskdefs
                        ExecTaskTest.java
  Log:
  suppress unnecessary output from the test
  
  Revision  Changes    Path
  1.5       +0 -11     ant/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java
  
  Index: ExecTaskTest.java
  ===================================================================
  RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ExecTaskTest.java	29 Jul 2003 08:53:00 -0000	1.4
  +++ ExecTaskTest.java	30 Jul 2003 09:10:09 -0000	1.5
  @@ -130,7 +130,6 @@
           long elapsed = myBuild.getTimeElapsed();
           assertTrue("we waited more than the process lasted", TIME_TO_WAIT * 1000 > elapsed);
           logFile = new File(logFile.getAbsolutePath());
  -        System.out.println("log file exists "+ logFile.exists());
           assertTrue("log file found after spawn", logFile.exists());
       }
   
  @@ -166,7 +165,6 @@
               project.init();
               project.setUserProperty( "ant.file" , myBuildFile.getAbsolutePath() );
               ProjectHelper.configureProject(project, myBuildFile);
  -            project.addBuildListener(createLogger());
           }
           /**
            *
  @@ -186,15 +184,6 @@
               timeStarted = new GregorianCalendar();
               project.executeTarget(target);
               timeFinished = new GregorianCalendar();
  -        }
  -        private static BuildLogger createLogger() {
  -            BuildLogger logger = null;
  -            logger = new DefaultLogger();
  -            logger.setMessageOutputLevel(Project.MSG_VERBOSE);
  -            logger.setOutputPrintStream(System.out);
  -            logger.setErrorPrintStream(System.err);
  -            logger.setEmacsMode(false);
  -            return logger;
           }
       }
       private class MonitoredBuildListener implements BuildListener {
  
  
  

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


Mime
View raw message