Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1553

DefaultShellTest is not fully compatible with Results from a Wizard execution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.1.0.Final
    • 2.0.0.Final
    • Test Harness
    • None

      When a wizard is executed, the postCommandExecuted is called for each step in the Wizard. This leads to the invocation of org.jboss.forge.addon.shell.test.impl.DefaultShellTest.TestCommandListener.postCommandExecuted(UICommand, UIExecutionContext, Result) several times.

      The org.jboss.forge.addon.shell.test.impl.DefaultShellTest.TestCommandListener.isExecuted() method should be reviewed, since the current impl may return true even if the command has not finished execution

              rhn-support-ggastald George Gastaldi
              rhn-support-ggastald George Gastaldi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: