We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d0555e commit 3f93fdaCopy full SHA for 3f93fda
…picocli/CommandSubcommandFilterTest.java …icocli/CommandModelTransformersTest.javasrc/test/java/picocli/CommandSubcommandFilterTest.java renamed to src/test/java/picocli/CommandModelTransformersTest.java
@@ -12,7 +12,7 @@
12
13
import static org.junit.Assert.*;
14
15
-public class CommandSubcommandFilterTest {
+public class CommandModelTransformersTest {
16
// allows tests to set any kind of properties they like, without having to individually roll them back
17
@Rule
18
public final TestRule restoreSystemProperties = new RestoreSystemProperties();
@@ -132,6 +132,11 @@ public void testFunctionAnnotatedCommandFiltering() {
132
// there is only class annotated subcommand now
133
assertArrayEquals(new String[]{"aa"}, cmd.getSubcommands().get("a").getSubcommands().keySet().toArray(new String[0]));
134
}
135
+
136
+ @Test
137
+ public void programmaticAPICommandFiltering() {
138
+ // TODO
139
+ }
140
141
142
0 commit comments