refactor
This commit is contained in:
coderfengyun 2014-07-19 10:34:48 +08:00
parent a1d32a7e29
commit b8c2367d81
2 changed files with 2 additions and 7 deletions

View File

@ -192,7 +192,6 @@ public class TestPlan implements IAggregate {
return null;
}
public void run() {
Logger.getLogger(TestPlan.class).info(
this.getTestPlanRunId() + " start to run ");
@ -270,9 +269,6 @@ public class TestPlan implements IAggregate {
}
private List<Object> collectResult() {
List<Object> resultList = new LinkedList<Object>();
for (TestPlanScript testPlanScript : getTestPlanScripts()) {
@ -291,7 +287,6 @@ public class TestPlan implements IAggregate {
}
}
return resultList;
}
public void update() {

View File

@ -230,7 +230,6 @@ public class TestPlanScript implements RunningScriptInterface {
public List<TestPlanScriptResult> doAfterRun() {
try {
ScriptResultModel scriptResultModel = this.getSampler()
.getResultModelFromAgent();
@ -243,6 +242,7 @@ public class TestPlanScript implements RunningScriptInterface {
return null;
}
}
public List<TestPlanScriptResult> createFinishedResult() {
ScriptResultModel scriptResultModel = ScriptResultModel
.buildFinishedResult();