Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Struckmann2015-07-02 13:39:31 +0000
committerSebastian Struckmann2015-07-02 13:39:48 +0000
commitae5efa05090e9ab22bad04b5563e4404cfc2ce35 (patch)
treeadfa08318f6d0e24e48801b815b70ab7d84dcb63 /org.eclipse.jubula.toolkit.api.gen
parent1d9beb20ac28828777c71c7740cfc8871d3d6d45 (diff)
downloadorg.eclipse.jubula.core-ae5efa05090e9ab22bad04b5563e4404cfc2ce35.tar.gz
org.eclipse.jubula.core-ae5efa05090e9ab22bad04b5563e4404cfc2ce35.tar.xz
org.eclipse.jubula.core-ae5efa05090e9ab22bad04b5563e4404cfc2ce35.zip
Sprint task - Provide CAP Builder - Part 2
Diffstat (limited to 'org.eclipse.jubula.toolkit.api.gen')
-rw-r--r--org.eclipse.jubula.toolkit.api.gen/templates/ClassGenerator.javajet4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.jubula.toolkit.api.gen/templates/ClassGenerator.javajet b/org.eclipse.jubula.toolkit.api.gen/templates/ClassGenerator.javajet
index 789510a4c..27c96176b 100644
--- a/org.eclipse.jubula.toolkit.api.gen/templates/ClassGenerator.javajet
+++ b/org.eclipse.jubula.toolkit.api.gen/templates/ClassGenerator.javajet
@@ -264,7 +264,11 @@ public <%if (genInterface) {%>interface<%} else {%>class<%}%> <%=className%>
String fqParamType = paramTypeMap.get(paramName);%>
<%if (nameLoader.isInEnumMap(paramEnumType)) {%>
<%if (!hasCombineableValueSet) {%>
+ <%if (fqParamType.contains("Integer")) {%>
+ .addParameter(<%=translatedParamName%>.rcIntValue())
+ <%} else {%>
.addParameter(<%=translatedParamName%>.rcValue())
+ <%}%>
<%} else {%>
.addParameter(StringUtils.join(<%=translatedParamName%>, TestDataConstants.COMBI_VALUE_SEPARATOR))
<%}%>

Back to the top