Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c6319bf763
|
@ -138,7 +138,7 @@ public class MsScenario extends MsTestElement {
|
|||
// 场景变量和环境变量
|
||||
Arguments arguments = arguments(config);
|
||||
if (arguments != null) {
|
||||
tree.add(config.valueSupposeMock(arguments));
|
||||
tree.add(ParameterConfig.valueSupposeMock(arguments));
|
||||
}
|
||||
this.addCsvDataSet(tree, variables,config);
|
||||
this.addCounter(tree, variables);
|
||||
|
|
|
@ -288,13 +288,13 @@ public abstract class MsTestElement {
|
|||
if (MsTestElementConstants.LoopController.name().equals(parent.getType())) {
|
||||
MsLoopController loopController = (MsLoopController) parent;
|
||||
if (StringUtils.equals(loopController.getLoopType(), LoopConstants.WHILE.name()) && loopController.getWhileController() != null) {
|
||||
return "While 循环-" + "${LoopCounterConfigXXX}";
|
||||
return "While 循环-" + "${MS_LOOP_CONTROLLER_CONFIG}";
|
||||
}
|
||||
if (StringUtils.equals(loopController.getLoopType(), LoopConstants.FOREACH.name()) && loopController.getForEachController() != null) {
|
||||
return "ForEach 循环-" + "${LoopCounterConfigXXX}";
|
||||
return "ForEach 循环-" + "${MS_LOOP_CONTROLLER_CONFIG}";
|
||||
}
|
||||
if (StringUtils.equals(loopController.getLoopType(), LoopConstants.LOOP_COUNT.name()) && loopController.getCountController() != null) {
|
||||
return "次数循环-" + "${LoopCounterConfigXXX}";
|
||||
return "次数循环-" + "${MS_LOOP_CONTROLLER_CONFIG}";
|
||||
}
|
||||
}
|
||||
// 获取全路径以备后面使用
|
||||
|
|
|
@ -87,7 +87,7 @@ public class MsLoopController extends MsTestElement {
|
|||
|
||||
private CounterConfig addCounterConfig() {
|
||||
CounterConfig counterConfig = new CounterConfig();
|
||||
counterConfig.setVarName("LoopCounterConfigXXX");
|
||||
counterConfig.setVarName("MS_LOOP_CONTROLLER_CONFIG");
|
||||
counterConfig.setName("数循结果统计计数器");
|
||||
counterConfig.setEnabled(true);
|
||||
counterConfig.setProperty(TestElement.TEST_CLASS, CounterConfig.class.getName());
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2115bd28a90854d2b6276a90878934715498c584
|
||||
Subproject commit 07951ba17aef6f29e50cfd68e40de3266f9a60cd
|
Loading…
Reference in New Issue