commit d8d4aa9f5f9d8623246dcfa01008d03da5e91f08
Author:     Alex Lehmann <alexl...@gmail.com>
AuthorDate: Tue Aug 14 00:47:42 2012 +0200
Commit:     Alex Lehmann <alexl...@gmail.com>
CommitDate: Tue Aug 14 00:47:42 2012 +0200

    stack trace line numbers

diff --git a/jbehave-core/src/test/resources/story.html 
b/jbehave-core/src/test/resources/story.html
index e8881a6..590bdcd 100644
--- a/jbehave-core/src/test/resources/story.html
+++ b/jbehave-core/src/test/resources/story.html
@@ -41,7 +41,7 @@
 <div class="step failed">Then I should have a balance of $30 <span 
class="keyword failed">(FAILED)</span></div>
 <pre class="failure">java.lang.Exception: Expected &lt;30&gt; got &lt;25&gt;
        at 
org.jbehave.core.reporters.StoryNarrator.narrateAnInterestingStory(StoryNarrator.java:58)
-       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToHtmlOutput(TemplateableOutputBehaviour.java:45)
+       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToHtmlOutput(TemplateableOutputBehaviour.java:24)
        (reflection-invoke)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)</pre>
 <div class="step notPerformed">Then I should have $20 <span class="keyword 
notPerformed">(NOT PERFORMED)</span></div>
@@ -50,7 +50,7 @@
 <pre class="failure">org.jbehave.core.model.OutcomesTable$OutcomesFailed
        at org.jbehave.core.model.OutcomesTable.verify(OutcomesTable.java:55)
        at 
org.jbehave.core.reporters.StoryNarrator.narrateAnInterestingStory(StoryNarrator.java:69)
-       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToHtmlOutput(TemplateableOutputBehaviour.java:45)
+       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToHtmlOutput(TemplateableOutputBehaviour.java:24)
        (reflection-invoke)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)</pre>
 <div class="outcomes"><table>
@@ -75,7 +75,7 @@
 <pre class="failure">org.jbehave.core.model.OutcomesTable$OutcomesFailed
        at org.jbehave.core.model.OutcomesTable.verify(OutcomesTable.java:55)
        at 
org.jbehave.core.reporters.StoryNarrator.narrateAnInterestingStory(StoryNarrator.java:69)
-       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToHtmlOutput(TemplateableOutputBehaviour.java:45)
+       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToHtmlOutput(TemplateableOutputBehaviour.java:24)
        (reflection-invoke)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)</pre>
 </div>
@@ -114,7 +114,7 @@
 <div class="step failed">Then I should have a balance of $30 <span 
class="keyword failed">(FAILED)</span></div>
 <pre class="failure">java.lang.Exception: Expected &lt;30&gt; got &lt;25&gt;
        at 
org.jbehave.core.reporters.StoryNarrator.narrateAnInterestingStory(StoryNarrator.java:84)
-       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToHtmlOutput(TemplateableOutputBehaviour.java:45)
+       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToHtmlOutput(TemplateableOutputBehaviour.java:24)
        (reflection-invoke)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)</pre>
 </div> <!-- end scenario -->
diff --git a/jbehave-core/src/test/resources/story.xml 
b/jbehave-core/src/test/resources/story.xml
index f872d14..9dea72f 100644
--- a/jbehave-core/src/test/resources/story.xml
+++ b/jbehave-core/src/test/resources/story.xml
@@ -45,7 +45,7 @@ Then I should... - try again
 Then I should have a balance of $30
  <failure>java.lang.Exception: Expected &lt;30&gt; got &lt;25&gt;
        at 
org.jbehave.core.reporters.StoryNarrator.narrateAnInterestingStory(StoryNarrator.java:58)
-       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToXmlOutput(TemplateableOutputBehaviour.java:60)
+       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToXmlOutput(TemplateableOutputBehaviour.java:39)
        (reflection-invoke)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)</failure></step>
 <step outcome="notPerformed">
@@ -56,7 +56,7 @@ Then I don&apos;t return loan
  <failure>org.jbehave.core.model.OutcomesTable$OutcomesFailed
        at org.jbehave.core.model.OutcomesTable.verify(OutcomesTable.java:55)
        at 
org.jbehave.core.reporters.StoryNarrator.narrateAnInterestingStory(StoryNarrator.java:69)
-       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToXmlOutput(TemplateableOutputBehaviour.java:60)
+       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToXmlOutput(TemplateableOutputBehaviour.java:39)
        (reflection-invoke)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)</failure><outcomes>
 <fields>
@@ -113,7 +113,7 @@ Then I give it to Paul
 Then I should have a balance of $30
  <failure>java.lang.Exception: Expected &lt;30&gt; got &lt;25&gt;
        at 
org.jbehave.core.reporters.StoryNarrator.narrateAnInterestingStory(StoryNarrator.java:84)
-       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToXmlOutput(TemplateableOutputBehaviour.java:60)
+       at 
org.jbehave.core.reporters.TemplateableOutputBehaviour.shouldReportEventsToXmlOutput(TemplateableOutputBehaviour.java:39)
        (reflection-invoke)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)</failure></step>
 </scenario> 



Reply via email to