datai/docs/reference-code/com/sforce/soap/tooling/ApexTestOutcome.java

60 lines
923 B
Java

package com.sforce.soap.tooling;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
/**
* This is a generated class for the SObject Enterprise API.
* Do not edit this file, as your changes will be lost.
*/
public enum ApexTestOutcome {
/**
* Enumeration : Pass
*/
Pass("Pass"),
/**
* Enumeration : Fail
*/
Fail("Fail"),
/**
* Enumeration : CompileFail
*/
CompileFail("CompileFail"),
/**
* Enumeration : Skip
*/
Skip("Skip"),
;
public static Map<String, String> valuesToEnums;
static {
valuesToEnums = new HashMap<String, String>();
for (ApexTestOutcome e : EnumSet.allOf(ApexTestOutcome.class)) {
valuesToEnums.put(e.toString(), e.name());
}
}
private String value;
private ApexTestOutcome(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
}