Skip to content

Commit

Permalink
Merge pull request #26 from Invictum/22_Apply_step_processor_for_tree…
Browse files Browse the repository at this point in the history
…_handler

22 apply step processor for tree handler
  • Loading branch information
Invictum authored Jun 22, 2018
2 parents 23c2e81 + 980d9a9 commit 424d963
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class FlatHandler implements Handler {
private NarrativeFormatter narrativeFormatter;

@Inject
private StepProcessorsHolder holder;
StepProcessorsHolder holder;

Maybe<String> suiteId;
Maybe<String> testId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ private void push(Maybe<String> parent, List<TestStep> steps) {
startTest.setType(ItemType.TEST.key());
startTest.setStartTime(Utils.stepStartDate(testStep));
Maybe<String> current = launch.startTestItem(parent, startTest);
/* Proceed current step through processors */
holder.proceed(testStep);
/* Proceed children if present */
if (testStep.hasChildren()) {
push(current, testStep.getChildren());
Expand Down

0 comments on commit 424d963

Please sign in to comment.