mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-05 23:41:31 +08:00
97 lines
6.4 KiB
JSON
97 lines
6.4 KiB
JSON
|
|
{
|
||
|
|
"sections": [
|
||
|
|
"title",
|
||
|
|
"description",
|
||
|
|
"supported_soap_calls",
|
||
|
|
"supported_rest_api_http_methods",
|
||
|
|
"fields",
|
||
|
|
"wsdl_segment"
|
||
|
|
],
|
||
|
|
"title": "ApexTestRunResult - Tooling API",
|
||
|
|
"description": "Contains summary information about all the test methods that were run in a particular Apex job. Available from API version 37.0 or later.",
|
||
|
|
"supported_soap_calls": "`create()`, `delete()`, `describeSObjects()`, `query()`, `retrieve()`, `update()`",
|
||
|
|
"supported_rest_api_http_methods": "`Query`, `GET`",
|
||
|
|
"fields_columns": [
|
||
|
|
"type",
|
||
|
|
"properties",
|
||
|
|
"description"
|
||
|
|
],
|
||
|
|
"fields": {
|
||
|
|
"AsyncApexJobId": {
|
||
|
|
"type": "reference",
|
||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
|
|
"description": "The parent Apex job ID for the result."
|
||
|
|
},
|
||
|
|
"ClassesCompleted": {
|
||
|
|
"type": "int",
|
||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
|
|
"description": "The total number of classes executed during the test run."
|
||
|
|
},
|
||
|
|
"ClassesEnqueued": {
|
||
|
|
"type": "int",
|
||
|
|
"properties": "Create, Filter, Group, Sort, Update",
|
||
|
|
"description": "The total number of classes enqueued during the test run."
|
||
|
|
},
|
||
|
|
"EndTime": {
|
||
|
|
"type": "dateTime",
|
||
|
|
"properties": "Create, Filter, Nillable, Sort, Update",
|
||
|
|
"description": "The time at which the test run ended."
|
||
|
|
},
|
||
|
|
"IsAllTests": {
|
||
|
|
"type": "boolean",
|
||
|
|
"properties": "Create, Filter, Group, Sort, Update",
|
||
|
|
"description": "Indicates whether all Apex test classes were run."
|
||
|
|
},
|
||
|
|
"JobName": {
|
||
|
|
"type": "string",
|
||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
|
|
"description": "Reserved for future use."
|
||
|
|
},
|
||
|
|
"MethodsCompleted": {
|
||
|
|
"type": "int",
|
||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
|
|
"description": "The total number of methods completed during the test run. This value is updated after each class is run."
|
||
|
|
},
|
||
|
|
"MethodsEnqueued": {
|
||
|
|
"type": "int",
|
||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
|
|
"description": "The total number of methods enqueued for the test run. This value is initialized before the test runs."
|
||
|
|
},
|
||
|
|
"MethodsFailed": {
|
||
|
|
"type": "int",
|
||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
|
|
"description": "The total number of methods that failed during this test run. This value is updated after each class is run."
|
||
|
|
},
|
||
|
|
"Source": {
|
||
|
|
"type": "string",
|
||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
|
|
"description": "The source of the test run, such as the Developer Console."
|
||
|
|
},
|
||
|
|
"StartTime": {
|
||
|
|
"type": "dateTime",
|
||
|
|
"properties": "Create, Filter, Sort, Update",
|
||
|
|
"description": "The time at which the test run started."
|
||
|
|
},
|
||
|
|
"Status": {
|
||
|
|
"type": "picklist",
|
||
|
|
"properties": "Create, Filter, Group, Sort, Update",
|
||
|
|
"description": "The status of the test run. Can be one of these values: Queued Preparing Processing Aborted Completed Failed"
|
||
|
|
},
|
||
|
|
"TestSetupTime": {
|
||
|
|
"type": "int",
|
||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
|
|
"description": "The time it took the setup methods to run, in milliseconds."
|
||
|
|
},
|
||
|
|
"TestTime": {
|
||
|
|
"type": "int",
|
||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
|
|
"description": "The time it took the test to run, in milliseconds."
|
||
|
|
},
|
||
|
|
"UserId": {
|
||
|
|
"type": "reference",
|
||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
|
|
"description": "The user who ran the test run."
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"wsdl_segment": "```xml\n<xsd:complexType name=\"ApexTestRunResult\">\n <xsd:complexContent>\n <xsd:extension base=\"ens:sObject\">\n <xsd:sequence>\n <xsd:element name=\"AsyncApexJob\" minOccurs=\"0\" type=\"ens:AsyncApexJob\" nillable=\"true\"/>\n <xsd:element name=\"AsyncApexJobId\" minOccurs=\"0\" type=\"tns:ID\" nillable=\"true\"/>\n <xsd:element name=\"ClassesCompleted\" minOccurs=\"0\" type=\"xsd:int\" nillable=\"true\"/>\n <xsd:element name=\"ClassesEnqueued\" minOccurs=\"0\" type=\"xsd:int\" nillable=\"true\"/>\n <xsd:element name=\"CreatedBy\" minOccurs=\"0\" type=\"ens:User\" nillable=\"true\"/>\n <xsd:element name=\"CreatedById\" minOccurs=\"0\" type=\"tns:ID\" nillable=\"true\"/>\n <xsd:element name=\"CreatedDate\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n <xsd:element name=\"EndTime\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n <xsd:element name=\"IsAllTests\" minOccurs=\"0\" type=\"xsd:boolean\" nillable=\"true\"/>\n <xsd:element name=\"IsDeleted\" minOccurs=\"0\" type=\"xsd:boolean\" nillable=\"true\"/>\n <xsd:element name=\"JobName\" minOccurs=\"0\" type=\"xsd:string\" nillable=\"true\"/>\n <xsd:element name=\"LastModifiedBy\" minOccurs=\"0\" type=\"ens:User\" nillable=\"true\"/>\n <xsd:element name=\"LastModifiedById\" minOccurs=\"0\" type=\"tns:ID\" nillable=\"true\"/>\n <xsd:element name=\"LastModifiedDate\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n <xsd:element name=\"MethodsCompleted\" minOccurs=\"0\" type=\"xsd:int\" nillable=\"true\"/>\n <xsd:element name=\"MethodsEnqueued\" minOccurs=\"0\" type=\"xsd:int\" nillable=\"true\"/>\n <xsd:element name=\"MethodsFailed\" minOccurs=\"0\" type=\"xsd:int\" nillable=\"true\"/>\n <xsd:element name=\"Source\" minOccurs=\"0\" type=\"xsd:string\" nillable=\"true\"/>\n <xsd:element name=\"StartTime\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n <xsd:element name=\"Status\" minOccurs=\"0\" type=\"xsd:string\" nillable=\"true\"/>\n <xsd:element name=\"SystemModstamp\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n <xsd:element name=\"TestSetupTime\" minOccurs=\"0\" type=\"xsd:int\" nillable=\"true\"/>\n <xsd:element name=\"TestTime\" minOccurs=\"0\" type=\"xsd:int\" nillable=\"true\"/>\n <xsd:element name=\"User\" minOccurs=\"0\" type=\"ens:User\" nillable=\"true\"/>\n <xsd:element name=\"UserId\" minOccurs=\"0\" type=\"tns:ID\" nillable=\"true\"/>\n </xsd:sequence>\n </xsd:extension>\n </xsd:complexContent>\n</xsd:complexType>\n<xsd:simpleType name=\"ID\">\n <xsd:restriction base=\"xsd:string\">\n <xsd:length value=\"18\"/>\n <xsd:pattern value=\"[a-zA-Z0-9]{18}\"/>\n </xsd:restriction>\n</xsd:simpleType>\n```"
|
||
|
|
}
|