SHL-69 - Extract "version" command from AbstractShell

This commit is contained in:
mpollack
2013-07-25 19:38:00 -04:00
parent e9f3de10cb
commit 344385116c
6 changed files with 94 additions and 29 deletions

View File

@@ -18,7 +18,7 @@ public class BootstrapTest {
JLineShellComponent shell = bootstrap.getJLineShellComponent();
//This is a brittle assertion - as additiona 'test' commands are added to the suite, this number will increase.
Assert.assertEquals("Number of CommandMarkers is incorrect", 9, shell.getSimpleParser().getCommandMarkers().size());
Assert.assertEquals("Number of CommandMarkers is incorrect", 10, shell.getSimpleParser().getCommandMarkers().size());
Assert.assertEquals("Number of Converters is incorrect", 16, shell.getSimpleParser().getConverters().size());
} catch (RuntimeException t) {
throw t;