commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1440532 - in /commons/proper/cli/trunk/src/test/java/org/apache/commons/cli: ./ bug/
Date Wed, 30 Jan 2013 17:20:54 GMT
Author: sebb
Date: Wed Jan 30 17:20:54 2013
New Revision: 1440532

URL: http://svn.apache.org/viewvc?rev=1440532&view=rev
Log:
Suppress deprecation warnings for test classes

Modified:
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ApplicationTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ArgumentIsOptionTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/BasicParserTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/BugsTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/CommandLineTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/GnuParserTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionGroupTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionsTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ParserTestCase.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/PatternOptionBuilderTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/PosixParserTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValueTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValuesTest.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI133Test.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI13Test.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI148Test.java
    commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI71Test.java

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ApplicationTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ApplicationTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ApplicationTest.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ApplicationTest.java Wed
Jan 30 17:20:54 2013
@@ -34,6 +34,7 @@ import junit.framework.TestCase;
  *
  * @author John Keyes (john at integralsource.com)
  */
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class ApplicationTest extends TestCase {
 
     public void testLs() throws Exception {

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ArgumentIsOptionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ArgumentIsOptionTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ArgumentIsOptionTest.java
(original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ArgumentIsOptionTest.java
Wed Jan 30 17:20:54 2013
@@ -19,6 +19,7 @@ package org.apache.commons.cli;
 
 import junit.framework.TestCase;
 
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class ArgumentIsOptionTest extends TestCase
 {
     private Options options = null;

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/BasicParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/BasicParserTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/BasicParserTest.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/BasicParserTest.java Wed
Jan 30 17:20:54 2013
@@ -21,6 +21,7 @@ package org.apache.commons.cli;
  * @author Emmanuel Bourg
  * @version $Revision$, $Date$
  */
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class BasicParserTest extends ParserTestCase
 {
     @Override

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/BugsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/BugsTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/BugsTest.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/BugsTest.java Wed Jan 30
17:20:54 2013
@@ -24,6 +24,7 @@ import java.util.Properties;
 
 import junit.framework.TestCase;
 
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class BugsTest extends TestCase
 {
     public void test11457() throws Exception

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/CommandLineTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/CommandLineTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/CommandLineTest.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/CommandLineTest.java Wed
Jan 30 17:20:54 2013
@@ -25,6 +25,7 @@ import junit.framework.TestCase;
  * @author Emmanuel Bourg
  * @version $Revision$, $Date$
  */
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class CommandLineTest extends TestCase
 {
     public void testGetOptionProperties() throws Exception

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/GnuParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/GnuParserTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/GnuParserTest.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/GnuParserTest.java Wed Jan
30 17:20:54 2013
@@ -17,6 +17,7 @@
 
 package org.apache.commons.cli;
 
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class GnuParserTest extends ParserTestCase
 {
     @Override

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionGroupTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionGroupTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionGroupTest.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionGroupTest.java Wed
Jan 30 17:20:54 2013
@@ -25,6 +25,7 @@ import junit.framework.TestCase;
  * @author John Keyes (john at integralsource.com)
  * @version $Revision$
  */
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class OptionGroupTest extends TestCase
 {
     private Options _options = null;

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionsTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionsTest.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/OptionsTest.java Wed Jan
30 17:20:54 2013
@@ -26,6 +26,7 @@ import junit.framework.TestCase;
  * @author Rob Oxspring roxspring@apache.org
  * @version $Revision$
  */
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class OptionsTest extends TestCase
 {
     public void testSimple()

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ParserTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ParserTestCase.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ParserTestCase.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ParserTestCase.java Wed
Jan 30 17:20:54 2013
@@ -871,6 +871,7 @@ public abstract class ParserTestCase ext
         assertEquals("number of arg for -f", 1, cl.getOptionValues("f").length);
     }
 
+    @SuppressWarnings("deprecation")
     private CommandLine parse(CommandLineParser parser, Options opts, String[] args, Properties
properties) throws ParseException {
         if (parser instanceof Parser) {
             return ((Parser) parser).parse(opts, args, properties);

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/PatternOptionBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/PatternOptionBuilderTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/PatternOptionBuilderTest.java
(original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/PatternOptionBuilderTest.java
Wed Jan 30 17:20:54 2013
@@ -30,6 +30,7 @@ import junit.framework.TestCase;
  *
  * @version $Revision$, $Date$
  */
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class PatternOptionBuilderTest extends TestCase
 {
     public void testSimplePattern() throws Exception

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/PosixParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/PosixParserTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/PosixParserTest.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/PosixParserTest.java Wed
Jan 30 17:20:54 2013
@@ -24,6 +24,7 @@ package org.apache.commons.cli;
  */
 public class PosixParserTest extends ParserTestCase
 {
+    @SuppressWarnings("deprecation")
     @Override
     public void setUp()
     {

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValueTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValueTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValueTest.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValueTest.java Wed Jan 30
17:20:54 2013
@@ -19,6 +19,7 @@ package org.apache.commons.cli;
 
 import junit.framework.TestCase;
 
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class ValueTest extends TestCase
 {
     private CommandLine _cl = null;

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValuesTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValuesTest.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValuesTest.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/ValuesTest.java Wed Jan
30 17:20:54 2013
@@ -20,6 +20,7 @@ package org.apache.commons.cli;
 import junit.framework.TestCase;
 import junitx.framework.ArrayAssert;
 
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class ValuesTest extends TestCase
 {
     private CommandLine cmd;

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI133Test.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI133Test.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI133Test.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI133Test.java Wed
Jan 30 17:20:54 2013
@@ -28,6 +28,7 @@ import junit.framework.TestCase;
 /**
  * @author brianegge
  */
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class BugCLI133Test extends TestCase {
     public void testOrder() throws ParseException {
         Option optionA = new Option("a", "first");

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI13Test.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI13Test.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI13Test.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI13Test.java Wed
Jan 30 17:20:54 2013
@@ -29,6 +29,7 @@ import junit.framework.TestCase;
 /**
  * @author brianegge
  */
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class BugCLI13Test extends TestCase
 {
     public void testCLI13() throws ParseException

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI148Test.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI148Test.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI148Test.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI148Test.java Wed
Jan 30 17:20:54 2013
@@ -29,6 +29,7 @@ import org.apache.commons.cli.PosixParse
  *
  * @author brianegge
  */
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class BugCLI148Test  extends TestCase
 {    
     private Options options;

Modified: commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI71Test.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI71Test.java?rev=1440532&r1=1440531&r2=1440532&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI71Test.java (original)
+++ commons/proper/cli/trunk/src/test/java/org/apache/commons/cli/bug/BugCLI71Test.java Wed
Jan 30 17:20:54 2013
@@ -27,6 +27,7 @@ import org.apache.commons.cli.PosixParse
 
 import junit.framework.TestCase;
 
+@SuppressWarnings("deprecation") // tests some deprecated classes
 public class BugCLI71Test extends TestCase {
 
     private Options options;



Mime
View raw message