Enum JUnitXmlDialect

java.lang.Object
java.lang.Enum<JUnitXmlDialect>
com.gradle.develocity.agent.gradle.test.JUnitXmlDialect
All Implemented Interfaces:
Serializable, Comparable<JUnitXmlDialect>, java.lang.constant.Constable

public enum JUnitXmlDialect extends Enum<JUnitXmlDialect>
Supported JUnit XML report file dialects
Since:
3.17
  • Enum Constant Details

    • ANDROID_CONNECTED

      public static final JUnitXmlDialect ANDROID_CONNECTED
      Produced by the Gradle Android Plugin instrumentation tests
    • ANDROID_FIREBASE

      public static final JUnitXmlDialect ANDROID_FIREBASE
      Produced by the Firebase Test Lab using (fladle/flank)
    • GENERIC

      public static final JUnitXmlDialect GENERIC
      Dialect used for JUnit XML reports where no specific dialect is available. It may be that the parser is not able to parse the given JUnit XML report due to variances in the format. Therefore, it's required to ensure the correctness of the data shown in the Build Scan by comparing it with the raw JUnit XML.

      The following testing frameworks have been verified for correctness with this dialect:

      • Cypress (https://cypress.io) with default junit reporter
      • Jest (https://jestjs.io) with default jest-junit reporter
  • Method Details

    • values

      public static JUnitXmlDialect[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static JUnitXmlDialect valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null