Enum JUnitXmlDialect
- All Implemented Interfaces:
Serializable
,Comparable<JUnitXmlDialect>
,java.lang.constant.Constable
Supported JUnit XML report file dialects
- Since:
- 3.17
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionProduced by the Gradle Android Plugin instrumentation testsProduced by the Firebase Test Lab using (fladle/flank)Dialect used for JUnit XML reports where no specific dialect is available. -
Method Summary
Modifier and TypeMethodDescriptionstatic JUnitXmlDialect
Returns the enum constant of this type with the specified name.static JUnitXmlDialect[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ANDROID_CONNECTED
Produced by the Gradle Android Plugin instrumentation tests -
ANDROID_FIREBASE
Produced by the Firebase Test Lab using (fladle/flank) -
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
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
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 nameNullPointerException
- if the argument is null
-