parent
cf65fe966b
commit
b436510cad
|
@ -1,6 +1,7 @@
|
|||
package com.dispose.TestSuit;
|
||||
|
||||
import com.dispose.controller.AuthControllerExceptionSmokeTest;
|
||||
import com.dispose.controller.TaskControllerExceptionSmokeTest;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
|
@ -9,7 +10,8 @@ import org.junit.runners.Suite;
|
|||
*/
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
AuthControllerExceptionSmokeTest.class
|
||||
AuthControllerExceptionSmokeTest.class,
|
||||
TaskControllerExceptionSmokeTest.class
|
||||
})
|
||||
|
||||
public class SmokeTest {
|
||||
|
|
|
@ -2,10 +2,7 @@ package com.dispose.controller;
|
|||
|
||||
import com.dispose.Global.InitTestEnvironment;
|
||||
import com.dispose.common.ErrorCode;
|
||||
import com.dispose.pojo.vo.auth.LoginRsp;
|
||||
import com.dispose.pojo.vo.common.TaskInfoData;
|
||||
import com.dispose.pojo.vo.task.StartTaskRsp;
|
||||
import com.dispose.pojo.vo.task.TaskInfoRsp;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.junit.Assert;
|
||||
|
@ -22,9 +19,6 @@ import org.springframework.test.web.servlet.MockMvc;
|
|||
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
|
||||
|
|
Loading…
Reference in New Issue