mirror of
https://github.com/dataease/dataease.git
synced 2026-05-21 04:08:10 +08:00
feat: 去掉暫未支持的按鈕
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum APITestStatus {
|
||||
Saved, Starting, Running, Reporting, Completed, Debug, Error, Success,Underway
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum ApiImportPlatform {
|
||||
Metersphere, Postman, Swagger2, Plugin
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum ApiRunMode {
|
||||
RUN, DEBUG, DEFINITION, SCENARIO, API_PLAN, JENKINS_API_PLAN, JENKINS, SCENARIO_PLAN, API, SCHEDULE_API_PLAN, SCHEDULE_SCENARIO_PLAN, SCHEDULE_PERFORMANCE_TEST
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum LoopConstants {
|
||||
LOOP_COUNT, WHILE, FOREACH
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum MsRequestBodyType {
|
||||
|
||||
|
||||
KV("KeyValue"), FORM_DATA("Form Data"), RAW("Raw");
|
||||
|
||||
private String value;
|
||||
|
||||
MsRequestBodyType(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum MsTestElementConstants {
|
||||
LoopController,SCENARIO,REF
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum PerformanceTestStatus {
|
||||
Saved, Starting, Running, Reporting, Completed, Error
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum PostmanRequestBodyMode {
|
||||
|
||||
RAW("raw"), FORM_DATA("formdata"), URLENCODED("urlencoded"), FILE("file");
|
||||
|
||||
private String value;
|
||||
|
||||
PostmanRequestBodyMode(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class TestCaseConstants {
|
||||
|
||||
public static final int MAX_NODE_DEPTH = 8;
|
||||
|
||||
public enum Type {
|
||||
Functional("functional"), Performance("performance"), Aapi("api");
|
||||
|
||||
private String value;
|
||||
|
||||
Type(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public static List<String> getValues() {
|
||||
List<Type> types = Arrays.asList(Type.values());
|
||||
return types.stream().map(Type::getValue).collect(Collectors.toList());
|
||||
}
|
||||
}
|
||||
|
||||
public enum Method {
|
||||
Manual("manual"), Auto("auto");
|
||||
|
||||
private String value;
|
||||
|
||||
Method(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public static List<String> getValues() {
|
||||
List<Method> types = Arrays.asList(Method.values());
|
||||
return types.stream().map(Method::getValue).collect(Collectors.toList());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum TestCaseReviewStatus {
|
||||
Prepare, Underway, Completed
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum TestPlanReportStatus {
|
||||
RUNNING, COMPLETED, SUCCESS, FAILED
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum TestPlanTestCaseStatus {
|
||||
Prepare, Pass, Failure, Blocking, Skip, Underway
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package io.dataease.commons.constants;
|
||||
|
||||
public enum TestReviewCaseStatus {
|
||||
Prepare, Pass, UnPass
|
||||
}
|
||||
Reference in New Issue
Block a user