Community
Participate
Working Groups
https://hudson.eclipse.org/hudson/user/spingel/my-views/view/Mylyn/job/mylyn-integration-standalone/ Test Results for Build 148 org.eclipse.mylyn.tests.AllHeadlessStandaloneTest org.eclipse.mylyn.bugzilla.tests.core.BugzillaCustomFieldsTest testCustomAttributes(org.eclipse.mylyn.bugzilla.tests.core.BugzillaCustomFieldsTest) java.lang.NoClassDefFoundError: org/eclipse/mylyn/internal/tasks/ui/TasksUiPlugin at org.eclipse.mylyn.bugzilla.tests.AbstractBugzillaTest.setUp(AbstractBugzillaTest.java:67) From https://bugs.eclipse.org/bugs/show_bug.cgi?id=393640: (In reply to comment #8) > (In reply to comment #5) > > Some standalone tests are now failing with this error: > > > > > https://hudson.eclipse.org/hudson/user/spingel/my-views/view/Mylyn/job/mylyn-integration-standalone/ > > > > Test Results for Build 148 > For the Bugzilla Tests if looks like we have an build problem because we did > not find class TasksUiPlugin. The standalone tests do not load any of the UI bundles and must not have any UI dependencies. It's a problem in the tests that was introduced by a recent change.
This is related to bug#386344 see review https://git.eclipse.org/r/#/c/8489/4 we create class BugzillaHarness and change the parent of some tests from TestCase to AbstractBugzillaTest. The classes are BugzillaCustomFieldsTest and BugzillaXmlRpcClientTest. How can I setup the org.eclipse.mylyn.tests.AllHeadlessStandaloneTest tests not to load any UI bundles?
Run the tests as plug-in tests and the select "Headless Mode" under Main > Run as application. You can reproduce the error that way. Frank, it would be great to get this resolved so we get back to a green build.
now we have review https://git.eclipse.org/r/12038
Created attachment 229882 [details] mylyn/context/zip
It looks like your change worked: https://hudson.eclipse.org/hudson/job/mylyn-integration-standalone/165/ ! Thanks very much for fixing this!