@Override protected ActionCallback _execute(PlaybackContext context) { StageInfo stage = context.popStage(); if (stage != null) { context.test("Test finished OK: " + stage.getName(), getLine()); context.addPassed(stage); } return ActionCallback.DONE; }
@Override protected ActionCallback _execute(PlaybackContext context) { String name = getText().substring(PREFIX.length()).trim(); context.test("Test started: " + name, getLine()); context.pushStage(new StageInfo(name)); return ActionCallback.DONE; }
@Override protected ActionCallback _execute(PlaybackContext context) { StageInfo stage = context.popStage(); if (stage != null) { context.test("Test finished OK: " + stage.getName(), getLine()); context.addPassed(stage); } return new ActionCallback.Done(); }
@Override protected ActionCallback _execute(PlaybackContext context) { String name = getText().substring(PREFIX.length()).trim(); context.test("Test started: " + name, getLine()); context.pushStage(new StageInfo(name)); return new ActionCallback.Done(); }