feat: 去掉暫未支持的按鈕

This commit is contained in:
taojinlong
2021-05-17 15:18:20 +08:00
parent 1bdc6454c7
commit c96ae8caf2
15 changed files with 13 additions and 149 deletions

View File

@@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum APITestStatus {
Saved, Starting, Running, Reporting, Completed, Debug, Error, Success,Underway
}

View File

@@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum ApiImportPlatform {
Metersphere, Postman, Swagger2, Plugin
}

View File

@@ -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
}

View File

@@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum LoopConstants {
LOOP_COUNT, WHILE, FOREACH
}

View File

@@ -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;
}
}

View File

@@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum MsTestElementConstants {
LoopController,SCENARIO,REF
}

View File

@@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum PerformanceTestStatus {
Saved, Starting, Running, Reporting, Completed, Error
}

View File

@@ -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;
}
}

View File

@@ -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());
}
}
}

View File

@@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum TestCaseReviewStatus {
Prepare, Underway, Completed
}

View File

@@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum TestPlanReportStatus {
RUNNING, COMPLETED, SUCCESS, FAILED
}

View File

@@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum TestPlanTestCaseStatus {
Prepare, Pass, Failure, Blocking, Skip, Underway
}

View File

@@ -1,5 +0,0 @@
package io.dataease.commons.constants;
public enum TestReviewCaseStatus {
Prepare, Pass, UnPass
}