Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333746

Summary: Test failures in HEAD
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pascal
Version: 3.7   
Target Milestone: 3.7 M5   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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