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
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 @@
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
}
}
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 @@
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
}
}
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 @@
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
}
}