View Javadoc
1   /*
2     Licensed to the Apache Software Foundation (ASF) under one or more
3     contributor license agreements.  See the NOTICE file distributed with
4     this work for additional information regarding copyright ownership.
5     The ASF licenses this file to You under the Apache License, Version 2.0
6     (the "License"); you may not use this file except in compliance with
7     the License.  You may obtain a copy of the License at
8   
9         http://www.apache.org/licenses/LICENSE-2.0
10  
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16   */
17  
18  package org.apache.commons.cli;
19  
20  import org.junit.Before;
21  import org.junit.Ignore;
22  import org.junit.Test;
23  
24  @SuppressWarnings("deprecation") // tests some deprecated classes
25  public class BasicParserTest extends AbstractParserTestCase {
26      @Override
27      @Before
28      public void setUp() {
29          super.setUp();
30          parser = new BasicParser();
31      }
32  
33      @Override
34      @Test
35      @Ignore("not supported by the BasicParser")
36      public void testAmbiguousLongWithoutEqualSingleDash() throws Exception {
37      }
38  
39      @Override
40      @Test
41      @Ignore("not supported by the BasicParser")
42      public void testAmbiguousLongWithoutEqualSingleDash2() throws Exception {
43      }
44  
45      @Override
46      @Test
47      @Ignore("not supported by the BasicParser")
48      public void testAmbiguousPartialLongOption1() throws Exception {
49      }
50  
51      @Override
52      @Test
53      @Ignore("not supported by the BasicParser")
54      public void testAmbiguousPartialLongOption2() throws Exception {
55      }
56  
57      @Override
58      @Test
59      @Ignore("not supported by the BasicParser")
60      public void testAmbiguousPartialLongOption3() throws Exception {
61      }
62  
63      @Override
64      @Test
65      @Ignore("not supported by the BasicParser")
66      public void testAmbiguousPartialLongOption4() throws Exception {
67      }
68  
69      @Override
70      @Test
71      @Ignore("not supported by the BasicParser")
72      public void testBursting() throws Exception {
73      }
74  
75      @Override
76      @Test
77      @Ignore("not supported by the BasicParser")
78      public void testDoubleDash2() throws Exception {
79      }
80  
81      @Override
82      @Test
83      @Ignore("not supported by the BasicParser")
84      public void testLongOptionWithEqualsQuoteHandling() throws Exception {
85      }
86  
87      @Override
88      @Test
89      @Ignore("not supported by the BasicParser")
90      public void testLongWithEqualDoubleDash() throws Exception {
91      }
92  
93      @Override
94      @Test
95      @Ignore("not supported by the BasicParser")
96      public void testLongWithEqualSingleDash() throws Exception {
97      }
98  
99      @Override
100     @Test
101     @Ignore("not supported by the BasicParser")
102     public void testLongWithoutEqualSingleDash() throws Exception {
103     }
104 
105     @Override
106     @Test
107     @Ignore("not supported by the BasicParser")
108     public void testMissingArgWithBursting() throws Exception {
109     }
110 
111     @Override
112     @Test
113     @Ignore("not supported by the BasicParser (CLI-184)")
114     public void testNegativeOption() throws Exception {
115     }
116 
117     @Override
118     @Test
119     @Ignore("not supported by the BasicParser")
120     public void testPartialLongOptionSingleDash() throws Exception {
121     }
122 
123     @Override
124     @Test
125     @Ignore("not supported by the BasicParser")
126     public void testPropertiesOption1() throws Exception {
127     }
128 
129     @Override
130     @Test
131     @Ignore("not supported by the BasicParser")
132     public void testPropertiesOption2() throws Exception {
133     }
134 
135     @Override
136     @Test
137     @Ignore("not supported by the BasicParser")
138     public void testShortOptionConcatenatedQuoteHandling() throws Exception {
139     }
140 
141     @Override
142     @Test
143     @Ignore("not supported by the BasicParser")
144     public void testShortWithEqual() throws Exception {
145     }
146 
147     @Override
148     @Test
149     @Ignore("not supported by the BasicParser")
150     public void testShortWithoutEqual() throws Exception {
151     }
152 
153     @Override
154     @Test
155     @Ignore("not supported by the BasicParser")
156     public void testStopBursting() throws Exception {
157     }
158 
159     @Override
160     @Test
161     @Ignore("not supported by the BasicParser")
162     public void testStopBursting2() throws Exception {
163     }
164 
165     @Override
166     @Test
167     @Ignore("not supported by the BasicParser")
168     public void testUnambiguousPartialLongOption1() throws Exception {
169     }
170 
171     @Override
172     @Test
173     @Ignore("not supported by the BasicParser")
174     public void testUnambiguousPartialLongOption2() throws Exception {
175     }
176 
177     @Override
178     @Test
179     @Ignore("not supported by the BasicParser")
180     public void testUnambiguousPartialLongOption3() throws Exception {
181     }
182 
183     @Override
184     @Test
185     @Ignore("not supported by the BasicParser")
186     public void testUnambiguousPartialLongOption4() throws Exception {
187     }
188 
189     @Override
190     @Test
191     @Ignore("not supported by the BasicParser")
192     public void testUnrecognizedOptionWithBursting() throws Exception {
193     }
194 }