Community
Participate
Working Groups
Steps to reproduce: 1. Call Screenshots.takeScreenshot() from org.eclipse.test.performance plug-in in a JUnit test. 2. Run the test as a JUnit test plug-in. Taking screenshot fails with error - Error: Could not find or load main class org.eclipse.test.internal.AwtScreenshot This is caused due to wrong classpath passed to the ProcessBuilder in AwtScreenshot.dumpAwtScreenshot().
New Gerrit change created: https://git.eclipse.org/r/101722
The Screenshots API is currently used in SWT tests, but there is no problem as it is run as a "JUnit Test". But when using it in a Platform UI test which is run as a "JUnit Test Plug-in", the problem exists.
Gerrit change https://git.eclipse.org/r/101722 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.releng.git/commit/?id=90ba831066426b52000e8510b4a59b3a7d07d7a1
Is this fixed?
(In reply to Eclipse Genie from comment #3) > Gerrit change https://git.eclipse.org/r/101722 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.releng.git/commit/ > ?id=90ba831066426b52000e8510b4a59b3a7d07d7a1 Its fixed and pushed to master on 21 july
New Gerrit change created: https://git.eclipse.org/r/103153
Gerrit change https://git.eclipse.org/r/103153 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.releng.git/commit/?id=7e6f5006cdd919ab8b84036842f7fb2dbeb2b910