Skip to content

Commit 750ba93

Browse files
committed
follow up: update class name
1 parent 7efa75b commit 750ba93

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
/// <testcase name="initializationError" classname="com.example.MyTest" />
4747
/// ```
4848
///
49-
/// Usage (Java 25): `java TagInitializationErrors.java junit-report.xml`
49+
/// Usage (Java 25): `java TagSyntheticFailures.java junit-report.xml`
5050

51-
class TagInitializationErrors {
51+
class TagSyntheticFailures {
5252
public static void main(String[] args) throws Exception {
5353
if (args.length == 0) {
54-
System.err.println("Usage: java TagInitializationErrors.java <xml-file>");
54+
System.err.println("Usage: java TagSyntheticFailures.java <xml-file>");
5555
System.exit(1);
5656
}
5757
var xmlFile = new File(args[0]);
@@ -88,7 +88,7 @@ public static void main(String[] args) throws Exception {
8888
if (!modified) {
8989
return;
9090
}
91-
var tmpFile = File.createTempFile("TagInitializationErrors", ".xml", xmlFile.getParentFile());
91+
var tmpFile = File.createTempFile("TagSyntheticFailures", ".xml", xmlFile.getParentFile());
9292
try {
9393
var transformer = TransformerFactory.newInstance().newTransformer();
9494
transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");

.gitlab/collect_results.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ do
9191
fi
9292

9393
echo "Add dd_tags[test.final_status] property on retried synthetics testcase initializationErrors, and all executionError and test exception synthetic testcases"
94-
$JAVA_25_HOME/bin/java "$(dirname "$0")/TagInitializationErrors.java" "$TARGET_DIR/$AGGREGATED_FILE_NAME"
94+
$JAVA_25_HOME/bin/java "$(dirname "$0")/TagSyntheticFailures.java" "$TARGET_DIR/$AGGREGATED_FILE_NAME"
9595

9696
echo "Add dd_tags[test.final_status] property to each testcase on $TARGET_DIR/$AGGREGATED_FILE_NAME"
9797
xsl_file="$(dirname "$0")/add_final_status.xsl"

0 commit comments

Comments
 (0)