Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333746 - Test failures in HEAD
Summary: Test failures in HEAD
Status: CLOSED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.7 M5   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-07 09:14 EST by DJ Houghton CLA
Modified: 2011-01-10 15:25 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2011-01-07 09:14:36 EST
There are failures in HEAD when running the Publisher tests. I fixed a couple of errors but this one remains. Pascal, you mentioned on the mailing list the other day [1] that it is a problem with the test setup. I am unfamiliar with EasyMock and how to change the code to set the metadata repository on the PublisherInfo mocked up object. Can you do this? Thanks.

Publisher Tests
org.eclipse.equinox.p2.tests.publisher.AllTests
org.eclipse.equinox.p2.tests.publisher.actions.LocalUpdateSiteActionTest
testUnzipTouchpointAction(org.eclipse.equinox.p2.tests.publisher.actions.LocalUpdateSiteActionTest)
java.lang.NullPointerException
	at org.eclipse.equinox.internal.p2.updatesite.SiteXMLAction.perform(SiteXMLAction.java:93)
	at org.eclipse.equinox.internal.p2.updatesite.LocalUpdateSiteAction.perform(LocalUpdateSiteAction.java:70)
	at org.eclipse.equinox.p2.tests.publisher.actions.LocalUpdateSiteActionTest.testUnzipTouchpointAction(LocalUpdateSiteActionTest.java:55)

[1] http://dev.eclipse.org/mhonarc/lists/platform-releng-dev/msg17867.html