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

Bug 366702

Summary: add sample projects to fix failing tests
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 0.9   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Steffen Pingel CLA 2011-12-14 09:38:12 EST
Tests are failing due to missing sample projects:

junit.framework.AssertionFailedError: Could not locate testdata/projects/ecorediagram.zip
	at org.eclipse.mylyn.commons.sdk.util.CommonTestUtil.getFile(CommonTestUtil.java:212)
	at org.eclipse.mylyn.context.sdk.java.WorkspaceSetupHelper.createJavaPluginProjectFromZip(WorkspaceSetupHelper.java:68)
	at org.eclipse.mylyn.mft.sdk.util.AbstractEmfContextTest.setUp(AbstractEmfContextTest.java:30)
	at org.eclipse.mylyn.mft.papyrus.tests.PapyrusDiagramEditorTest.setUp(PapyrusDiagramEditorTest.java:53)
	at junit.framework.TestCase.runBare(TestCase.java:132)
Comment 1 Steffen Pingel CLA 2011-12-14 10:09:58 EST
Fixed. The sample projects are now copied directly from the testdata/ directory instead of being extracted from a zip.
Comment 2 Steffen Pingel CLA 2011-12-14 10:10:01 EST
Created attachment 208384 [details]
mylyn/context/zip