Skip to content

Commit

Permalink
JBEHAVE-1596 Fix leftovers of renaming JUnitReportingRunner -> `JUn…
Browse files Browse the repository at this point in the history
…it4StoryRunner`
  • Loading branch information
valfirst authored Dec 29, 2023
1 parent b39ecbc commit 8dd145d
Show file tree
Hide file tree
Showing 16 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import org.jbehave.core.configuration.ParanamerConfiguration;
import org.jbehave.core.configuration.groovy.GroovyContext;
import org.jbehave.core.io.StoryFinder;
import org.jbehave.core.junit.JUnitReportingRunner;
import org.jbehave.core.junit.JUnit4StoryRunner;
import org.jbehave.core.junit.JUnitStories;
import org.jbehave.core.reporters.StoryReporterBuilder;
import org.jbehave.core.steps.InjectableStepsFactory;
Expand All @@ -25,7 +25,7 @@
* {@link Embeddable} class to run multiple textual stories using steps written in Groovy.
* </p>
*/
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class GroovyStories extends JUnitStories {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import org.jbehave.core.io.CodeLocations;
import org.jbehave.core.io.LoadFromClasspath;
import org.jbehave.core.io.StoryFinder;
import org.jbehave.core.junit.JUnitReportingRunner;
import org.jbehave.core.junit.JUnit4StoryRunner;
import org.jbehave.core.junit.JUnitStories;
import org.jbehave.core.model.ExamplesTableFactory;
import org.jbehave.core.model.TableTransformers;
Expand Down Expand Up @@ -51,7 +51,7 @@
* Stories are specified in classpath and correspondingly the {@link LoadFromClasspath} story loader is configured.
* </p>
*/
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class MyStories extends JUnitStories {

public MyStories() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.jbehave.core.io.CodeLocations;
import org.jbehave.core.io.LoadFromClasspath;
import org.jbehave.core.io.StoryFinder;
import org.jbehave.core.junit.JUnitReportingRunner;
import org.jbehave.core.junit.JUnit4StoryRunner;
import org.jbehave.core.junit.JUnitStories;
import org.jbehave.core.model.ExamplesTableFactory;
import org.jbehave.core.model.TableTransformers;
Expand Down Expand Up @@ -52,7 +52,7 @@
* Stories are specified in classpath and correspondingly the {@link LoadFromClasspath} story loader is configured.
* </p>
*/
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class MyStories extends JUnitStories {

public MyStories() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import org.jbehave.core.io.CodeLocations;
import org.jbehave.core.io.LoadFromClasspath;
import org.jbehave.core.io.StoryFinder;
import org.jbehave.core.junit.JUnitReportingRunner;
import org.jbehave.core.junit.JUnit4StoryRunner;
import org.jbehave.core.junit.JUnitStories;
import org.jbehave.core.model.ExamplesTableFactory;
import org.jbehave.core.model.TableTransformers;
Expand Down Expand Up @@ -51,7 +51,7 @@
* Stories are specified in classpath and correspondingly the {@link LoadFromClasspath} story loader is configured.
* </p>
*/
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class MyStories extends JUnitStories {

public MyStories() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import org.jbehave.core.io.CodeLocations;
import org.jbehave.core.io.LoadFromClasspath;
import org.jbehave.core.io.StoryFinder;
import org.jbehave.core.junit.JUnitReportingRunner;
import org.jbehave.core.junit.JUnit4StoryRunner;
import org.jbehave.core.junit.JUnitStories;
import org.jbehave.core.model.ExamplesTableFactory;
import org.jbehave.core.model.TableTransformers;
Expand Down Expand Up @@ -45,7 +45,7 @@
* Stories are specified in classpath and correspondingly the {@link LoadFromClasspath} story loader is configured.
* </p>
*/
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class MyStories extends JUnitStories {

public MyStories() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import org.jbehave.core.io.CodeLocations;
import org.jbehave.core.io.LoadFromClasspath;
import org.jbehave.core.io.StoryFinder;
import org.jbehave.core.junit.JUnitReportingRunner;
import org.jbehave.core.junit.JUnit4StoryRunner;
import org.jbehave.core.junit.JUnitStories;
import org.jbehave.core.model.ExamplesTableFactory;
import org.jbehave.core.model.TableTransformers;
Expand Down Expand Up @@ -49,7 +49,7 @@
* Stories are specified in classpath and correspondingly the {@link LoadFromClasspath} story loader is configured.
* </p>
*/
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class MyStories extends JUnitStories {

public MyStories() {
Expand Down
2 changes: 1 addition & 1 deletion distribution/src/site/content/candidate-steps.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h2>Candidate Steps</h2>

<script type="syntaxhighlighter" class="brush: java">
<![CDATA[
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class TraderStory extends JUnitStory {

@Override
Expand Down
4 changes: 2 additions & 2 deletions distribution/src/site/content/configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ <h3>Using ConfigurableEmbedder</h3>
applies to all stories in an abstract (i.e. not runnable) base class:</p>
<script type="syntaxhighlighter" class="brush: java">
<![CDATA[
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public abstract class TraderStory extends JUnitStory {

public TraderStory() {
Expand Down Expand Up @@ -255,7 +255,7 @@ <h3>Using ConfigurableEmbedder</h3>

<script type="syntaxhighlighter" class="brush: java">
<![CDATA[
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class TraderStories extends JUnitStories {

public TraderStories() {
Expand Down
10 changes: 5 additions & 5 deletions distribution/src/site/content/developing-stories.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ <h3>JUnit-enabled Embeddables</h3>
specified by overriding the <b>storyPaths()</b> method.</li>
</ul>

<p><a href="javadoc/core/org/jbehave/core/junit/JUnitReportingRunner.html">JUnitReportingRunner</a> can be used
<p><a href="javadoc/core/org/jbehave/core/junit/JUnit4StoryRunner.html">JUnit4StoryRunner</a> can be used
to visualize the structure and the successes/failures</p>

<p>In the case of one-to-one mapping, our abstract base TraderStory
would look like:</p>
<script type="syntaxhighlighter" class="brush: java">
<![CDATA[
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public abstract class TraderStory extends JUnitStory {

public TraderStory() {
Expand Down Expand Up @@ -207,7 +207,7 @@ <h3>JUnit-enabled Embeddables</h3>

<script type="syntaxhighlighter" class="brush: java">
<![CDATA[
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class TraderStories extends JUnitStories {

public TraderStories() {
Expand Down Expand Up @@ -262,11 +262,11 @@ <h3>JUnit-enabled Embeddables</h3>
</script>

<p>Usually, this is everything you have to do. If you want to, you can use a little helper method to configure
the configured Embedder so that it works nicely together with the <a href="javadoc/core/org/jbehave/core/junit/JUnitReportingRunner.html">JUnitReportingRunner</a>.</p>
the configured Embedder so that it works nicely together with the <a href="javadoc/core/org/jbehave/core/junit/JUnit4StoryRunner.html">JUnit4StoryRunner</a>.</p>

<script type="syntaxhighlighter" class="brush: java">
<![CDATA[
JUnitReportingRunner.recommendedControls(configuredEmbedder());
JUnit4StoryRunner.recommendedControls(configuredEmbedder());
]]>
</script>

Expand Down
2 changes: 1 addition & 1 deletion distribution/src/site/content/getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h3>Configure a Java Embeddable class</h3>

<script type="syntaxhighlighter" class="brush: java">
<![CDATA[
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class ICanToggleACell extends JUnitStory {

// Here we specify the configuration, starting from default MostUsefulConfiguration, and changing only what is needed
Expand Down
2 changes: 1 addition & 1 deletion distribution/src/site/content/parameter-converters.html
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h3>Annotated methods as parameter converters</h3>
href="javadoc/core/org/jbehave/core/steps/InjectableStepsFactory.html">InjectableStepsFactory</a>
that extends the abstract implementation, e.g.:</p>
<pre class="brush: java">
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public MyStory extends JUnitStory {
@Override
public InjectableStepsFactory stepsFactory() {
Expand Down
2 changes: 1 addition & 1 deletion distribution/src/site/content/reporting-stories.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2>Story Reporters</h2>
formats: CONSOLE, TXT, HTML, HTML_TEMPLATE and XML.</p>
<script type="syntaxhighlighter" class="brush: java">
<![CDATA[
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public abstract class TraderStory extends JUnitStory {

public TraderStory() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2>Stories in your language</h2>
</ul>
<script type="syntaxhighlighter" class="brush: java">
<![CDATA[
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public abstract class LocalizedTraderStories extends JUnitStories {

@Override
Expand Down
2 changes: 1 addition & 1 deletion distribution/src/site/content/surefire-reporter.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2>Configuration</h2>
<p>The SurefireReporter instance needs to configured in the <a
href="javadoc/core/org/jbehave/core/reporters/StoryReporterBuilder.html">StoryReporterBuilder</a>:</p>
<pre class="brush: java">
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class CoreStories extends JUnitStories {

@Override
Expand Down
2 changes: 1 addition & 1 deletion distribution/src/site/content/using-groovy.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h2>Writing Steps in Groovy</h2>
</p>
<script type="syntaxhighlighter" class="brush: groovy">
<![CDATA[
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class GroovyStories extends JUnitStories {

@Override
Expand Down
2 changes: 1 addition & 1 deletion distribution/src/site/content/using-scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h2>Writing Steps in Scala</h2>
</p>
<script type="syntaxhighlighter" class="brush: java">
<![CDATA[
@RunWith(JUnitReportingRunner.class)
@RunWith(JUnit4StoryRunner.class)
public class ScalaStories extends JUnitStories {

@Override
Expand Down

0 comments on commit 8dd145d

Please sign in to comment.