ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gscok...@apache.org
Subject svn commit: r786662 - in /ant/antlibs/antunit/trunk/src: main/org/apache/ant/antunit/ main/org/apache/ant/antunit/listener/ tests/junit/org/apache/ant/antunit/junit3/ tests/junit/org/apache/ant/antunit/junit4/
Date Fri, 19 Jun 2009 20:46:16 GMT
Author: gscokart
Date: Fri Jun 19 20:46:16 2009
New Revision: 786662

URL: http://svn.apache.org/viewvc?rev=786662&view=rev
Log:
clean warnings

Modified:
    ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnitExecutionNotifier.java
    ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/listener/BaseAntUnitListener.java
    ant/antlibs/antunit/trunk/src/tests/junit/org/apache/ant/antunit/junit3/AntUnitTestCaseTest.java
    ant/antlibs/antunit/trunk/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java

Modified: ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnitExecutionNotifier.java
URL: http://svn.apache.org/viewvc/ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnitExecutionNotifier.java?rev=786662&r1=786661&r2=786662&view=diff
==============================================================================
--- ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnitExecutionNotifier.java
(original)
+++ ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnitExecutionNotifier.java
Fri Jun 19 20:46:16 2009
@@ -20,9 +20,6 @@
 
 package org.apache.ant.antunit;
 
-import java.io.File;
-
-import org.apache.tools.ant.Project;
 
 /** 
  * Provides methods that allow the AntUnitScriptRunner to notify the test progress.

Modified: ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/listener/BaseAntUnitListener.java
URL: http://svn.apache.org/viewvc/ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/listener/BaseAntUnitListener.java?rev=786662&r1=786661&r2=786662&view=diff
==============================================================================
--- ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/listener/BaseAntUnitListener.java
(original)
+++ ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/listener/BaseAntUnitListener.java
Fri Jun 19 20:46:16 2009
@@ -36,7 +36,6 @@
 import org.apache.tools.ant.Task;
 import org.apache.tools.ant.taskdefs.LogOutputStream;
 import org.apache.tools.ant.types.EnumeratedAttribute;
-import org.apache.tools.ant.types.LogLevel;
 import org.apache.tools.ant.util.FileUtils;
 import org.apache.tools.ant.util.TeeOutputStream;
 

Modified: ant/antlibs/antunit/trunk/src/tests/junit/org/apache/ant/antunit/junit3/AntUnitTestCaseTest.java
URL: http://svn.apache.org/viewvc/ant/antlibs/antunit/trunk/src/tests/junit/org/apache/ant/antunit/junit3/AntUnitTestCaseTest.java?rev=786662&r1=786661&r2=786662&view=diff
==============================================================================
--- ant/antlibs/antunit/trunk/src/tests/junit/org/apache/ant/antunit/junit3/AntUnitTestCaseTest.java
(original)
+++ ant/antlibs/antunit/trunk/src/tests/junit/org/apache/ant/antunit/junit3/AntUnitTestCaseTest.java
Fri Jun 19 20:46:16 2009
@@ -24,15 +24,13 @@
 import java.io.FileReader;
 import java.io.IOException;
 
-import org.apache.ant.antunit.junit3.AntUnitTestCase;
-import org.apache.tools.ant.util.FileUtils;
-
-import junit.framework.Assert;
 import junit.framework.Test;
 import junit.framework.TestCase;
 import junit.framework.TestFailure;
 import junit.framework.TestResult;
 
+import org.apache.tools.ant.util.FileUtils;
+
 public class AntUnitTestCaseTest extends TestCase {
 
     File f = new File("src/etc/testcases/antunit/junit.xml");

Modified: ant/antlibs/antunit/trunk/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java
URL: http://svn.apache.org/viewvc/ant/antlibs/antunit/trunk/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java?rev=786662&r1=786661&r2=786662&view=diff
==============================================================================
--- ant/antlibs/antunit/trunk/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java
(original)
+++ ant/antlibs/antunit/trunk/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java
Fri Jun 19 20:46:16 2009
@@ -29,7 +29,6 @@
 import junit.framework.TestSuite;
 
 import org.apache.ant.antunit.junit3.AntUnitSuite;
-import org.apache.ant.antunit.junit3.ErrorTestCase;
 import org.apache.tools.ant.util.FileUtils;
 import org.junit.internal.runners.InitializationError;
 import org.junit.runner.Description;
@@ -109,8 +108,7 @@
 
     public void testMissingSuiteMethodInitializationError() {
         try {
-            AntUnitSuiteRunner runner = new AntUnitSuiteRunner(
-                    JUnit4AntUnitRunnableWithoutSuiteMethod.class);
+            new AntUnitSuiteRunner(JUnit4AntUnitRunnableWithoutSuiteMethod.class);
             fail("InitializationError expected");
         } catch (InitializationError e) {
             String msg = e.getCauses().get(0).getMessage();
@@ -120,8 +118,7 @@
 
     public void testNonStaticSuiteMethodInitializationError() {
         try {
-            AntUnitSuiteRunner runner = new AntUnitSuiteRunner(
-                    JUnit4AntUnitRunnableWithNonStaticSuite.class);
+            new AntUnitSuiteRunner(JUnit4AntUnitRunnableWithNonStaticSuite.class);
             fail("InitializationError expected");
         } catch (InitializationError e) {
             String msg = e.getCauses().get(0).getMessage();
@@ -132,8 +129,7 @@
 
     public void testInvalidSuiteReturnTypeError() {
         try {
-            AntUnitSuiteRunner runner = new AntUnitSuiteRunner(
-                    JUnit4AntUnitRunnableWithInvalidSuiteReturnType.class);
+            new AntUnitSuiteRunner(JUnit4AntUnitRunnableWithInvalidSuiteReturnType.class);
             fail("InitializationError expected");
         } catch (InitializationError e) {
             String msg = e.getCauses().get(0).getMessage();
@@ -144,8 +140,7 @@
 
     public void testInvalidSuiteReturnNull() {
         try {
-            AntUnitSuiteRunner runner = new AntUnitSuiteRunner(
-                    JUnit4AntUnitRunnableWithInvalidSuiteReturningNull.class);
+            new AntUnitSuiteRunner(JUnit4AntUnitRunnableWithInvalidSuiteReturningNull.class);
             fail("InitializationError expected");
         } catch (InitializationError e) {
             String msg = e.getCauses().get(0).getMessage();
@@ -157,8 +152,7 @@
 
     public void testInvalidSuiteReferencingMissingFile() {
         try {
-            AntUnitSuiteRunner runner = new AntUnitSuiteRunner(
-                    JUnit4AntUnitRunnableRefferencingIncorrectFile.class);
+            new AntUnitSuiteRunner(JUnit4AntUnitRunnableRefferencingIncorrectFile.class);
             fail("InitializationError expected");
         } catch (InitializationError e) {
             String msg = e.getCauses().get(0).getMessage();



Mime
View raw message