change a class address
This commit is contained in:
parent
b60b33ab79
commit
c75675145a
|
@ -24,6 +24,7 @@ import org.bench4q.master.service.UserService;
|
||||||
import org.bench4q.master.testPlan.TestPlanContainer;
|
import org.bench4q.master.testPlan.TestPlanContainer;
|
||||||
import org.bench4q.master.testPlan.TestPlanContext;
|
import org.bench4q.master.testPlan.TestPlanContext;
|
||||||
import org.bench4q.master.testPlan.TestPlanRunner;
|
import org.bench4q.master.testPlan.TestPlanRunner;
|
||||||
|
import org.bench4q.master.testPlan.TestPlanStatus;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
|
|
@ -7,7 +7,7 @@ import javax.xml.bind.annotation.XmlElement;
|
||||||
import javax.xml.bind.annotation.XmlElementWrapper;
|
import javax.xml.bind.annotation.XmlElementWrapper;
|
||||||
import javax.xml.bind.annotation.XmlRootElement;
|
import javax.xml.bind.annotation.XmlRootElement;
|
||||||
|
|
||||||
import org.bench4q.master.api.TestPlanStatus;
|
import org.bench4q.master.testPlan.TestPlanStatus;
|
||||||
|
|
||||||
@XmlRootElement(name = "RunTestPlanResultModel")
|
@XmlRootElement(name = "RunTestPlanResultModel")
|
||||||
public class TestPlanResultModel {
|
public class TestPlanResultModel {
|
||||||
|
|
|
@ -11,7 +11,6 @@ import javax.xml.bind.JAXBException;
|
||||||
import javax.xml.bind.Marshaller;
|
import javax.xml.bind.Marshaller;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.bench4q.master.api.TestPlanStatus;
|
|
||||||
import org.bench4q.master.api.model.RunningScriptModel;
|
import org.bench4q.master.api.model.RunningScriptModel;
|
||||||
import org.bench4q.master.api.model.TestPlanModel;
|
import org.bench4q.master.api.model.TestPlanModel;
|
||||||
import org.bench4q.master.api.model.TestScriptConfig;
|
import org.bench4q.master.api.model.TestScriptConfig;
|
||||||
|
@ -20,6 +19,7 @@ import org.bench4q.master.entity.db.TestPlan;
|
||||||
import org.bench4q.master.entity.db.TestPlanScript;
|
import org.bench4q.master.entity.db.TestPlanScript;
|
||||||
import org.bench4q.master.entity.db.User;
|
import org.bench4q.master.entity.db.User;
|
||||||
import org.bench4q.master.helper.SessionHelper;
|
import org.bench4q.master.helper.SessionHelper;
|
||||||
|
import org.bench4q.master.testPlan.TestPlanStatus;
|
||||||
import org.hibernate.Session;
|
import org.hibernate.Session;
|
||||||
import org.hibernate.Transaction;
|
import org.hibernate.Transaction;
|
||||||
import org.hibernate.criterion.Restrictions;
|
import org.hibernate.criterion.Restrictions;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.bench4q.master.api;
|
package org.bench4q.master.testPlan;
|
||||||
|
|
||||||
public enum TestPlanStatus {
|
public enum TestPlanStatus {
|
||||||
NotStart, InRunning, Complete, PendingNoEnoughMaxLoad, PendingNoEnoughCurrentLoad, Error, ErrorInSubmitTask
|
NotStart, InRunning, Complete, PendingNoEnoughMaxLoad, PendingNoEnoughCurrentLoad, Error, ErrorInSubmitTask
|
|
@ -14,7 +14,6 @@ import javax.xml.bind.JAXBException;
|
||||||
import javax.xml.bind.Marshaller;
|
import javax.xml.bind.Marshaller;
|
||||||
import javax.xml.bind.Unmarshaller;
|
import javax.xml.bind.Unmarshaller;
|
||||||
|
|
||||||
import org.bench4q.master.api.TestPlanStatus;
|
|
||||||
import org.bench4q.master.api.model.MonitorModel;
|
import org.bench4q.master.api.model.MonitorModel;
|
||||||
import org.bench4q.master.api.model.RunningScriptModel;
|
import org.bench4q.master.api.model.RunningScriptModel;
|
||||||
import org.bench4q.master.api.model.ScriptBriefResultModel;
|
import org.bench4q.master.api.model.ScriptBriefResultModel;
|
||||||
|
@ -22,6 +21,7 @@ import org.bench4q.master.api.model.TestScriptConfig;
|
||||||
import org.bench4q.master.api.model.TestPlanModel;
|
import org.bench4q.master.api.model.TestPlanModel;
|
||||||
import org.bench4q.master.api.model.TestPlanResultModel;
|
import org.bench4q.master.api.model.TestPlanResultModel;
|
||||||
import org.bench4q.master.communication.HttpRequester.HttpResponse;
|
import org.bench4q.master.communication.HttpRequester.HttpResponse;
|
||||||
|
import org.bench4q.master.testPlan.TestPlanStatus;
|
||||||
|
|
||||||
public class TestPlanTester extends TestBase {
|
public class TestPlanTester extends TestBase {
|
||||||
private TestPlanModel testPlan = new TestPlanModel();
|
private TestPlanModel testPlan = new TestPlanModel();
|
||||||
|
|
Loading…
Reference in New Issue