From fb9ceeaab6a7a5e3b4ba9cccab33707b53acb359 Mon Sep 17 00:00:00 2001 From: Valery Yatsynovich Date: Mon, 9 Dec 2019 13:59:54 +0300 Subject: [PATCH] update to use non deprecated jbehave api (via #395) --- .../src/main/java/io/qameta/allure/jbehave/AllureJbehave.java | 2 +- .../src/test/java/io/qameta/allure/jbehave/LoggingReporter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/allure-jbehave/src/main/java/io/qameta/allure/jbehave/AllureJbehave.java b/allure-jbehave/src/main/java/io/qameta/allure/jbehave/AllureJbehave.java index 5c962c432..b362e3e71 100644 --- a/allure-jbehave/src/main/java/io/qameta/allure/jbehave/AllureJbehave.java +++ b/allure-jbehave/src/main/java/io/qameta/allure/jbehave/AllureJbehave.java @@ -134,7 +134,7 @@ public void beforeExamples(final List steps, final ExamplesTable table) } @Override - public void example(final Map tableRow) { + public void example(final Map tableRow, final int exampleIndex) { if (isGivenStory()) { return; } diff --git a/allure-jbehave/src/test/java/io/qameta/allure/jbehave/LoggingReporter.java b/allure-jbehave/src/test/java/io/qameta/allure/jbehave/LoggingReporter.java index 97d9e05ca..19103dfb4 100644 --- a/allure-jbehave/src/test/java/io/qameta/allure/jbehave/LoggingReporter.java +++ b/allure-jbehave/src/test/java/io/qameta/allure/jbehave/LoggingReporter.java @@ -73,7 +73,7 @@ public void beforeStep(final String step) { } @Override - public void example(final Map tableRow) { + public void example(final Map tableRow, final int exampleIndex) { log("example", tableRow); }