Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.test; singleton:=true
Bundle-Version: 3.6.400.qualifier
Bundle-Version: 3.6.500.qualifier
Eclipse-BundleShape: dir
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2016 IBM Corporation and others.
* Copyright (c) 2016, 2025 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand Down Expand Up @@ -124,13 +124,22 @@ public static File getResultsDirectory() {
}

private static File getJunitReportOutput() {
String[] args = Platform.getCommandLineArgs();
for (int i = 0; i < args.length - 1; i++) {
if ("-junitReportOutput".equals(args[i])) { // see library.xml and org.eclipse.test.EclipseTestRunner
return new File(args[i + 1]).getAbsoluteFile();
}
}
return null;
boolean platformAvailable = false;
try {
Class.forName("org.eclipse.core.runtime.Platform", false, Screenshots.class.getClassLoader());
platformAvailable = true;
} catch (ClassNotFoundException e) {
platformAvailable = false;
}
if (platformAvailable) {
String[] args = Platform.getCommandLineArgs();
for (int i = 0; i < args.length - 1; i++) {
if ("-junitReportOutput".equals(args[i])) { // see library.xml and org.eclipse.test.EclipseTestRunner
return new File(args[i + 1]).getAbsoluteFile();
}
}
}
return null;
}

/**
Expand Down
Loading