commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject [14/50] [abbrv] commons-cli git commit: Ignore tests purposely left empty test bodies. Thanks to GitHub user august782. This also closes #5 from GitHub.
Date Thu, 08 Jun 2017 17:36:43 GMT
Ignore tests purposely left empty test bodies. Thanks to GitHub user august782. This also closes
#5 from GitHub.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1749393 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/commons-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-cli/commit/f6af6236
Tree: http://git-wip-us.apache.org/repos/asf/commons-cli/tree/f6af6236
Diff: http://git-wip-us.apache.org/repos/asf/commons-cli/diff/f6af6236

Branch: refs/heads/master
Commit: f6af62367494ff8d0d7844f7f435e5ee36c81dcf
Parents: 672ba92
Author: Benedikt Ritter <britter@apache.org>
Authored: Mon Jun 20 19:41:00 2016 +0000
Committer: Benedikt Ritter <britter@apache.org>
Committed: Mon Jun 20 19:41:00 2016 +0000

----------------------------------------------------------------------
 .../org/apache/commons/cli/BasicParserTest.java | 74 +++++++-------------
 .../org/apache/commons/cli/GnuParserTest.java   | 65 ++++++-----------
 .../org/apache/commons/cli/PosixParserTest.java | 29 +++-----
 3 files changed, 60 insertions(+), 108 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-cli/blob/f6af6236/src/test/java/org/apache/commons/cli/BasicParserTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/cli/BasicParserTest.java b/src/test/java/org/apache/commons/cli/BasicParserTest.java
index 53683eb..10e5830 100644
--- a/src/test/java/org/apache/commons/cli/BasicParserTest.java
+++ b/src/test/java/org/apache/commons/cli/BasicParserTest.java
@@ -18,6 +18,8 @@
 package org.apache.commons.cli;
 
 import org.junit.Before;
+import org.junit.Ignore;
+import org.junit.Test;
 
 @SuppressWarnings("deprecation") // tests some deprecated classes
 public class BasicParserTest extends ParserTestCase
@@ -29,147 +31,123 @@ public class BasicParserTest extends ParserTestCase
         parser = new BasicParser();
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testDoubleDash2() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testLongWithoutEqualSingleDash() throws Exception
     {
-        // not supported by the BasicParser
     }
     
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testAmbiguousLongWithoutEqualSingleDash() throws Exception
     {
-        // not supported by the basicParser
     }
     
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser (CLI-184)")
     public void testNegativeOption() throws Exception
     {
-        // not supported by the BasicParser (CLI-184)
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testPropertiesOption1() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testPropertiesOption2() throws Exception
     {
-        // not supported by the BasicParser
     }    
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testShortWithEqual() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testShortWithoutEqual() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testLongWithEqualDoubleDash() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testLongWithEqualSingleDash() throws Exception
     {
-        // not supported by the BasicParser
     }
     
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testUnambiguousPartialLongOption1() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testUnambiguousPartialLongOption2() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testUnambiguousPartialLongOption3() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testUnambiguousPartialLongOption4() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testAmbiguousPartialLongOption1() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testAmbiguousPartialLongOption2() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testAmbiguousPartialLongOption3() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testAmbiguousPartialLongOption4() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testPartialLongOptionSingleDash() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testBursting() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testUnrecognizedOptionWithBursting() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testMissingArgWithBursting() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testStopBursting() throws Exception
     {
-        // not supported by the BasicParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the BasicParser")
     public void testStopBursting2() throws Exception
     {
-        // not supported by the BasicParser
     }
 }

http://git-wip-us.apache.org/repos/asf/commons-cli/blob/f6af6236/src/test/java/org/apache/commons/cli/GnuParserTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/cli/GnuParserTest.java b/src/test/java/org/apache/commons/cli/GnuParserTest.java
index 86b187b..0b1c282 100644
--- a/src/test/java/org/apache/commons/cli/GnuParserTest.java
+++ b/src/test/java/org/apache/commons/cli/GnuParserTest.java
@@ -18,6 +18,8 @@
 package org.apache.commons.cli;
 
 import org.junit.Before;
+import org.junit.Ignore;
+import org.junit.Test;
 
 @SuppressWarnings("deprecation") // tests some deprecated classes
 public class GnuParserTest extends ParserTestCase
@@ -29,129 +31,108 @@ public class GnuParserTest extends ParserTestCase
         parser = new GnuParser();
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testDoubleDash2() throws Exception
     {
-        // not supported by the GnuParser
     }
     
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testLongWithoutEqualSingleDash() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testAmbiguousLongWithoutEqualSingleDash() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser (CLI-184)")
     public void testNegativeOption() throws Exception
     {
-        // not supported by the GnuParser (CLI-184)
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testLongWithUnexpectedArgument1() throws Exception 
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testLongWithUnexpectedArgument2() throws Exception 
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testShortWithUnexpectedArgument() throws Exception 
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testUnambiguousPartialLongOption1() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testUnambiguousPartialLongOption2() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testUnambiguousPartialLongOption3() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testUnambiguousPartialLongOption4() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testAmbiguousPartialLongOption1() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testAmbiguousPartialLongOption2() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testAmbiguousPartialLongOption3() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testAmbiguousPartialLongOption4() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testPartialLongOptionSingleDash() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testBursting() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testUnrecognizedOptionWithBursting() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testMissingArgWithBursting() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testStopBursting() throws Exception
     {
-        // not supported by the GnuParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the GnuParser")
     public void testStopBursting2() throws Exception
     {
-        // not supported by the GnuParser
     }
 }

http://git-wip-us.apache.org/repos/asf/commons-cli/blob/f6af6236/src/test/java/org/apache/commons/cli/PosixParserTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/cli/PosixParserTest.java b/src/test/java/org/apache/commons/cli/PosixParserTest.java
index 3ca7872..2a8961a 100644
--- a/src/test/java/org/apache/commons/cli/PosixParserTest.java
+++ b/src/test/java/org/apache/commons/cli/PosixParserTest.java
@@ -18,6 +18,8 @@
 package org.apache.commons.cli;
 
 import org.junit.Before;
+import org.junit.Ignore;
+import org.junit.Test;
 
 /**
  * Test case for the PosixParser.
@@ -32,57 +34,48 @@ public class PosixParserTest extends ParserTestCase
         parser = new PosixParser();
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the PosixParser")
     public void testDoubleDash2() throws Exception
     {
-        // not supported by the PosixParser
     }
     
-    @Override
+    @Override @Test @Ignore("not supported by the PosixParser")
     public void testLongWithoutEqualSingleDash() throws Exception
     {
-        // not supported by the PosixParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the PosixParser")
     public void testAmbiguousLongWithoutEqualSingleDash() throws Exception
     {
-        // not supported by the PosixParser
     }
     
-    @Override
+    @Override @Test @Ignore("not supported by the PosixParser (CLI-184)")
     public void testNegativeOption() throws Exception
     {
-        // not supported by the PosixParser (CLI-184)
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the PosixParser")
     public void testLongWithUnexpectedArgument1() throws Exception
     {
-        // not supported by the PosixParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the PosixParser")
     public void testLongWithEqualSingleDash() throws Exception
     {
-        // not supported by the PosixParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the PosixParser")
     public void testShortWithEqual() throws Exception
     {
-        // not supported by the PosixParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the PosixParser")
     public void testUnambiguousPartialLongOption4() throws Exception
     {
-        // not supported by the PosixParser
     }
 
-    @Override
+    @Override @Test @Ignore("not supported by the PosixParser")
     public void testAmbiguousPartialLongOption4() throws Exception
     {
-        // not supported by the PosixParser
     }
 }


Mime
View raw message