Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 1.0.0.Beta2
-
Fix Version/s: 1.0.0.Beta3
-
Component/s: UI - Shell
-
Labels:None
Description
@Test
|
public void testVarargsTakesUnusedParameters() throws Exception
|
{
|
assertNull(plugin.getBooleanOptionOmitted());
|
getShell().execute("motp varargsOption -Pfoo --bar -ext");
|
assertEquals(3, plugin.getVarargsOptions().size());
|
assertTrue(plugin.getVarargsOptions().contains("-Pfoo"));
|
assertTrue(plugin.getVarargsOptions().contains("--bar"));
|
assertTrue(plugin.getVarargsOptions().contains("-ext"));
|
}
|
Gliffy Diagrams
Activity
| Field | Original Value | New Value |
|---|---|---|
| Description |
@Test public void testVarargsTakesUnusedParameters() throws Exception { assertNull(plugin.getBooleanOptionOmitted()); getShell().execute("motp varargsOption -Pfoo --bar -ext"); assertEquals(3, plugin.getVarargsOptions().size()); assertTrue(plugin.getVarargsOptions().contains("-Pfoo")); assertTrue(plugin.getVarargsOptions().contains("--bar")); assertTrue(plugin.getVarargsOptions().contains("-ext")); } |
{code}
@Test public void testVarargsTakesUnusedParameters() throws Exception { assertNull(plugin.getBooleanOptionOmitted()); getShell().execute("motp varargsOption -Pfoo --bar -ext"); assertEquals(3, plugin.getVarargsOptions().size()); assertTrue(plugin.getVarargsOptions().contains("-Pfoo")); assertTrue(plugin.getVarargsOptions().contains("--bar")); assertTrue(plugin.getVarargsOptions().contains("-ext")); } {code} |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Done [ 1 ] |
| Project | Forge (JB) [ 12311102 ] | Forge [ 12311820 ] |
| Key |
|
|
| Affects Version/s | 1.0.0.Beta2 [ 12318356 ] | |
| Affects Version/s | 1.0.0.Beta2 [ 12317652 ] | |
| Component/s | Shell [ 12314846 ] | |
| Component/s | Shell [ 12313493 ] | |
| Fix Version/s | 1.0.0.Beta3 [ 12318357 ] | |
| Fix Version/s | 1.0.0.Beta3 [ 12318090 ] |
| Workflow | GIT Pull Request workflow [ 12472168 ] | GIT Pull Request workflow with automatic PR triggers [ 12657757 ] |