Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366702 - add sample projects to fix failing tests
Summary: add sample projects to fix failing tests
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.9   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-14 09:38 EST by Steffen Pingel CLA
Modified: 2011-12-14 10:10 EST (History)
0 users

See Also:


Attachments
mylyn/context/zip (25.22 KB, application/octet-stream)
2011-12-14 10:10 EST, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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