12.07.2015 Views

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Result ObjectsDescribe<strong>Metadata</strong>ResultRunTestSuccessThe RunTestsResult object returns information about successes during the unit test run.This object has the following properties.NameidmethodNamenamenamespacetimeTypeIDstringstringstringdoubleDescriptionThe ID of the class which generated the success.The name of the method that succeeded.The name of the class that succeeded.The namespace that contained the unit tests, if one is specified.The time spent running tests for this operation. This can be helpful forperformance monitoring.CodeLocationThe RunTestsResult object contains this object in a number of fields.This object has the following properties.NamecolumnlinenumExecutionstimeTypeintintintdoubleDescriptionThe column location of the Apex tested.The line location of the Apex tested.The number of times the Apex was executed in the test run.The total cumulative time spent at this location. This can be helpful forperformance monitoring.Describe<strong>Metadata</strong>ResultContains information about the organization that is useful for developers working with declarative metadata.The describe<strong>Metadata</strong>() call returns a Describe<strong>Metadata</strong>Result object.Each Describe<strong>Metadata</strong>Result object has the following properties:NamemetadataObjectsorganizationNamespaceTypeDescribe<strong>Metadata</strong>Object[]stringDescriptionOne or more metadata <strong>com</strong>ponents and their attributes.The namespace of the organization. Specify only for Developer Editionorganizations that can contain a managed package. The managed packagehas a namespace specified when it is created.68

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!