Skip to content

Commit

Permalink
Fix issue #29
Browse files Browse the repository at this point in the history
  • Loading branch information
fhoeben committed Jan 25, 2018
1 parent 8b6380a commit a7069d8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/java/nl/hsac/fitnesse/slim/AutoArgScenarioTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
import fitnesse.testsystems.TestExecutionException;
import fitnesse.testsystems.slim.SlimTestContext;
import fitnesse.testsystems.slim.Table;
import fitnesse.testsystems.slim.tables.ScenarioTable;
import fitnesse.testsystems.slim.tables.SlimAssertion;
import fitnesse.testsystems.slim.tables.SlimTable;
import fitnesse.testsystems.slim.tables.SyntaxError;
import fitnesse.testsystems.slim.tables.*;
import nl.hsac.fitnesse.slimcoverage.SlimCoverageTestContextImpl;

import java.lang.reflect.Field;
Expand Down Expand Up @@ -74,6 +71,7 @@ && maybeNestedScenario(columnCount, cellContent)) {

private void addNestedScenarioArguments(Set<String> found, boolean addInputs, String cellContent) {
String scenarioName = cellContent.substring(0, cellContent.length() - 1);
scenarioName = Disgracer.disgraceClassName(scenarioName);
SlimTestContext testContext = getTestContext();
ScenarioTable scenario;
if (testContext instanceof SlimCoverageTestContextImpl) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
|table template|T I0 |
|check |clone symbol|@{P0}|0|
|$P6= |clone symbol|@{P1} |

|table template|T I1 |
|check |clone symbol|@{P3}|3|
|$P4= |clone symbol|@{P1} |
|T I0; |

|table template|T I2 |
|T I1; |
|$P5= |clone symbol|@{P2}|


|script|

|T I2 |
|P0|P1|P2|P3|P4?|P5?|P6?|
|0 |1 |2 |3 |1 |2 |1 |

0 comments on commit a7069d8

Please sign in to comment.