[jboss-jira] [JBoss JIRA] (WFCORE-3537) Add support for testing of CLI multi page output

Jean-Francois Denise (JIRA) issues at jboss.org
Tue Jan 23 06:26:00 EST 2018


    [ https://issues.jboss.org/browse/WFCORE-3537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13522380#comment-13522380 ] 

Jean-Francois Denise commented on WFCORE-3537:
----------------------------------------------

In order to emulate an interactive session, we plan to add some test only methods:
ReadlineConsole 
public boolean isPagingOutputEnabled()
public void forcePagingOutput(boolean forcePaging)

Console is made available through CommandContextImpl: ReadlineConsole getConsole()



> Add support for testing of CLI multi page output
> ------------------------------------------------
>
>                 Key: WFCORE-3537
>                 URL: https://issues.jboss.org/browse/WFCORE-3537
>             Project: WildFly Core
>          Issue Type: Task
>          Components: CLI
>    Affects Versions: 4.0.0.Alpha6
>            Reporter: Erich Duda
>            Assignee: Jean-Francois Denise
>
> For testing of WFCORE-426 feature, it would help to have a method which forces paging of output even if the CLI does not run in system terminal.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list