Class TestRunSummary

java.lang.Object
com.azure.resourcemanager.platformvalidation.models.TestRunSummary
All Implemented Interfaces:
com.azure.json.JsonSerializable<TestRunSummary>

public final class TestRunSummary extends Object implements com.azure.json.JsonSerializable<TestRunSummary>
Execution summary details for a validation test run collection.
  • Method Details

    • totalTests

      public Integer totalTests()
      Get the totalTests property: Total number of tests executed.
      Returns:
      the totalTests value.
    • passedTests

      public Integer passedTests()
      Get the passedTests property: Number of passed tests.
      Returns:
      the passedTests value.
    • failedTests

      public Integer failedTests()
      Get the failedTests property: Number of failed tests.
      Returns:
      the failedTests value.
    • skippedTests

      public Integer skippedTests()
      Get the skippedTests property: Number of skipped tests.
      Returns:
      the skippedTests value.
    • overallResult

      public TestRunOverallResult overallResult()
      Get the overallResult property: Overall result for the execution plan run.
      Returns:
      the overallResult value.
    • message

      public String message()
      Get the message property: Human-readable summary message.
      Returns:
      the message value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<TestRunSummary>
      Throws:
      IOException
    • fromJson

      public static TestRunSummary fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of TestRunSummary from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of TestRunSummary if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the TestRunSummary.