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

Bug 365325

Summary: Have target feature tests use test data instead of JDT feature
Product: [Eclipse Project] PDE Reporter: Curtis Windatt <curtis.windatt.public>
Component: UIAssignee: Curtis Windatt <curtis.windatt.public>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.8   
Target Milestone: 3.8 M4   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Curtis Windatt CLA 2011-12-01 10:11:13 EST
Wrong number of bundles in JDT feature expected:<25> but was:<26>

junit.framework.AssertionFailedError: Wrong number of bundles in JDT feature expected:<25> but was:<26>
at org.eclipse.pde.ui.tests.target.LocalTargetDefinitionTests.testSetTargetPlatformToJdtFeature(LocalTargetDefinitionTests.java:754)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:501)

We have already moved some import tests to use test data.  We should do the same for this test.
Comment 1 Curtis Windatt CLA 2011-12-01 12:32:09 EST
Fixed in HEAD.  Reuses the test data from other target tests.
Comment 2 Curtis Windatt CLA 2011-12-05 16:15:39 EST
Updated test to handle MacOS case
Comment 3 Curtis Windatt CLA 2011-12-07 12:07:28 EST
Verified.  All pde ui tests pass in I20111205-1800